Contains all tables of contents in a certain part of the document.
TableOfContentsCollection
Introduced: X19.
Method | Description |
---|---|
add | Adds a new table of contents to the document at the current text input position. |
element |
Returns the element at a specified index in the collection.
(Inherited from Collection) |
for |
Executes a callback function for each element.
(Inherited from Collection) |
get |
Gets the number of elements contained in the collection.
(Inherited from Collection) |
get |
Gets the table of contents at the current input position or the table of contents with the specified identifier. |
get |
Gets the table of contents with the specified name. |
remove | Removes a table of contents from the collection including all its text and including all Document |