XMLImportMap
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
index | number | readonly | The index of the XMLImportMap within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
mappedStyle | CellStyleCharacterStyle ParagraphStyle String TableStyle |
r/w | The style mapped to the XML tag. Can return: ParagraphStyle, CharacterStyle, TableStyle or CellStyle. Can also accept: String. |
markupTag | String XMLTag |
readonly | The XML tag applied to the element. Can also accept: String. |
parent | Application Document |
readonly | The parent of the XMLImportMap (a Application or 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) |
Array of XMLImportMap getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the XMLImportMap.
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) |
string toSource ()
Generates a string which, if executed, will return the XMLImportMap.
string toSpecifier ()
Retrieves the object specifier.
Used in:
XMLImportMap XMLImportMaps.nextItem (obj: XMLImportMap)
XMLImportMap XMLImportMaps.previousItem (obj: XMLImportMap)
Return
Array of XMLImportMap XMLImportMap.getElements ()
XMLImportMap XMLImportMaps.[] (index: number)
XMLImportMap XMLImportMaps.add (markupTag: varies, mappedStyle: varies[, withProperties: Object])
XMLImportMap XMLImportMaps.anyItem ()
Array of XMLImportMap XMLImportMaps.everyItem ()
XMLImportMap XMLImportMaps.firstItem ()
XMLImportMap XMLImportMaps.item (index: varies)
Array of XMLImportMap XMLImportMaps.itemByRange (from: varies, to: varies)
XMLImportMap XMLImportMaps.lastItem ()
XMLImportMap XMLImportMaps.middleItem ()
XMLImportMap XMLImportMaps.nextItem (obj: XMLImportMap)
XMLImportMap XMLImportMaps.previousItem (obj: XMLImportMap)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |