TOCStyleEntry
An entry in a TOC style.
TOCStyleEntry Properties
| Property |
Type |
Access |
Description |
| formatStyle |
ParagraphStyle |
r/w |
The paragraph style object which the TOC entry text will be formatted. |
| index |
Long |
read |
Index of the object within its parent object. |
| level |
Short |
r/w |
Level of this entry. |
| name |
String |
r/w |
The name of the object. |
| pageNumberPosition |
PageNumberPosition enumeration |
r/w |
Options for where to put page number. |
| pageNumberStyle |
CharacterStyle |
r/w |
The character style object which the page number of entry text will be formatted. |
| parent |
Object |
read |
The parent of the object. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| separator |
String |
r/w |
The string between entry text and page number. |
| separatorStyle |
CharacterStyle |
r/w |
The character style object which the separator text will be formatted. |
| sortAlphabet |
Boolean |
r/w |
Whether sort Table of Content alphabetically. |
TOCStyleEntry Methods
| Method |
Returns |
Description |
| getElements |
Array of Objects |
Resolve the object specifier. |
| remove |
Nothing |
Delete the object. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |
Previous post: TOCStyles
Next post: TOCStyleEntries