Adobe InDesign CS5.5 (7.5) Object Model JS: StyleExportTagMaps

InDesign CS5.5

Class

StyleExportTagMaps

 A collection of style export tag maps.

See also StyleExportTagMap.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

StyleExportTagMap [] (index: number)
Returns the StyleExportTagMap with the specified index.

ParameterTypeDescription
indexnumberThe index.

StyleExportTagMap add (exportType: string, exportTag: string, exportClass: string, exportAttributes: string[, withProperties: Object])
Create a new mapping

ParameterTypeDescription
exportTypestringThe type of export.
exportTagstringThe tag to map.
exportClassstringThe class to map.
exportAttributesstringThe attributes to map.
withPropertiesObjectInitial values for properties of the new StyleExportTagMap (Optional)

StyleExportTagMap anyItem ()
Returns any StyleExportTagMap in the collection.

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

Array of StyleExportTagMap everyItem ()
Returns every StyleExportTagMap in the collection.

StyleExportTagMap firstItem ()
Returns the first StyleExportTagMap in the collection.

StyleExportTagMap item (index: varies)
Returns the StyleExportTagMap with the specified index or name.

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

Array of StyleExportTagMap itemByRange (from: varies, to: varies)
Returns the StyleExportTagMaps within the specified range.

ParameterTypeDescription
fromLong Integer
String
StyleExportTagMap
The StyleExportTagMap, index, or name at the beginning of the range. Can accept: StyleExportTagMap, Long Integer or String.
toLong Integer
String
StyleExportTagMap
The StyleExportTagMap, index, or name at the end of the range. Can accept: StyleExportTagMap, Long Integer or String.

StyleExportTagMap lastItem ()
Returns the last StyleExportTagMap in the collection.

StyleExportTagMap middleItem ()
Returns the middle StyleExportTagMap in the collection.

StyleExportTagMap nextItem (obj: StyleExportTagMap)
Returns the StyleExportTagMap whose index follows the specified StyleExportTagMap in the collection.

ParameterTypeDescription
objStyleExportTagMapThe StyleExportTagMap whose index comes before the desired StyleExportTagMap.

StyleExportTagMap previousItem (obj: StyleExportTagMap)
Returns the StyleExportTagMap with the index previous to the specified index.

ParameterTypeDescription
objStyleExportTagMapThe index of the StyleExportTagMap that follows the desired StyleExportTagMap.

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

Element of

CharacterStyle.styleExportTagMaps

ParagraphStyle.styleExportTagMaps

Jongware, 28-Apr-2012 v3.0.3iContents :: Index