InDesign Server2025
API 20.5.0.49
Collection of CellStyleMapping

CellStyleMappings

A collection of cell style mappings.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ CellStyleMapping

Returns the CellStyleMapping with the specified index.

index Number The index.
→ CellStyleMapping

Adds a style mapping.

sourceStyleName String The source style name.
destinationStyleName String The destination style name.
mappingRuleType MapType The mapping type
withProperties? Object Initial values for properties of the new CellStyleMapping
→ Number

Displays the number of elements in the CellStyleMapping.

→ CellStyleMapping[]

Returns every CellStyleMapping in the collection.

→ CellStyleMapping

Returns the first CellStyleMapping in the collection.

→ CellStyleMapping

Returns the CellStyleMapping with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ CellStyleMapping[]

Returns the CellStyleMappings within the specified range.

from CellStyleMapping | LongInteger | String The CellStyleMapping, index, or name at the beginning of the range. Can accept: CellStyleMapping, Long Integer or String.
to CellStyleMapping | LongInteger | String The CellStyleMapping, index, or name at the end of the range. Can accept: CellStyleMapping, Long Integer or String.
→ CellStyleMapping

Returns the last CellStyleMapping in the collection.

→ CellStyleMapping

Returns the middle CellStyleMapping in the collection.

→ CellStyleMapping

Returns the CellStyleMapping whose index follows the specified CellStyleMapping in the collection.

obj CellStyleMapping The CellStyleMapping whose index comes before the desired CellStyleMapping.
→ CellStyleMapping

Returns the CellStyleMapping with the index previous to the specified index.

obj CellStyleMapping The index of the CellStyleMapping that follows the desired CellStyleMapping.
→ String

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

Object of 4

Properties elsewhere that hold a CellStyleMappings.