Adobe InDesign CS (3.0) Object Model JS: Subtopic
From InDesign CS
Class
Subtopic
An index subtopicQuickLinks
move, removeHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| index | number | readonly | The index of the Subtopic within its containing object. |
| name | string | r/w | The name of the Subtopic. |
| parent | Topic | readonly | The parent of the Subtopic (a Topic). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| sortOrder | string | r/w | The string by which the topic is sorted instead of the topic name is not used. Note: The actual topic text, rather than the sort order text, appears in the index. |
Methods
Instances
Subtopic move (to:
number)
Moves the topic to the specified location.
| Parameter | Type | Description |
|---|---|---|
| to | number | The location. |
void remove ()
Deletes the Subtopic.
Return
Subtopic Subtopic.move (to: number)
Subtopic Subtopics.add (name: string[, sortOrder: string][, withProperties: Object])
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |