TdxSpreadSheetFormattedTextService Class
An RTF text service designed for use in spreadsheet controls.
Declaration
TdxSpreadSheetFormattedTextService = class(
TdxSpreadSheetTextService
)
Remarks
This class implements support for rich formatted content in spreadsheet documents.
The TdxSpreadSheetFormattedTextService class provides the following members that allow you to:
Identify whether a specific cell contains a formatted text (IsFormattedTextValue);
Retrieve the formatted content from a cell (GetAsRTF);
Identify if a specific text is a formatted RTF string (IsFormattedEditValue);
Replace a cell’s content with a formatted or unformatted RTF string (SetAsRTF and ForceSetAsRTF).
A reference to the TdxSpreadSheetFormattedTextService class is automatically assigned to the dxSpreadSheetTextService global variable when the dxSpreadSheetFormattedTextUtils unit is initialized.
Refer to the How to Work with Rich Formatted Content topic for additional information.