Adobe InDesign CS2 (4.0) Object Model JS: HyperlinkPageItemSources

InDesign CS2

Class

HyperlinkPageItemSources

 A collection of hyperlink page item sources.

QuickLinks

add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

HyperlinkPageItemSource add (source: PageItem[, withProperties: Object])
Creates a new hyperlink page item source.

ParameterTypeDescription
sourcePageItemThe page item to hyperlink.
withPropertiesObjectInitial values for properties of the new HyperlinkPageItemSource (Optional)

HyperlinkPageItemSource anyItem ()
Returns any HyperlinkPageItemSource in the collection.

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

Array of HyperlinkPageItemSource everyItem ()
Returns every HyperlinkPageItemSource in the collection.

HyperlinkPageItemSource firstItem ()
Returns the first HyperlinkPageItemSource in the collection.

HyperlinkPageItemSource item (index: any)
Returns the HyperlinkPageItemSource with the specified index or name.

ParameterTypeDescription
indexLong
String
The index or name. Can accept: Long or String.

HyperlinkPageItemSource itemByID (id: number)
Returns the HyperlinkPageItemSource with the specified ID.

ParameterTypeDescription
idnumberThe ID.

HyperlinkPageItemSource itemByName (name: string)
Returns the HyperlinkPageItemSource with the specified name.

ParameterTypeDescription
namestringThe name.

Array of HyperlinkPageItemSource itemByRange (from: any, to: any)
Returns the HyperlinkPageItemSources within the specified range.

ParameterTypeDescription
fromHyperlinkPageItemSource
Long
String
The HyperlinkPageItemSource, index, or name at the beginning of the range. Can accept: HyperlinkPageItemSource, Long or String.
toHyperlinkPageItemSource
Long
String
The HyperlinkPageItemSource, index, or name at the end of the range. Can accept: HyperlinkPageItemSource, Long or String.

HyperlinkPageItemSource lastItem ()
Returns the last HyperlinkPageItemSource in the collection.

HyperlinkPageItemSource middleItem ()
Returns the middle HyperlinkPageItemSource in the collection.

HyperlinkPageItemSource nextItem (obj: HyperlinkPageItemSource)
Returns the HyperlinkPageItemSource whose index follows the specified HyperlinkPageItemSource in the collection.

ParameterTypeDescription
objHyperlinkPageItemSourceThe HyperlinkPageItemSource whose index comes before the desired HyperlinkPageItemSource.

HyperlinkPageItemSource previousItem (obj: HyperlinkPageItemSource)
Returns the HyperlinkPageItemSource with the index previous to the specified index.

ParameterTypeDescription
objHyperlinkPageItemSourceThe index of the HyperlinkPageItemSource that follows the desired HyperlinkPageItemSource.

string toSource ()
Generates a string which, if executed, will return the HyperlinkPageItemSource.

Element of

Document.hyperlinkPageItemSources

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