CellStyleMappings
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
CellStyleMapping [] (index:
number)
Returns the CellStyleMapping with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
CellStyleMapping 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 CellStyleMapping (Optional) |
CellStyleMapping anyItem ()
Returns any CellStyleMapping in the collection.
number count ()
Displays the number of elements in the CellStyleMapping.
Array of CellStyleMapping everyItem ()
Returns every CellStyleMapping in the collection.
CellStyleMapping firstItem ()
Returns the first CellStyleMapping in the collection.
CellStyleMapping item (index:
varies)
Returns the CellStyleMapping 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 CellStyleMapping itemByRange (from:
varies, to:
varies)
Returns the CellStyleMappings within the specified range.
Parameter | Type | Description |
---|---|---|
from | CellStyleMapping Long Integer String | The CellStyleMapping, index, or name at the beginning of the range. Can accept: CellStyleMapping, Long Integer or String. |
to | CellStyleMapping Long Integer String | The CellStyleMapping, index, or name at the end of the range. Can accept: CellStyleMapping, Long Integer or String. |
CellStyleMapping lastItem ()
Returns the last CellStyleMapping in the collection.
CellStyleMapping middleItem ()
Returns the middle CellStyleMapping in the collection.
CellStyleMapping nextItem (obj:
CellStyleMapping)
Returns the CellStyleMapping whose index follows the specified CellStyleMapping in the collection.
Parameter | Type | Description |
---|---|---|
obj | CellStyleMapping | The CellStyleMapping whose index comes before the desired CellStyleMapping. |
CellStyleMapping previousItem (obj:
CellStyleMapping)
Returns the CellStyleMapping with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | CellStyleMapping | The index of the CellStyleMapping that follows the desired CellStyleMapping. |
string toSource ()
Generates a string which, if executed, will return the CellStyleMapping.
Element of
Application.cellStyleMappings
Document.cellStyleMappings
Story.cellStyleMappings
XmlStory.cellStyleMappings
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |