cut

RichEditCommands.insertTableOfEquations Property

Gets a command to create a table of equations on the base of equation captions.

Declaration

readonly insertTableOfEquations: InsertTableOfEquationsCommand

Property Value

Type Description
InsertTableOfEquationsCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

The insertTableOfEquations command generates a table based on numbered labels (captions), which have been added to equations via RichEditCommands.insertEquationsCaption.

This command adds the { TOC \h \c "Equation"} field code at the current position in the document.

Usage example:


richEdit.commands.insertTableOfEquations.execute();
See Also