TdxRichEditControlTableOfContentsSetParagraphBodyTextLevel Class
An action object that corresponds to the TableOfContentsSetParagraphBodyTextLevel command provided by the Rich Edit control.
Declaration
TdxRichEditControlTableOfContentsSetParagraphBodyTextLevel = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlTableOfContentsSetParagraphBodyTextLevel action object applies the default style to all selected paragraphs or the paragraph in which the caret (or selection) is currently located.
UI elements linked to a TdxRichEditControlTableOfContentsSetParagraphBodyTextLevel action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.ParagraphStyle property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlTableOfContentsSetParagraphBodyTextLevel action object, use the sdxRichEditCommandSetParagraphBodyTextLevelMenuCaption and sdxRichEditCommandSetParagraphBodyTextLevelDescription resource strings, respectively.