A hyperlink destination that is either text or an insertion point.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| destinationText | InsertionPoint | r/w | The text or insertion point that the hyperlink points to. Can also accept: Text. |
| hidden | bool | readonly | If true, the HyperlinkTextDestination is hidden. |
| id | number | readonly | The unique ID of the HyperlinkTextDestination. |
| index | number | readonly | The index of the HyperlinkTextDestination within its containing object. |
| label | string | r/w | A property that can be set to any string. |
| name | string | r/w | The name of the HyperlinkTextDestination. |
| parent | Document | readonly | The parent of the HyperlinkTextDestination (a Document). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
string extractLabel (key:
string)
Gets the label value associated with the specified key.
| Parameter | Type | Description |
|---|---|---|
| key | string | The key. |
Array of HyperlinkTextDestinationgetElements ()
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.
| Parameter | Type | Description |
|---|---|---|
| key | string | The key. |
| value | string | The value. |
void remove ()
Deletes the HyperlinkTextDestination.
void showDestination ()
Jumps to the hyperlink destination.
string toSource ()
Generates a string which, if executed, will return the HyperlinkTextDestination.
string toSpecifier ()
Retrieves the object specifier.
Used in:
HyperlinkTextDestinations.previousItem (
obj:
HyperlinkTextDestination )
HyperlinkTextDestinations.nextItem (
obj:
HyperlinkTextDestination )
Returned by:
Array of HyperlinkTextDestination HyperlinkTextDestination .getElements (
)
HyperlinkTextDestination HyperlinkTextDestinations.add (
destination:
Text[, withProperties:
Object]
)
HyperlinkTextDestination HyperlinkTextDestinations.anyItem (
)
Array of HyperlinkTextDestination HyperlinkTextDestinations.everyItem (
)
HyperlinkTextDestination HyperlinkTextDestinations.firstItem (
)
HyperlinkTextDestination HyperlinkTextDestinations.item (
index:
any
)
HyperlinkTextDestination HyperlinkTextDestinations.itemByID (
id:
number
)
HyperlinkTextDestination HyperlinkTextDestinations.itemByName (
name:
string
)
Array of HyperlinkTextDestination HyperlinkTextDestinations.itemByRange (
from:
any, to:
any
)
HyperlinkTextDestination HyperlinkTextDestinations.lastItem (
)
HyperlinkTextDestination HyperlinkTextDestinations.middleItem (
)
HyperlinkTextDestination HyperlinkTextDestinations.nextItem (
obj:
HyperlinkTextDestination
)
HyperlinkTextDestination HyperlinkTextDestinations.previousItem (
obj:
HyperlinkTextDestination
)