InDesign Server2025
API 20.5.0.49
Object

XMLExportMap

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

Hierarchy

Application | Document

XMLExportMap

Properties

NameType AccessDescription
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Boolean read/write If true, includes empty stories when mapping styles to tags.
Boolean read/write If true, includes stories on master spreads when mapping styles to tags.
Boolean read/write If true, includes stories on the pasteboard when mapping styles to tags.
Number readonly The index of the XMLExportMap within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
CharacterStyle | ParagraphStyle | String | TableStyle | CellStyle readonly The style mapped to the XML tag. Can return: ParagraphStyle, CharacterStyle, TableStyle or CellStyle. Can also accept: String.
XMLTag | String read/write The XML tag applied to the element. Can also accept: String.
Application | Document readonly The parent of the XMLExportMap (a Application or Document).
Object read/write A property that allows setting of several properties at the same time.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
XMLExportMap[]

Resolves the object specifier, creating an array of object references.

void

Deletes the XMLExportMap.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 3

Properties elsewhere that hold a XMLExportMap.

Parameter of 3

Method parameters that accept a XMLExportMap.

Return 12

Methods that return a XMLExportMap.