ParaStyleMapping
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 ParaStyleMapping 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 ParaStyleMapping (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 ParaStyleMapping 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 ParaStyleMapping.
Used in:
ParaStyleMapping ParaStyleMappings.nextItem (obj: ParaStyleMapping)
ParaStyleMapping ParaStyleMappings.previousItem (obj: ParaStyleMapping)
Return
Array of ParaStyleMapping ParaStyleMapping.getElements ()
ParaStyleMapping ParaStyleMappings.[] (index: number)
ParaStyleMapping ParaStyleMappings.add (sourceStyleName: string, destinationStyleName: string, mappingRuleType: MapType[, withProperties: Object])
ParaStyleMapping ParaStyleMappings.anyItem ()
Array of ParaStyleMapping ParaStyleMappings.everyItem ()
ParaStyleMapping ParaStyleMappings.firstItem ()
ParaStyleMapping ParaStyleMappings.item (index: varies)
Array of ParaStyleMapping ParaStyleMappings.itemByRange (from: varies, to: varies)
ParaStyleMapping ParaStyleMappings.lastItem ()
ParaStyleMapping ParaStyleMappings.middleItem ()
ParaStyleMapping ParaStyleMappings.nextItem (obj: ParaStyleMapping)
ParaStyleMapping ParaStyleMappings.previousItem (obj: ParaStyleMapping)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |