XMLExportMaps

A collection of XML export maps.

Methods:

add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLExportMap add (mappedStyle:Varies CharacterStyle ParagraphStyle String, markupTag:Varies XMLTag String, withProperties:Object)

Creates a new mapping of a paragraph style or character style to an XML tag.

Parameter

Type

Description

mappedStyle

CharacterStyle

ParagraphStyle

String

The style (paragraph, character, object, table, or cell) to map to the specified XML tag. Can accept: ParagraphStyle, CharacterStyle or String.

markupTag

XMLTag

String

The XML tag. Can accept: XMLTag or String.

withProperties

Object

Initial values for properties of the new XMLExportMap (Optional)

XMLExportMap anyItem ()

Returns any XMLExportMap in the collection.

Number count ()

Displays the number of elements in the XMLExportMap.

XMLExportMap everyItem ()

Returns every XMLExportMap in the collection.

XMLExportMap firstItem ()

Returns the first XMLExportMap in the collection.

XMLExportMap item (index:Varies Long String)

Returns the XMLExportMap with the specified index or name.

Parameter

Type

Description

index

Long

String

The index or name. Can accept: Long or String.

XMLExportMap itemByName (name:String)

Returns the XMLExportMap with the specified name.

Parameter

Type

Description

name

String

The name.

XMLExportMap itemByRange (from:Varies Long XMLExportMap String, to:Varies Long XMLExportMap String)

Returns the XMLExportMaps within the specified range.

Parameter

Type

Description

from

Long

XMLExportMap

String

The XMLExportMap, index, or name at the beginning of the range. Can accept: XMLExportMap, Long or String.

to

Long

XMLExportMap

String

The XMLExportMap, index, or name at the end of the range. Can accept: XMLExportMap, Long or String.

XMLExportMap lastItem ()

Returns the last XMLExportMap in the collection.

XMLExportMap middleItem ()

Returns the middle XMLExportMap in the collection.

XMLExportMap nextItem (obj:XMLExportMap)

Returns the XMLExportMap whose index follows the specified XMLExportMap in the collection.

Parameter

Type

Description

obj

XMLExportMap

The XMLExportMap whose index comes before the desired XMLExportMap.

XMLExportMap previousItem (obj:XMLExportMap)

Returns the XMLExportMap with the index previous to the specified index.

Parameter

Type

Description

obj

XMLExportMap

The index of the XMLExportMap that follows the desired XMLExportMap.

String toSource ()

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

Object of

Application.xmlExportMaps

Document.xmlExportMaps