Adobe InDesign CS (3.0) Object Model JS: Topic

InDesign CS

Class

Topic

 An index topic.

QuickLinks

capitalize, remove

Hierarchy

Index
Topic
CrossReference | PageReference | Subtopic

Properties

PropertyTypeAccessDescription
crossReferencesCrossReferences readonlyA collection of cross references.
indexnumber readonlyThe index of the Topic within its containing object.
namestring readonlyThe name of the Topic.
pageReferencesPageReferences readonlyA collection of index page references.
parentIndex readonlyThe parent of the Topic (a Index).
propertiesObject r/wA property that allows setting of several properties at the same time.
subtopicsSubtopics readonlyA collection of index subtopics.

Methods

Instances

void capitalize ([capitalizationOption: IndexCapitalizationOptions=IndexCapitalizationOptions.ALL_ENTRIES])
Makes the initial letter for the specified index topic or group of index topics upper case.

ParameterTypeDescription
capitalizationOptionIndexCapitalizationOptions:
IndexCapitalizationOptions.SELECTED_ENTRY
IndexCapitalizationOptions.INCLUDE_SUBENTRIES
IndexCapitalizationOptions.ALL_LEVEL_1_ENTRIES
IndexCapitalizationOptions.ALL_ENTRIES
The entry or entries to capitalize. (Optional) (default: IndexCapitalizationOptions.ALL_ENTRIES)

void remove ()
Deletes the Topic.

Element of

CrossReference.parent

CrossReference.referencedTopic

PageReference.parent

Subtopic.parent

Used in:

CrossReference CrossReferences.add (referencedTopic: Topic, crossReferenceType: CrossReferenceType[, customTypeString: string][, withProperties: Object])

Return

Topic Topics.add (name: string[, sortBy: string][, withProperties: Object])

Jongware, 27-Jun-2010 v3.0.3dContents :: Index