Class

CellStyleMapping

 A cell style mapping.

QuickLinks

addEventListener, getElements, remove, removeEventListener, toSource, toSpecifier

Hierarchy

Application | Document | Story | XmlStory
CellStyleMapping
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
destinationStyleNamestring r/wThe destination style name property.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
indexnumber readonlyThe index of the CellStyleMapping within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
mappingRuleTypeMapType:
MapType.STYLE_MAPPING_RULE
MapType.GROUP_MAPPING_RULE
MapType.STYLE_TO_GROUP_MAPPING_RULE
MapType.GROUP_TO_STYLE_MAPPING_RULE
r/wThe type of the mapping rule.
parentApplication
Document
Story
XmlStory
readonlyThe parent of the CellStyleMapping (a Application, Document, Story or XmlStory).
propertiesObject r/wA property that allows setting of several properties at the same time.
sourceStyleNamestring r/wThe source style name property.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis 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.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the CellStyleMapping.

string toSpecifier ()
Retrieves the object specifier.

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.3iContents :: Index