XMLExportMaps

A collection of XML export maps.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLExportMap [] (index:Number)

Returns the XMLExportMap with the specified index.

Parameter

Type

Description

index

Number

The index.

XMLExportMap add (mappedStyle:Varies, markupTag:Varies, withProperties:Object)

Create a new mapping

Parameter

Type

Description

mappedStyle

Varies

The mapped style. Can accept: ParagraphStyle, CharacterStyle, TableStyle, CellStyle or String.

markupTag

Varies

The tag to map. 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)

Returns the XMLExportMap with the specified index or name.

Parameter

Type

Description

index

Varies

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

XMLExportMap itemByRange (from:Varies, to:Varies)

Returns the XMLExportMaps within the specified range.

Parameter

Type

Description

from

Varies

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

to

Varies

The XMLExportMap, index, or name at the end of the range. Can accept: XMLExportMap, Long Integer 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