Adobe InDesign CS4 (6.0) Object Model JS: XMLImportMap

InDesign CS4

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.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
mappedStyleCellStyleCharacterStyle
ParagraphStyle
String
TableStyle
r/wThe style mapped to the XML tag. Can return: ParagraphStyle, CharacterStyle, TableStyle or CellStyle. 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 XMLImportMap 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

Array of XMLImportMap XMLImportMap.getElements ()

XMLImportMap XMLImportMaps.[] (index: number)

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, 20-Jun-2010 v3.0.3dContents :: Index