Adobe InDesign CS4 (6.0) Object Model JS: XMLExportMap

InDesign CS4

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
includeEmptyStoriesbool r/wIf true, includes empty stories when mapping styles to tags.
includeMasterPageStoriesbool r/wIf true, includes stories on master spreads when mapping styles to tags.
includePasteboardStoriesbool r/wIf true, includes stories on the pasteboard when mapping styles to tags.
indexnumber readonlyThe index of the XMLExportMap within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
mappedStyleCellStyleCharacterStyle
ParagraphStyle
String
TableStyle
readonlyThe style mapped to the XML tag. Can return: ParagraphStyle, CharacterStyle, TableStyle or CellStyle. 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 XMLExportMap 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

Array of XMLExportMap XMLExportMap.getElements ()

XMLExportMap XMLExportMaps.[] (index: number)

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