InDesign2026
API 21.5.1.73
Collection of TableStyleMapping

TableStyleMappings

A collection of table style mappings.

Properties

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

Methods

→ TableStyleMapping

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 TableStyleMapping
→ Number

Displays the number of elements in the TableStyleMapping.

→ TableStyleMapping[]

Returns every TableStyleMapping in the collection.

→ TableStyleMapping

Returns the first TableStyleMapping in the collection.

→ TableStyleMapping

Returns the TableStyleMapping with the specified index or name.

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

Returns the TableStyleMappings within the specified range.

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

Returns the last TableStyleMapping in the collection.

→ TableStyleMapping

Returns the middle TableStyleMapping in the collection.

→ TableStyleMapping

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

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

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

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

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

Object of 4

Properties elsewhere that hold a TableStyleMappings.