Edit in GitHubLog an issue

CrossReferences

A collection of index cross references. (For cross references in text, use the 'cross reference source' and 'hyperlink' objects.)

Instance

Read Only

Number length

The number of objects in the collection.

Methods

CrossReference add( Topic referencedTopic, CrossReferenceType crossReferenceType, String customTypeString, Object withProperties )

Creates a new cross reference.

Parameters

TypeNameDescription
Topic
referencedTopic
The topic that the cross reference points to.
CrossReferenceType
crossReferenceType
The cross reference type.
String
customTypeString
The custom string to use in the cross reference. Valid only for custom cross reference types. (Optional)
Object
withProperties
Initial values for properties of the new CrossReference (Optional)

Number count()

Displays the number of elements in the CrossReference.


CrossReference item( Mixed index )

Returns the CrossReference with the specified index or name.

Parameters

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

CrossReference itemByName( String name )

Returns the CrossReference with the specified name.

Parameters

TypeNameDescription
String
name
The name.

CrossReference itemByID( Number id )

Returns the CrossReference with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

CrossReference itemByRange( Mixed from, Mixed to )

Returns the CrossReferences within the specified range.

Parameters

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

CrossReference firstItem()

Returns the first CrossReference in the collection.


CrossReference lastItem()

Returns the last CrossReference in the collection.


CrossReference middleItem()

Returns the middle CrossReference in the collection.


CrossReference previousItem( CrossReference obj )

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

Parameters

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

CrossReference nextItem( CrossReference obj )

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

Parameters

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

CrossReference anyItem()

Returns any CrossReference in the collection.


CrossReference everyItem()

Returns every CrossReference in the collection.


String toSource()

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


CrossReference []( Number index )

Returns the CrossReference 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.