CellStyleMapping
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
destinationStyleName | string | r/w | The destination style name property. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
index | number | readonly | The index of the CellStyleMapping within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
mappingRuleType | MapType: MapType.STYLE_MAPPING_RULE MapType.GROUP_MAPPING_RULE MapType.STYLE_TO_GROUP_MAPPING_RULE MapType.GROUP_TO_STYLE_MAPPING_RULE |
r/w | The type of the mapping rule. |
parent | Application Document Story XmlStory |
readonly | The parent of the CellStyleMapping (a Application, Document, Story or XmlStory). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
sourceStyleName | string | r/w | The source style name property. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of CellStyleMapping getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
deletes a style mapping.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the CellStyleMapping.
Used in:
CellStyleMapping CellStyleMappings.nextItem (obj: CellStyleMapping)
CellStyleMapping CellStyleMappings.previousItem (obj: CellStyleMapping)
Return
Array of CellStyleMapping CellStyleMapping.getElements ()
CellStyleMapping CellStyleMappings.[] (index: number)
CellStyleMapping CellStyleMappings.add (sourceStyleName: string, destinationStyleName: string, mappingRuleType: MapType[, withProperties: Object])
CellStyleMapping CellStyleMappings.anyItem ()
Array of CellStyleMapping CellStyleMappings.everyItem ()
CellStyleMapping CellStyleMappings.firstItem ()
CellStyleMapping CellStyleMappings.item (index: varies)
Array of CellStyleMapping CellStyleMappings.itemByRange (from: varies, to: varies)
CellStyleMapping CellStyleMappings.lastItem ()
CellStyleMapping CellStyleMappings.middleItem ()
CellStyleMapping CellStyleMappings.nextItem (obj: CellStyleMapping)
CellStyleMapping CellStyleMappings.previousItem (obj: CellStyleMapping)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |