cut

RichEditCommands.insertTableOfTables Property

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

Declaration

readonly insertTableOfTables: InsertTableOfTablesCommand

Property Value

Type Description
InsertTableOfTablesCommand

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 insertTableOfTables command generates a table based on numbered labels, which have been added to tables via RichEditCommands.insertTablesCaption.

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

Usage example:


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