Topics
A collection of index topics.
Properties
Name Type
Access Description length
Number
readonly
The number of objects in the collection.
Methods
Returns the Topic with the specified index.
add(name, sortBy? , withProperties? )
→ Topic
Creates a new index topic.
name
String
The name of the topic. Note: This is the text that appears in the index.
sortBy?
String
The string to sort this topic by instead of the topic name. Note: The actual topic text, rather than the sort order text, appears in the index.
withProperties?
Object
Initial values for properties of the new Topic
Returns any Topic in the collection.
Displays the number of elements in the Topic.
Returns every Topic in the collection.
Returns the first Topic in the collection.
Returns the Topic with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the Topic with the specified name.
itemByRange(from, to)
→ Topic []
Returns the Topics within the specified range.
from
LongInteger | Topic | String
The Topic, index, or name at the beginning of the range. Can accept: Topic, Long Integer or String.
to
LongInteger | Topic | String
The Topic, index, or name at the end of the range. Can accept: Topic, Long Integer or String.
Returns the last Topic in the collection.
Returns the middle Topic in the collection.
Returns the Topic whose index follows the specified Topic in the collection.
obj
Topic
The Topic whose index comes before the desired Topic.
previousItem(obj)
→ Topic
Returns the Topic with the index previous to the specified index.
obj
Topic
The index of the Topic that follows the desired Topic.
Generates a string which, if executed, will return the Topic.
Object of 3
Properties elsewhere that hold a Topics.
Generated with AI assistance from Adobe’s original sources — descriptive texts
are Adobe’s, transformation errors are ours. Copyright of the original files, and the trademarks
InDesign, Photoshop, Illustrator, ExtendScript and ScriptUI, are held by Adobe Inc. In case of
doubt, refer to the original files supplied by Adobe.
Built from Adobe InDesign Server 2025 (20.5.0.49) Object Model on 2026-09-16.
Created with ♥ by
Gregor Fellenz ,
publishingX
|
Impressum
|
Datenschutz