InDesign Server2025
API 20.5.0.49
Object

CellStyleMapping

A cell style mapping.

Hierarchy

Application | Document | Story | XmlStory

CellStyleMapping

Properties

NameType AccessDescription
String read/write The destination style name property.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The index of the CellStyleMapping within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
MapType
read/write The type of the mapping rule.
Document | Story | Application | XmlStory readonly The parent of the CellStyleMapping (a Application, Document, Story or XmlStory).
Object read/write A property that allows setting of several properties at the same time.
String read/write The source style name property.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
CellStyleMapping[]

Resolves the object specifier, creating an array of object references.

void

deletes a style mapping.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 3

Properties elsewhere that hold a CellStyleMapping.

Parameter of 3

Method parameters that accept a CellStyleMapping.

Return 12

Methods that return a CellStyleMapping.