Adobe InDesign CS3 (5.0) Object Model JS: HyperlinkPageDestination

InDesign CS3

Class

HyperlinkPageDestination

 A hyperlink destination that is a document page.

QuickLinks

extractLabel, getElements, insertLabel, remove, showDestination, toSource, toSpecifier

Hierarchy

Document
HyperlinkPageDestination

Properties

PropertyTypeAccessDescription
destinationPagePage r/wThe page that the hyperlink points to.
hiddenbool readonlyIf true, the hyperlink is hidden.
idnumber readonlyThe unique ID of the HyperlinkPageDestination.
indexnumber readonlyThe index of the HyperlinkPageDestination within its containing object.
labelstring r/wA property that can be set to any string.
namestring r/wThe name of the HyperlinkPageDestination.
nameManuallybool r/wIf true or unspecified, allows a custom destination name; also does not update the name when the destination is moved to a different page. If false, uses the page number as the page destination name and makes the name property read-only for the destination object; also updates the name when the destination is moved to a different page.
parentDocument readonlyThe parent of the HyperlinkPageDestination (a Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
viewBounds Array of Measurement Unit (Number or String) r/wThe view rectangle, specified in the format [y1, x1, y2, x2]. Note: Valid only when view setting is fixed.
viewPercentagenumber (range: 5 - 4000) r/wThe zoom percentage. (Range: 5 to 4000) Note: Valid only when view setting is fixed.
viewSettingHyperlinkDestinationPageSetting:
HyperlinkDestinationPageSetting.FIXED
HyperlinkDestinationPageSetting.FIT_VIEW
HyperlinkDestinationPageSetting.FIT_WINDOW
HyperlinkDestinationPageSetting.FIT_WIDTH
HyperlinkDestinationPageSetting.FIT_HEIGHT
HyperlinkDestinationPageSetting.FIT_VISIBLE
HyperlinkDestinationPageSetting.INHERIT_ZOOM
r/wThe destination page size when the page is reached by clicking the hyperlink.

Methods

Instances

string extractLabel (key: string)
Gets the label value associated with the specified key.

ParameterTypeDescription
keystringThe key.

Array of HyperlinkPageDestination getElements ()
Resolves the object specifier, creating an array of object references.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

void remove ()
Deletes the HyperlinkPageDestination.

void showDestination ()
Jumps to the hyperlink destination.

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Bookmark.destination

Hyperlink.destination

Used in:

Bookmark Bookmarks.add (destination: any[, withProperties: Object])

array of HyperlinkPageDestination HyperlinkPageDestinations.itemByRange (from: any, to: any)

HyperlinkPageDestination HyperlinkPageDestinations.nextItem (obj: HyperlinkPageDestination)

HyperlinkPageDestination HyperlinkPageDestinations.previousItem (obj: HyperlinkPageDestination)

Hyperlink Hyperlinks.add (hyperlinkSource: any[, hyperlinkDestination: any][, withProperties: Object])

Return

Array of HyperlinkPageDestination HyperlinkPageDestination.getElements ()

HyperlinkPageDestination HyperlinkPageDestinations.add ([destination: Page][, withProperties: Object])

HyperlinkPageDestination HyperlinkPageDestinations.anyItem ()

Array of HyperlinkPageDestination HyperlinkPageDestinations.everyItem ()

HyperlinkPageDestination HyperlinkPageDestinations.firstItem ()

HyperlinkPageDestination HyperlinkPageDestinations.item (index: any)

HyperlinkPageDestination HyperlinkPageDestinations.itemByID (id: number)

HyperlinkPageDestination HyperlinkPageDestinations.itemByName (name: string)

Array of HyperlinkPageDestination HyperlinkPageDestinations.itemByRange (from: any, to: any)

HyperlinkPageDestination HyperlinkPageDestinations.lastItem ()

HyperlinkPageDestination HyperlinkPageDestinations.middleItem ()

HyperlinkPageDestination HyperlinkPageDestinations.nextItem (obj: HyperlinkPageDestination)

HyperlinkPageDestination HyperlinkPageDestinations.previousItem (obj: HyperlinkPageDestination)

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