DisplayTextFormatterSupport

DisplayTextFormatterSupport

Genel Bakış

DisplayTextFormatterSupport, Aspose.Cells FOSS for Java içinde bir sınıftır.

Görüntü metni bölümlerini seçmek ve biçimlendirmek için dahili yardımcı sınıf.

Yöntemler

İmzaAçıklama
parseSections(formatCode: String)List<DisplayFormatSectionInfo>Biçim kodunu bölüm bilgi nesneleri listesine ayrıştırır.
splitSections(formatCode: String)List<String>Bölümleri ayırır.
tryParseSectionCondition(section: String, conditionOperator: String[], conditionValue: double[])booleanBölüm koşulunu ayrıştırma işlemine çalışır.
tryParseConditionToken(token: String, conditionOperator: String[], conditionValue: double[])booleanKoşul belirtecini ayrıştırma işlemine çalışır.
evaluateCondition(conditionOperator: String, numericValue: double, conditionValue: double)booleanKoşulu değerlendirir.
shouldUseAbsoluteValue(section: String, numericValue: double)booleanİşlemlerin mutlak değer kullanması gerekir.
sanitizeNumericSection(section: String)StringSayısal bölümü temizler.
stripDirectiveBrackets(section: String, preserveElapsedTokens: boolean)StringYönerge köşeli parantezlerini kaldırır.
containsNumericPlaceholder(pattern: String)booleanİçeriğin sayısal yer tutucu içerip içermediğini kontrol eder.
expandSectionPattern(pattern: String, valueText: String, replaceTextPlaceholder: boolean)StringBölüm desenini genişletir.
isNumericValue(value: Object)booleanSayısal değeri belirtir.
convertToDouble(value: Object)doubleDouble’a dönüştürür.
getAbsoluteNumericValue(value: Object)ObjectMutlak sayısal değeri alır.
selectNumericSection(sections: List<DisplayFormatSectionInfo>, numericValue: double)DisplayFormatSectionInfoDeğere göre uygun sayısal bölümü seçer.
selectNumericSection(sections: List<DisplayFormatSectionInfo>, numericValue: double, useAbsoluteValue: boolean[])DisplayFormatSectionInfoUygun sayısal bölümü seçer ve biçimlemenin mutlak değer kullanıp kullanmayacağını rapor eder.
selectTextSection(sections: List<DisplayFormatSectionInfo>)DisplayFormatSectionInfoBiçim bölümlerinden metin bölümünü seçer.
selectDateTimeSection(sections: List<DisplayFormatSectionInfo>)DisplayFormatSectionInfoBiçim bölümlerinden tarih/saat bölümünü seçer.
 Türkçe