TdxRichEditControlInsertSectionBreakNextPage Class
An action object that corresponds to the InsertSectionBreakNextPage command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertSectionBreakNextPage = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertSectionBreakNextPage action object inserts a page break at the caret position and starts a new section on the next page. If a text selection is present, it is replaced with the break.
UI elements linked to a TdxRichEditControlInsertSectionBreakNextPage action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
Both the Rich Edit control’s Options.DocumentCapabilities.Sections and Options.DocumentCapabilities.Paragraphs properties are set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The header/footer editing mode is disabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertSectionBreakNextPage action object, use the sdxRichEditCommandInsertSectionBreakNextPageMenuCaption and sdxRichEditCommandInsertSectionBreakNextPageDescription resource strings, respectively.