InstancesTableStyleMapping [] (index:
number)
Returns the TableStyleMapping with the specified index.
Parameter | Type | Description |
index | number | The index. |
TableStyleMapping add (sourceStyleName:
string, destinationStyleName:
string, mappingRuleType:
MapType[, withProperties:
Object])
Adds a style mapping.
Parameter | Type | Description |
sourceStyleName | string | The source style name. |
destinationStyleName | string | The destination style name. |
mappingRuleType | MapType: MapType.STYLE_MAPPING_RULE MapType.GROUP_MAPPING_RULE MapType.STYLE_TO_GROUP_MAPPING_RULE MapType.GROUP_TO_STYLE_MAPPING_RULE | The mapping type |
withProperties | Object | 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.
Array of TableStyleMapping everyItem ()
Returns every TableStyleMapping in the collection.
TableStyleMapping firstItem ()
Returns the first TableStyleMapping in the collection.
TableStyleMapping item (index:
varies)
Returns the TableStyleMapping with the specified index or name.
Parameter | Type | Description |
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Array of TableStyleMapping itemByRange (from:
varies, to:
varies)
Returns the TableStyleMappings within the specified range.
Parameter | Type | Description |
from | Long Integer String TableStyleMapping | The TableStyleMapping, index, or name at the beginning of the range. Can accept: TableStyleMapping, Long Integer or String. |
to | Long Integer String TableStyleMapping | 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 | TableStyleMapping | 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 | TableStyleMapping | The index of the TableStyleMapping that follows the desired TableStyleMapping. |
string toSource ()
Generates a string which, if executed, will return the TableStyleMapping.
|