XMLExportMap

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

Properties

Property Type Access Description
includeEmptyStories bool r/w If true, includes empty stories when mapping styles to tags.
includeMasterPageStories bool r/w If true, includes stories on master spreads when mapping styles to tags.
includePasteboardStories bool r/w If true, includes stories on the pasteboard when mapping styles to tags.
index number readonly The index of the XMLExportMap within its containing object.
mappedStyle any readonly The style mapped to the XML tag. Can return: ParagraphStyle, CharacterStyle, TableStyle or CellStyle. Can also accept: String.
markupTag XMLTag r/w The XML tag applied to the element. Can also accept: String.
parent any readonly The parent of the XMLExportMap (a Application or Document).
properties Object r/w A property that allows setting of several properties at the same time.

Methods

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

XMLExportMaps.previousItem (

obj:
XMLExportMap )

XMLExportMaps.nextItem (

obj:
XMLExportMap )

Returned by:

Array of XMLExportMap XMLExportMap .getElements (

)

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
)

Leave a Comment

Previous post:

Next post: