XMLImportMaps

A collection of XML import maps.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLImportMap [] (index:Number)

Returns the XMLImportMap with the specified index.

Parameter

Type

Description

index

Number

The index.

XMLImportMap add (markupTag:Varies XMLTag String, mappedStyle:Varies CellStyle CharacterStyle ParagraphStyle TableStyle String, withProperties:Object)

Create a new mapping

Parameter

Type

Description

markupTag

XMLTag

String

The tag to map. Can accept: XMLTag or String.

mappedStyle

CellStyle

CharacterStyle

ParagraphStyle

TableStyle

String

the mapped style. Can accept: ParagraphStyle, CharacterStyle, TableStyle, CellStyle or String.

withProperties

Object

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 LongInteger String)

Returns the XMLImportMap with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

XMLImportMap itemByRange (from:Varies LongInteger XMLImportMap String, to:Varies LongInteger XMLImportMap String)

Returns the XMLImportMaps within the specified range.

Parameter

Type

Description

from

LongInteger

XMLImportMap

String

The XMLImportMap, index, or name at the beginning of the range. Can accept: XMLImportMap, Long Integer or String.

to

LongInteger

XMLImportMap

String

The XMLImportMap, index, or name at the end of the range. Can accept: XMLImportMap, Long Integer 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

XMLImportMap

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

XMLImportMap

The index of the XMLImportMap that follows the desired XMLImportMap.

String toSource ()

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

Object of

Application.xmlImportMaps

Document.xmlImportMaps