Adobe InDesign CS (3.0) Object Model JS: CrossReferences

InDesign CS

Class

CrossReferences

 A collection of cross references.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

CrossReference add (referencedTopic: Topic, crossReferenceType: CrossReferenceType[, customTypeString: string][, withProperties: Object])
Creates a new cross reference.

ParameterTypeDescription
referencedTopicTopicThe topic that the cross reference points to.
crossReferenceTypeCrossReferenceType:
CrossReferenceType.SEE_OR_ALSO_BRACKET
CrossReferenceType.SEE
CrossReferenceType.SEE_ALSO
CrossReferenceType.SEE_HEREIN
CrossReferenceType.SEE_ALSO_HEREIN
CrossReferenceType.CUSTOM_CROSS_REFERENCE
CrossReferenceType.CUSTOM_CROSS_REFERENCE_BEFORE
CrossReferenceType.CUSTOM_CROSS_REFERENCE_AFTER
The cross reference type.
customTypeStringstringThe custom string to use in the cross reference. Valid only for custom cross reference types. (Optional)
withPropertiesObjectInitial values for properties of the new CrossReference (Optional)

number count ()
Displays the number of elements in the CrossReference.

Element of

Topic.crossReferences

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