XMLItem
An XML item.
Superclass of DTD, XMLComment, XMLElement, and XMLInstruction
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
id | number | readonly | The unique ID of the XMLItem. |
index | number | readonly | The index of the XMLItem within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | DocumentXMLElement | readonly | The parent of the XMLItem (a Document or XMLElement). |
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) |
XMLItem duplicate ()
Duplicates the XMLItem.
Array
of XMLItem getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the XMLItem.
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 select ([existingSelection:
SelectionOptions=SelectionOptions.REPLACE_WITH])
Selects the object.
Parameter | Type | Description |
---|---|---|
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE_WITH | The selection status of the XMLItem in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
string toSource ()
Generates a string which, if executed, will return the XMLItem.
Element of
Button.associatedXMLElement
Cell.associatedXMLElement
Character.associatedXMLElements
Document.associatedXMLElement
EPS.associatedXMLElement
EPSText.associatedXMLElement
FormField.associatedXMLElement
Graphic.associatedXMLElement
GraphicLine.associatedXMLElement
Group.associatedXMLElement
Image.associatedXMLElement
ImportedPage.associatedXMLElement
InsertionPoint.associatedXMLElements
Line.associatedXMLElements
MediaItem.associatedXMLElement
Movie.associatedXMLElement
MultiStateObject.associatedXMLElement
Oval.associatedXMLElement
PDF.associatedXMLElement
PICT.associatedXMLElement
PageItem.associatedXMLElement
Paragraph.associatedXMLElements
Polygon.associatedXMLElement
Rectangle.associatedXMLElement
Sound.associatedXMLElement
SplineItem.associatedXMLElement
Story.associatedXMLElement
Table.associatedXMLElement
Text.associatedXMLElements
TextColumn.associatedXMLElements
TextFrame.associatedXMLElement
TextStyleRange.associatedXMLElements
WMF.associatedXMLElement
Word.associatedXMLElements
XmlStory.associatedXMLElement
Used in:
XMLItem XMLItems.nextItem (obj: XMLItem)
XMLItem XMLItems.previousItem (obj: XMLItem)
Return
Array of XMLItem XMLElement.evaluateXPathExpression (using: string[, prefixMappingTable: Array of varies])
XMLItem XMLItem.duplicate ()
Array of XMLItem XMLItem.getElements ()
XMLItem XMLItems.[] (index: number)
XMLItem XMLItems.anyItem ()
Array of XMLItem XMLItems.everyItem ()
XMLItem XMLItems.firstItem ()
XMLItem XMLItems.item (index: varies)
XMLItem XMLItems.itemByID (id: number)
Array of XMLItem XMLItems.itemByRange (from: varies, to: varies)
XMLItem XMLItems.lastItem ()
XMLItem XMLItems.middleItem ()
XMLItem XMLItems.nextItem (obj: XMLItem)
XMLItem XMLItems.previousItem (obj: XMLItem)
Jongware, 29-Apr-2012 v3.0.3i | Contents :: Index |