A mapping object that maps an XML tag to a style (paragraph, character, object, table, or cell).
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| index | number | readonly | The index of the XMLImportMap within its containing object. |
| mappedStyle | any | r/w | The style mapped to the XML tag. Can return: ParagraphStyle, CharacterStyle, TableStyle or CellStyle. Can also accept: String. |
| markupTag | XMLTag | readonly | The XML tag applied to the element. Can also accept: String. |
| parent | any | 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
Array of XMLImportMapgetElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the XMLImportMap.
string toSource ()
Generates a string which, if executed, will return the XMLImportMap.
string toSpecifier ()
Retrieves the object specifier.
Used in:
XMLImportMaps.previousItem (
obj:
XMLImportMap )
XMLImportMaps.nextItem (
obj:
XMLImportMap )
Returned by:
Array of XMLImportMap XMLImportMap .getElements (
)
XMLImportMap XMLImportMaps.add (
markupTag:
any, mappedStyle:
any[, withProperties:
Object]
)
XMLImportMap XMLImportMaps.anyItem (
)
Array of XMLImportMap XMLImportMaps.everyItem (
)
XMLImportMap XMLImportMaps.firstItem (
)
XMLImportMap XMLImportMaps.item (
index:
any
)
XMLImportMap XMLImportMaps.itemByName (
name:
string
)
Array of XMLImportMap XMLImportMaps.itemByRange (
from:
any, to:
any
)
XMLImportMap XMLImportMaps.lastItem (
)
XMLImportMap XMLImportMaps.middleItem (
)
XMLImportMap XMLImportMaps.nextItem (
obj:
XMLImportMap
)
XMLImportMap XMLImportMaps.previousItem (
obj:
XMLImportMap
)