TdxRichEditControlEditPageHeader Class
An action object that corresponds to the EditPageHeader command provided by the Rich Edit control.
Declaration
TdxRichEditControlEditPageHeader = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlEditPageHeader action object activates the header editing mode and places the caret into a header located on the current document page. Use the ClosePageHeaderFooter command to deactivate the footer editing mode.
UI elements linked to a TdxRichEditControlEditPageHeader 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.HeadersFooters property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The Print Layout document view is active;
The header/footer editing mode is inactive.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlEditPageHeader action object, use the sdxRichEditCommandEditPageHeaderMenuCaption and sdxRichEditCommandEditPageHeaderDescription resource strings, respectively.