Adobe InDesign CS2 (4.0) Object Model JS: XMLExportMap

InDesign CS2

Class

XMLExportMap

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

QuickLinks

getElements, remove, toSource, toSpecifier

Hierarchy

Application | Document
XMLExportMap

Properties

PropertyTypeAccessDescription
indexnumber readonlyThe index of the XMLExportMap within its containing object.
mappedStyleCharacterStyleParagraphStyle
String
readonlyThe style to map to the XML tag. Can return: ParagraphStyle or CharacterStyle. Can also accept: String.
markupTagString
XMLTag
r/wThe XML tag applied to the element. Can also accept: String.
parentApplication
Document
readonlyThe parent of the XMLExportMap (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 XMLExportMap.

string toSource ()
Generates a string which, if executed, will return the XMLExportMap.

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of XMLExportMap XMLExportMaps.itemByRange (from: any, to: any)

XMLExportMap XMLExportMaps.nextItem (obj: XMLExportMap)

XMLExportMap XMLExportMaps.previousItem (obj: XMLExportMap)

Return

XMLExportMap XMLExportMaps.add (mappedStyle: any, markupTag: any[, withProperties: Object])

XMLExportMap XMLExportMaps.anyItem ()

Array of XMLExportMap XMLExportMaps.everyItem ()

XMLExportMap XMLExportMaps.firstItem ()

XMLExportMap XMLExportMaps.item (index: any)

XMLExportMap XMLExportMaps.itemByName (name: string)

Array of XMLExportMap XMLExportMaps.itemByRange (from: any, to: any)

XMLExportMap XMLExportMaps.lastItem ()

XMLExportMap XMLExportMaps.middleItem ()

XMLExportMap XMLExportMaps.nextItem (obj: XMLExportMap)

XMLExportMap XMLExportMaps.previousItem (obj: XMLExportMap)

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