InDesign Server2025
API 20.5.0.49
Collection of CrossReferenceSource

CrossReferenceSources

A collection of cross reference text sources.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

CrossReferenceSource

Creates a new cross reference text source.

source Text The text or insertion point to create the source.
appliedFormat CrossReferenceFormat Format used for cross reference source.
withProperties? Object Initial values for properties of the new CrossReferenceSource
Number

Displays the number of elements in the CrossReferenceSource.

CrossReferenceSource

Returns the CrossReferenceSource with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
CrossReferenceSource[]

Returns the CrossReferenceSources within the specified range.

from CrossReferenceSource | LongInteger | String The CrossReferenceSource, index, or name at the beginning of the range. Can accept: CrossReferenceSource, Long Integer or String.
to CrossReferenceSource | LongInteger | String The CrossReferenceSource, index, or name at the end of the range. Can accept: CrossReferenceSource, Long Integer or String.
CrossReferenceSource

Returns the CrossReferenceSource whose index follows the specified CrossReferenceSource in the collection.

obj CrossReferenceSource The CrossReferenceSource whose index comes before the desired CrossReferenceSource.
CrossReferenceSource

Returns the CrossReferenceSource with the index previous to the specified index.

obj CrossReferenceSource The index of the CrossReferenceSource that follows the desired CrossReferenceSource.
String

Generates a string which, if executed, will return the CrossReferenceSource.

Object of 1

Properties elsewhere that hold a CrossReferenceSources.