TdxRichEditControlInsertSectionBreakOddPage Class
An action object that corresponds to the InsertSectionBreakOddPage command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertSectionBreakOddPage = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertSectionBreakOddPage
action object inserts a section break at the caret position and starts a new section on the next odd-numbered document page. If a text selection is present, it is replaced with the break.
UI elements linked to a TdxRichEditControlInsertSectionBreakOddPage
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 TdxDocumentCapabilities.Default or TdxDocumentCapabilities.Enabled.
- The header/footer editing mode is disabled.
Inheritance
TObject
TPersistent
TComponent
TBasicAction
TContainedAction
TCustomAction
TAction
TdxBasicAction
TdxRichEditControlAction
TdxRichEditControlInsertSectionBreakOddPage
See Also