DisplayTextFormatter
Overview
DisplayTextFormatter is a class in Aspose.Cells FOSS for C++.
Internal static helper for formatting display text of cell values.
This class provides 3 methods for working with DisplayTextFormatter objects in C++ programs.
Available methods include: DisplayTextFormatter, FormatDisplayValue, FormatStringValue.
All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
DisplayTextFormatter() | Calls DisplayTextFormatter on this DisplayTextFormatter instance. |
FormatStringValue(value: CellValue) → std::string | Formats a raw cell value into its invariant-culture string representation (used when no style applies). |
FormatDisplayValue(value: CellValue, style: Core::StyleValue, workbookCulture: std::locale) → std::string | Formats a cell value for display using the given style and workbook culture. Applies number formats, date formats, text formats, and fraction formats as appropriate. |