DisplayTextFormatterSupport

DisplayTextFormatterSupport

ภาพรวม

DisplayTextFormatterSupport เป็นคลาสใน Aspose.Cells FOSS สำหรับ Java.

คลาสยูทิลิตี้ภายในสำหรับการเลือกและจัดรูปแบบส่วนของข้อความที่แสดงผล

วิธีการ

ลายเซ็นคำอธิบาย
parseSections(formatCode: String) → List<DisplayFormatSectionInfo>แยกโค้ดรูปแบบเป็นรายการของอ็อบเจ็กต์ข้อมูลส่วน
splitSections(formatCode: String) → List<String>แยกส่วน
tryParseSectionCondition(section: String, conditionOperator: String[], conditionValue: double[]) → booleanพยายามประมวลผลเงื่อนไขการแยกส่วน
tryParseConditionToken(token: String, conditionOperator: String[], conditionValue: double[]) → booleanพยายามประมวลผลโทเค็นเงื่อนไขการแยก
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เลือกส่วนวันที่/เวลา จากส่วนรูปแบบ
 ภาษาไทย