ParagraphDestination
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
destinationText | InsertionPointText | r/w | The text or insertion point that the hyperlink points to. Can also accept: Text. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
hidden | bool | readonly | If true, the hyperlink is hidden. |
id | number | readonly | The unique ID of the ParagraphDestination. |
index | number | readonly | The index of the ParagraphDestination within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
name | string | r/w | The name of the ParagraphDestination. |
parent | Document | readonly | The parent of the ParagraphDestination (a Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of ParagraphDestination 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.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
void remove ()
Deletes the ParagraphDestination.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
void showDestination ()
Jumps to the hyperlink destination.
string toSource ()
Generates a string which, if executed, will return the ParagraphDestination.
Element of
Hyperlink.destination
Used in:
ParagraphDestination ParagraphDestinations.nextItem (obj: ParagraphDestination)
ParagraphDestination ParagraphDestinations.previousItem (obj: ParagraphDestination)
Return
Array of ParagraphDestination ParagraphDestination.getElements ()
ParagraphDestination ParagraphDestinations.[] (index: number)
ParagraphDestination ParagraphDestinations.add (destination: Text[, withProperties: Object])
ParagraphDestination ParagraphDestinations.anyItem ()
Array of ParagraphDestination ParagraphDestinations.everyItem ()
ParagraphDestination ParagraphDestinations.firstItem ()
ParagraphDestination ParagraphDestinations.item (index: varies)
ParagraphDestination ParagraphDestinations.itemByID (id: number)
ParagraphDestination ParagraphDestinations.itemByName (name: string)
Array of ParagraphDestination ParagraphDestinations.itemByRange (from: varies, to: varies)
ParagraphDestination ParagraphDestinations.lastItem ()
ParagraphDestination ParagraphDestinations.middleItem ()
ParagraphDestination ParagraphDestinations.nextItem (obj: ParagraphDestination)
ParagraphDestination ParagraphDestinations.previousItem (obj: ParagraphDestination)
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |