XMLXMLImportMaps

A collection of XML import maps.

Instance Properties

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

Methods

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