vcl-dxrichedit-dot-actions-9a28fb13.md
An action object that corresponds to the InsertTableOfContents command provided by the Rich Edit control.
TdxRichEditControlInsertTableOfContents = class(
TdxRichEditControlAction
)
This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableOfContents action object inserts a table of contents (i.e., a special TOC document field) into the currently active document.
Individual table of contents entries are specially marked paragraphs within the document. You can use the following techniques to mark table of contents entries:
TOC field switch is required).SEQ fields (use the \c TOC field switch).TC fields (use the \f TOC field switch).UI elements linked to a TdxRichEditControlInsertTableOfContents action object are enabled only if the following conditions are met:
False.TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlInsertTableOfContents
See Also