Edit in GitHubLog an issue

CrossReferenceSources

A collection of cross reference text sources.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

CrossReferenceSource add( Text source, CrossReferenceFormat appliedFormat, Object withProperties )

Creates a new cross reference text source.

Parameters

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

Number count()

Displays the number of elements in the CrossReferenceSource.


CrossReferenceSource item( Mixed index )

Returns the CrossReferenceSource with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

CrossReferenceSource itemByName( String name )

Returns the CrossReferenceSource with the specified name.

Parameters

TypeNameDescription
String
name
The name.

CrossReferenceSource itemByID( Number id )

Returns the CrossReferenceSource with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

CrossReferenceSource itemByRange( Mixed from, Mixed to )

Returns the CrossReferenceSources within the specified range.

Parameters

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

CrossReferenceSource firstItem()

Returns the first CrossReferenceSource in the collection.


CrossReferenceSource lastItem()

Returns the last CrossReferenceSource in the collection.


CrossReferenceSource middleItem()

Returns the middle CrossReferenceSource in the collection.


CrossReferenceSource previousItem( CrossReferenceSource obj )

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

Parameters

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

CrossReferenceSource nextItem( CrossReferenceSource obj )

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

Parameters

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

CrossReferenceSource anyItem()

Returns any CrossReferenceSource in the collection.


CrossReferenceSource everyItem()

Returns every CrossReferenceSource in the collection.


String toSource()

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


CrossReferenceSource []( Number index )

Returns the CrossReferenceSource with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.