InsertTableOfTablesCommand.execute Method

Executes the InsertTableOfTablesCommand command.

Declaration

execute(): boolean

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

The RichEditCommands.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