DisplayTextFormatter

DisplayTextFormatter

Overview

DisplayTextFormatter 是 C++ 的 FOSS 中的 Aspose.Cells 类.

内部静态辅助程序用于格式化显示单元组值的文本.

本类提供了3种方法,用于在C++程序中使用DisplayTextFormatter对象. 有的方法包括: DisplayTextFormatter, FormatDisplayValue, FormatStringValue. 在安装了Aspose.Cells FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序.

Methods

SignatureDescription
DisplayTextFormatter()在这个 DisplayTextFormatter 实例中调用DisplayTextFormatter.
FormatStringValue(value: CellValue)std::string将原始单元格值格式化为其无变量培养字符串表示 (当没有样式适用时使用).
FormatDisplayValue(value: CellValue, style: Core::StyleValue, workbookCulture: std::locale)std::string使用给定的样式和工作簿文化格式化显示单元组值. 根据情况应用数量格型,日期格形式,文本格制和分数格 Format.

See Also

 中文