-
| addEventListener( |
eventType, handler [, captures=false]) |
→ EventListener |
-
Adds an event listener.
eventType
|
string
The event type.
|
handler
|
The event handler. Can accept: File or JavaScript Function.
|
captures
|
bool
This parameter is obsolete. (Optional)
|
-
| capitalize( |
[capitalizationOption=IndexCapitalizationOptions.ALL_ENTRIES]) |
-
Makes the initial letter for the specified index topic or group of index topics upper case.
-
| extractLabel( |
key) |
→ string |
-
Gets the label value associated with the specified key.
-
| generate( |
on [, placePoint] [, destinationLayer] [, autoflowing=false] [, includeOverset=false]) |
→ Story |
-
Generates a new index story.
on
|
The spread or page on which to place the story. Can accept: Page, Spread or MasterSpread. (Optional)
|
placePoint
|
Array<Measurement Unit (Number or String)=any>
The coordinates of the upper left corner of the story bounding box, in the format [x, y]. (Optional)
|
destinationLayer
|
Layer
The layer on which to place the story. (Optional)
|
autoflowing
|
bool
If true, allows the story to flow onto subsequent pages if the story does not fit on the specified page. If no subsequent pages exist in the document, creates the necessary pages. (Optional)
|
includeOverset
|
bool
If true, includes topics in overset text in the story. (Optional)
|
-
-
Resolves the object specifier, creating an array of object references.
-
-
Imports a list of index topics.
from
|
File
The file from which to import the topics.
|
-
-
Sets the label to the value associated with the specified key.
key
|
string
The key.
|
value
|
string
The value.
|
-
| removeEventListener( |
eventType, handler [, captures=false]) |
→ bool |
-
Removes the event listener.
eventType
|
string
The registered event type.
|
handler
|
The registered event handler. Can accept: File or JavaScript Function.
|
captures
|
bool
This parameter is obsolete. (Optional)
|
-
-
Removes all index topics that do not have any index entries.
-
-
Generates a string which, if executed, will return the Index.
-
-
Retrieves the object specifier.
-
-
Updates the index preview pane. Note: Does not update the index.