Skip to main content
A newer version of this page is available. .

TdxRichEditControlInsertTableOfEquations Class

An action object that corresponds to the InsertTableOfEquations command provided by the Rich Edit control.

Declaration

TdxRichEditControlInsertTableOfEquations = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableOfEquations action object inserts a table of equations (i.e., a special TOC document field with the \h and \c switches and the Equation identifier). An end-user can insert equation captions by using the InsertEquationsCaption command provided by a TdxRichEditControlInsertEquationCaption action object.

UI elements linked to a TdxRichEditControlInsertTableOfEquations action object are Enabled only if the following conditions are met:

  • The Rich Edit control’s ReadOnly property is set to False;

  • The current selection (i.e., the caret or text selection) is not located within the document header or footer.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertTableOfEquations action object, use the sdxRichEditCommandInsertTableOfEquationsMenuCaption and sdxRichEditCommandInsertTableOfEquationsDescription resource strings.

See Also