InDesign2026
API 21.5.1.73
Collection of ParaStyleMapping

ParaStyleMappings

A collection of para style mappings.

Properties

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

Methods

ParaStyleMapping

Returns the ParaStyleMapping with the specified index.

index Number The index.
ParaStyleMapping

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 ParaStyleMapping
Number

Displays the number of elements in the ParaStyleMapping.

ParaStyleMapping[]

Returns every ParaStyleMapping in the collection.

ParaStyleMapping

Returns the first ParaStyleMapping in the collection.

ParaStyleMapping

Returns the ParaStyleMapping with the specified index or name.

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

Returns the ParaStyleMappings within the specified range.

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

Returns the last ParaStyleMapping in the collection.

ParaStyleMapping

Returns the middle ParaStyleMapping in the collection.

ParaStyleMapping

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

obj ParaStyleMapping The ParaStyleMapping whose index comes before the desired ParaStyleMapping.
ParaStyleMapping

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

obj ParaStyleMapping The index of the ParaStyleMapping that follows the desired ParaStyleMapping.
String

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

Object of 4

Properties elsewhere that hold a ParaStyleMappings.