TdxRichEditControlInsertTableOfFigures Class
An action object that corresponds to the InsertTableOfFigures command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertTableOfFigures = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableOfFigures action object inserts a table of figures (i.e., a special TOC document field with the \h and \c switches) based on existing figure captions within the current document (SEQ fields with the Figure identifier). An end-user can insert figure captions by using the InsertFiguresCaption command provided by a TdxRichEditControlInsertFigureCaption action object.
UI elements linked to a TdxRichEditControlInsertTableOfFigures action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The current selection (i.e., the caret or text selection) is not located within the document header or footer.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertTableOfFigures action object, use the sdxRichEditCommandInsertTableOfFiguresMenuCaption and sdxRichEditCommandInsertTableOfFiguresDescription resource strings, respectively.