A collection of XML import maps.
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
XMLImportMap add (markupTag:Varies XMLTag String, mappedStyle:Varies CharacterStyle ParagraphStyle String, withProperties:Object)
Creates a new mapping of an XML tag to a style (paragraph, character, object, table, or cell).
|
Parameter |
Type |
Description |
|---|---|---|
|
markupTag |
The XML tag to map to the specified style (paragraph, character, object, table, or cell). Can accept: XMLTag or String. |
|
|
mappedStyle |
The paragraph or character style. Can accept: ParagraphStyle, CharacterStyle or String. |
|
|
withProperties |
Initial values for properties of the new XMLImportMap (Optional) |
XMLImportMap anyItem ()
Returns any XMLImportMap in the collection.
Number count ()
Displays the number of elements in the XMLImportMap.
XMLImportMap everyItem ()
Returns every XMLImportMap in the collection.
XMLImportMap firstItem ()
Returns the first XMLImportMap in the collection.
XMLImportMap item (index:Varies Long String)
Returns the XMLImportMap with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
Long |
The index or name. Can accept: Long or String. |
XMLImportMap itemByName (name:String)
Returns the XMLImportMap with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
XMLImportMap itemByRange (from:Varies Long XMLImportMap String, to:Varies Long XMLImportMap String)
Returns the XMLImportMaps within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Long |
The XMLImportMap, index, or name at the beginning of the range. Can accept: XMLImportMap, Long or String. |
|
to |
Long |
The XMLImportMap, index, or name at the end of the range. Can accept: XMLImportMap, Long or String. |
XMLImportMap lastItem ()
Returns the last XMLImportMap in the collection.
XMLImportMap middleItem ()
Returns the middle XMLImportMap in the collection.
XMLImportMap nextItem (obj:XMLImportMap)
Returns the XMLImportMap whose index follows the specified XMLImportMap in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The XMLImportMap whose index comes before the desired XMLImportMap. |
XMLImportMap previousItem (obj:XMLImportMap)
Returns the XMLImportMap with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the XMLImportMap that follows the desired XMLImportMap. |
String toSource ()
Generates a string which, if executed, will return the XMLImportMap.