TextStyleExportTagMaps

A collection of style export tag maps.

Instance Properties

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

Methods

add(
exportType, exportTag, exportClass, exportAttributes ​[, withProperties])
 → StyleExportTagMap
count(
)
 → number
item(
index)
 → StyleExportTagMap
itemByRange(
from, to)
 → StyleExportTagMap
toSource(
)
 → string
add(
exportType, exportTag, exportClass, exportAttributes ​[, withProperties])
 → StyleExportTagMap
Create a new mapping
exportType string The type of export.
exportTag string The tag to map.
exportClass string The class to map.
exportAttributes string The attributes to map.
withProperties Object Initial values for properties of the new StyleExportTagMap (Optional)
anyItem(
)
 → StyleExportTagMap
Returns any StyleExportTagMap in the collection.
count(
)
 → number
Displays the number of elements in the StyleExportTagMap.
everyItem(
)
 → StyleExportTagMap
Returns every StyleExportTagMap in the collection.
firstItem(
)
 → StyleExportTagMap
Returns the first StyleExportTagMap in the collection.
item(
index)
 → StyleExportTagMap
Returns the StyleExportTagMap with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByRange(
from, to)
 → StyleExportTagMap
Returns the StyleExportTagMaps within the specified range.
from The StyleExportTagMap, index, or name at the beginning of the range. Can accept: StyleExportTagMap, Long Integer or String.
to The StyleExportTagMap, index, or name at the end of the range. Can accept: StyleExportTagMap, Long Integer or String.
lastItem(
)
 → StyleExportTagMap
Returns the last StyleExportTagMap in the collection.
middleItem(
)
 → StyleExportTagMap
Returns the middle StyleExportTagMap in the collection.
nextItem(
obj)
 → StyleExportTagMap
Returns the StyleExportTagMap whose index follows the specified StyleExportTagMap in the collection.
obj StyleExportTagMap The StyleExportTagMap whose index comes before the desired StyleExportTagMap.
previousItem(
obj)
 → StyleExportTagMap
Returns the StyleExportTagMap with the index previous to the specified index.
obj StyleExportTagMap The index of the StyleExportTagMap that follows the desired StyleExportTagMap.
toSource(
)
 → string
Generates a string which, if executed, will return the StyleExportTagMap.