A collection of table style mappings.
Go to Property Listing | Method Listing
[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
TableStyleMapping [] (index:Number)
Returns the TableStyleMapping with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
TableStyleMapping add (sourceStyleName:String, destinationStyleName:String, mappingRuleType:MapType, withProperties:Object)
Adds a style mapping.
Parameter |
Type |
Description |
---|---|---|
sourceStyleName |
The source style name. |
|
destinationStyleName |
The destination style name. |
|
mappingRuleType |
The mapping type |
|
withProperties |
Initial values for properties of the new TableStyleMapping (Optional) |
TableStyleMapping anyItem ()
Returns any TableStyleMapping in the collection.
Number count ()
Displays the number of elements in the TableStyleMapping.
TableStyleMapping everyItem ()
Returns every TableStyleMapping in the collection.
TableStyleMapping firstItem ()
Returns the first TableStyleMapping in the collection.
TableStyleMapping item (index:Varies LongInteger String)
Returns the TableStyleMapping with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
TableStyleMapping itemByRange (from:Varies LongInteger TableStyleMapping String, to:Varies LongInteger TableStyleMapping String)
Returns the TableStyleMappings within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The TableStyleMapping, index, or name at the beginning of the range. Can accept: TableStyleMapping, Long Integer or String. |
to |
LongInteger |
The TableStyleMapping, index, or name at the end of the range. Can accept: TableStyleMapping, Long Integer or String. |
TableStyleMapping lastItem ()
Returns the last TableStyleMapping in the collection.
TableStyleMapping middleItem ()
Returns the middle TableStyleMapping in the collection.
TableStyleMapping nextItem (obj:TableStyleMapping)
Returns the TableStyleMapping whose index follows the specified TableStyleMapping in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The TableStyleMapping whose index comes before the desired TableStyleMapping. |
TableStyleMapping previousItem (obj:TableStyleMapping)
Returns the TableStyleMapping with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the TableStyleMapping that follows the desired TableStyleMapping. |
String toSource ()
Generates a string which, if executed, will return the TableStyleMapping.
Application.tableStyleMappings
Document.tableStyleMappings
Story.tableStyleMappings
XmlStory.tableStyleMappings