XMLXMLExportMaps

A collection of XML export maps.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
mappedStyle, markupTag ​[, withProperties])
 → XMLExportMap
count(
)
 → number
item(
index)
 → XMLExportMap
itemByRange(
from, to)
 → XMLExportMap
nextItem(
obj)
 → XMLExportMap
toSource(
)
 → string
add(
mappedStyle, markupTag ​[, withProperties])
 → XMLExportMap
Create a new mapping
mappedStyle The mapped style. Can accept: ParagraphStyle, CharacterStyle, TableStyle, CellStyle or String.
markupTag The tag to map. Can accept: XMLTag or String.
withProperties Object Initial values for properties of the new XMLExportMap (Optional)
anyItem(
)
 → XMLExportMap
Returns any XMLExportMap in the collection.
count(
)
 → number
Displays the number of elements in the XMLExportMap.
everyItem(
)
 → XMLExportMap
Returns every XMLExportMap in the collection.
firstItem(
)
 → XMLExportMap
Returns the first XMLExportMap in the collection.
item(
index)
 → XMLExportMap
Returns the XMLExportMap with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByRange(
from, to)
 → XMLExportMap
Returns the XMLExportMaps within the specified range.
from The XMLExportMap, index, or name at the beginning of the range. Can accept: XMLExportMap, Long Integer or String.
to The XMLExportMap, index, or name at the end of the range. Can accept: XMLExportMap, Long Integer or String.
lastItem(
)
 → XMLExportMap
Returns the last XMLExportMap in the collection.
middleItem(
)
 → XMLExportMap
Returns the middle XMLExportMap in the collection.
nextItem(
obj)
 → XMLExportMap
Returns the XMLExportMap whose index follows the specified XMLExportMap in the collection.
obj XMLExportMap The XMLExportMap whose index comes before the desired XMLExportMap.
previousItem(
obj)
 → XMLExportMap
Returns the XMLExportMap with the index previous to the specified index.
obj XMLExportMap The index of the XMLExportMap that follows the desired XMLExportMap.
toSource(
)
 → string
Generates a string which, if executed, will return the XMLExportMap.