XMLExportMaps

A collection of XML export maps.

Methods

XMLExportMapadd (mappedStyle:
any, markupTag:
any[, withProperties:
Object])
Create a new mapping

Parameter Type Description
mappedStyle ParagraphStyle
CharacterStyle
TableStyle
CellStyle
String
The mapped style. Can accept: ParagraphStyle, CharacterStyle, TableStyle, CellStyle or String.
markupTag XMLTag
String
The tag to map. Can accept: XMLTag or String.
withProperties Object Initial values for properties of the new XMLExportMap (Optional)

XMLExportMapanyItem ()
Returns any XMLExportMap in the collection.

number count ()
Displays the number of elements in the XMLExportMap.

Array of XMLExportMapeveryItem ()
Returns every XMLExportMap in the collection.

XMLExportMapfirstItem ()
Returns the first XMLExportMap in the collection.

XMLExportMapitem (index:
any)
Returns the XMLExportMap with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

XMLExportMapitemByName (name:
string)
Returns the XMLExportMap with the specified name.

Parameter Type Description
name string The name.

Array of XMLExportMapitemByRange (from:
any, to:
any)
Returns the XMLExportMaps within the specified range.

Parameter Type Description
from XMLExportMap
Long Integer
String
The XMLExportMap, index, or name at the beginning of the range. Can accept: XMLExportMap, Long Integer or String.
to XMLExportMap
Long Integer
String
The XMLExportMap, index, or name at the end of the range. Can accept: XMLExportMap, Long Integer or String.

XMLExportMaplastItem ()
Returns the last XMLExportMap in the collection.

XMLExportMapmiddleItem ()
Returns the middle XMLExportMap in the collection.

XMLExportMapnextItem (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.

XMLExportMappreviousItem (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.

Element of:

Application.xmlExportMaps
Document.xmlExportMaps

Leave a Comment

Previous post:

Next post: