Adds an event listener.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the XMLComment. | |
| Number | readonly | The index of the XMLComment within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| Document | XMLElement | readonly | The parent of the XMLComment (a Document or XMLElement). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| InsertionPoint | readonly | The insertion point before the table in the story containing the table. | |
| String | read/write | The text of the XML comment. |
Methods
Duplicates the XMLComment.
→ XMLComment[]
Resolves the object specifier, creating an array of object references.
Moves the element to the specified location.
to
LocationOptions
The location in relation to the reference object or within the containing object.
→ void
Deletes the XMLComment.
→ Boolean
Removes the event listener.
→ void
Selects the object.
existingSelection?
SelectionOptions
The selection status of the XMLComment in relation to previously selected objects.
→ String
Generates a string which, if executed, will return the XMLComment.
→ String
Retrieves the object specifier.
Object of 3
Properties elsewhere that hold a XMLComment.
Parameter of 3
Method parameters that accept a XMLComment.
Return 15
Methods that return a XMLComment.
XMLComment.duplicate()XMLComment.getElements()XMLComment.move()XMLComments.[]()XMLComments.add()XMLComments.anyItem()XMLComments.everyItem()XMLComments.firstItem()XMLComments.item()XMLComments.itemByID()XMLComments.itemByRange()XMLComments.lastItem()XMLComments.middleItem()XMLComments.nextItem()XMLComments.previousItem()