A TOC style definition.
Go to Property Listing | Method Listing
duplicate, extractLabel, getElements, insertLabel, remove, toSource, toSpecifier
Boolean, HorizontalOrVertical, Number, NumberedParagraphsOptions, Object, ParagraphStyle, String, TOCStyleEntries,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
If true, creates bookmarks for TOC entries. |
||
|
readonly |
The unique ID of the TOCStyle. |
||
|
read/write |
If true, includes the entire book in the TOC. If false, includes only the TOC entries in the current document. Note: Valid when the current document is part of a book. |
||
|
read/write |
If true, the TOC includes entries from text on hidden layers. |
||
|
readonly |
The index of the TOCStyle within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
read/write |
The name of the TOCStyle. |
||
|
read/write |
The format for importing numbered paragraphs into the TOC. |
||
|
readonly |
The parent of the TOCStyle (a Document). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
If true, the lowest-level TOC entries are placed on the same line as the previous entry. |
||
|
read/write |
The table of contents story direction. |
||
|
read/write |
The TOC title. |
||
|
read/write |
The paragraph style applied to the TOC title. Can return: ParagraphStyle or String. |
||
|
readonly |
A collection TOC style entries. |
TOCStyle duplicate ()
Duplicates the TOCStyle.
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
TOCStyle getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the TOCStyle.
String toSource ()
Generates a string which, if executed, will return the TOCStyle.
String toSpecifier ()
Retrieves the object specifier.
TOCStyleEntry.parent