Adobe InDesign CS2 (4.0) Object Model JS: XMLImportMap

InDesign CS2

Class

XMLImportMap

 A mapping object that maps an XML tag to a style (paragraph, character, object, table, or cell).

QuickLinks

getElements, remove, toSource, toSpecifier

Hierarchy

Application | Document
XMLImportMap

Properties

PropertyTypeAccessDescription
indexnumber readonlyThe index of the XMLImportMap within its containing object.
mappedStyleCharacterStyleParagraphStyle
String
r/wThe style to map to the XML tag. Can return: ParagraphStyle or CharacterStyle. Can also accept: String.
markupTagString
XMLTag
readonlyThe XML tag applied to the element. Can also accept: String.
parentApplication
Document
readonlyThe parent of the XMLImportMap (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

Array of Object getElements ()
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:

array of XMLImportMap XMLImportMaps.itemByRange (from: any, to: any)

XMLImportMap XMLImportMaps.nextItem (obj: XMLImportMap)

XMLImportMap XMLImportMaps.previousItem (obj: XMLImportMap)

Return

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)

Jongware, 27-Jun-2010 v3.0.3dContents :: Index