DisplayTextFormatterSupport
概要
DisplayTextFormatterSupport は Aspose.Cells の FOSS における Java 用クラスです。
表示テキストセクションの選択とフォーマットを行う内部ユーティリティクラス。
このクラスは、Java プログラムで DisplayTextFormatterSupport オブジェクトを操作するための 16 のメソッドを提供します。利用可能なメソッドは、containsNumericPlaceholder、convertToDouble、evaluateCondition、expandSectionPattern、getAbsoluteNumericValue、isNumericValue、parseSections、sanitizeNumericSection、selectDateTimeSection、selectNumericSection、selectTextSection、shouldUseAbsoluteValue、および追加の 4 つのメソッドです。すべてのエクスポートメンバーは、Aspose.Cells の Java 用 FOSS パッケージをインストールした後、任意の Java アプリケーションから利用可能です。
説明
DisplayTextFormatterSupport は、Aspose.Cells の FOSS ライブラリにおける Java 用クラスで、プログラムから使用できる 17 のメソッドと 0 のプロパティを公開しています。
メソッド
| シグネチャ | 説明 |
|---|---|
parseSections(formatCode: String) → List<DisplayFormatSectionInfo> | フォーマットコードを解析し、セクション情報オブジェクトのリストに変換します。 |
splitSections(formatCode: String) → List<String> | セクションを分割します。 |
tryParseSectionCondition(section: String, conditionOperator: String[], conditionValue: double[]) → boolean | parse section condition の処理を試みます。 |
tryParseConditionToken(token: String, conditionOperator: String[], conditionValue: double[]) → boolean | parse condition token の処理を試みます。 |
evaluateCondition(conditionOperator: String, numericValue: double, conditionValue: double) → boolean | 条件を評価します。 |
shouldUseAbsoluteValue(section: String, numericValue: double) → boolean | プロセスは絶対値を使用すべきです。 |
sanitizeNumericSection(section: String) → String | 数値セクションをサニタイズします。 |
stripDirectiveBrackets(section: String, preserveElapsedTokens: boolean) → String | ディレクティブの角括弧を除去します。 |
containsNumericPlaceholder(pattern: String) → boolean | コンテンツに数値プレースホルダーが含まれているかチェックします。 |
expandSectionPattern(pattern: String, valueText: String, replaceTextPlaceholder: boolean) → String | セクションパターンを展開します。 |
isNumericValue(value: Object) → boolean | 数値かどうかを示します。 |
convertToDouble(value: Object) → double | double に変換します。 |
getAbsoluteNumericValue(value: Object) → Object | プロセスは絶対数値を取得します。 |
selectNumericSection(sections: List<DisplayFormatSectionInfo>, numericValue: double) → DisplayFormatSectionInfo | 値に基づいて適切な数値セクションを選択します。 |
selectNumericSection(sections: List<DisplayFormatSectionInfo>, numericValue: double, useAbsoluteValue: boolean[]) → DisplayFormatSectionInfo | 適切な数値セクションを選択し、書式設定が絶対値を使用すべきかどうかを報告します。 |
selectTextSection(sections: List<DisplayFormatSectionInfo>) → DisplayFormatSectionInfo | フォーマットセクションからテキストセクションを選択します。 |
selectDateTimeSection(sections: List<DisplayFormatSectionInfo>) → DisplayFormatSectionInfo | フォーマット セクションから日付/時刻セクションを選択します。 |