CharStyleMappings
A collection of char style mappings.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
CharStyleMapping add( String sourceStyleName, String destinationStyleName, MapType mappingRuleType, Object withProperties )
Adds a style mapping.
Parameters
Number count()
Displays the number of elements in the CharStyleMapping.
CharStyleMapping item( Mixed index )
Returns the CharStyleMapping with the specified index or name.
Parameters
CharStyleMapping itemByRange( Mixed from, Mixed to )
Returns the CharStyleMappings within the specified range.
Parameters
CharStyleMapping firstItem()
Returns the first CharStyleMapping in the collection.
CharStyleMapping lastItem()
Returns the last CharStyleMapping in the collection.
CharStyleMapping middleItem()
Returns the middle CharStyleMapping in the collection.
CharStyleMapping previousItem( CharStyleMapping obj )
Returns the CharStyleMapping with the index previous to the specified index.
Parameters
CharStyleMapping nextItem( CharStyleMapping obj )
Returns the CharStyleMapping whose index follows the specified CharStyleMapping in the collection.
Parameters
CharStyleMapping anyItem()
Returns any CharStyleMapping in the collection.
CharStyleMapping everyItem()
Returns every CharStyleMapping in the collection.
String toSource()
Generates a string which, if executed, will return the CharStyleMapping.
CharStyleMapping []( Number index )
Returns the CharStyleMapping with the specified index.