TOCStyle
A table of contents style.
TOCStyle Properties
| Property |
Type |
Access |
Description |
| CreateBookmarks |
Boolean |
r/w |
Whether to create bookmarks for TOC entries. |
| Id |
Long |
read |
A unique number identifying the object. |
| IncludeBookDocuments |
Boolean |
r/w |
If the document this TOC style belongs to is in a book, whether to include TOC data from other book documents. |
| IncludeHidden |
Boolean |
r/w |
Whether to include text on hidden layers. |
| Index |
Long |
read |
Index of the object within its parent object. |
| Label |
String |
r/w |
A label that can be set to any string. |
| Name |
String |
r/w |
The name of the object. |
| Parent |
Object |
read |
The parent of the object. |
| RunIn |
Boolean |
r/w |
Whether the last levels of entries are run in. |
| SetStoryDirection |
idHorizontalOrVertical enumeration |
r/w |
Set table of content story direction. |
| Title |
String |
r/w |
The title of the table of content to create. |
| TitleStyle |
ParagraphStyle |
r/w |
The paragraph style TOC title is formatted to. |
| TOCStyleEntries |
TOCStyleEntries |
read |
Every TOC style entry. |
TOCStyle Methods
| Method |
Returns |
Description |
| Delete |
Nothing |
Deletes the object. |
| Duplicate |
Object |
Duplicates the object. |
| ExtractLabel |
String |
Gets the content of the label associated with the specified key (name). |
| InsertLabel |
Nothing |
Sets the content of the label associated with the specified key (name), creating the label if it does not already exist. |
Previous post: TOCStyleEntries
Next post: Tints