XMLImportMaps

A collection of XML import maps.

Methods

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

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

XMLImportMapanyItem ()
Returns any XMLImportMap in the collection.

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

Array of XMLImportMapeveryItem ()
Returns every XMLImportMap in the collection.

XMLImportMapfirstItem ()
Returns the first XMLImportMap in the collection.

XMLImportMapitem (index:
any)
Returns the XMLImportMap with the specified index or name.

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

XMLImportMapitemByName (name:
string)
Returns the XMLImportMap with the specified name.

Parameter Type Description
name string The name.

Array of XMLImportMapitemByRange (from:
any, to:
any)
Returns the XMLImportMaps within the specified range.

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

XMLImportMaplastItem ()
Returns the last XMLImportMap in the collection.

XMLImportMapmiddleItem ()
Returns the middle XMLImportMap in the collection.

XMLImportMapnextItem (obj:
XMLImportMap)
Returns the XMLImportMap whose index follows the specified XMLImportMap in the collection.

Parameter Type Description
obj XMLImportMap The XMLImportMap whose index comes before the desired XMLImportMap.

XMLImportMappreviousItem (obj:
XMLImportMap)
Returns the XMLImportMap with the index previous to the specified index.

Parameter Type Description
obj XMLImportMap The index of the XMLImportMap that follows the desired XMLImportMap.

string toSource ()
Generates a string which, if executed, will return the XMLImportMap.

Element of:

Application.xmlImportMaps
Document.xmlImportMaps

Leave a Comment

Previous post:

Next post: