Edit in GitHubLog an issue

CellStyleMappings

A collection of cell style mappings.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

CellStyleMapping add( String sourceStyleName, String destinationStyleName, MapType mappingRuleType, Object withProperties )

Adds a style mapping.

Parameters

TypeNameDescription
String
sourceStyleName
The source style name.
String
destinationStyleName
The destination style name.
MapType
mappingRuleType
The mapping type
Object
withProperties
Initial values for properties of the new CellStyleMapping (Optional)

Number count()

Displays the number of elements in the CellStyleMapping.


CellStyleMapping item( Mixed index )

Returns the CellStyleMapping with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

CellStyleMapping itemByRange( Mixed from, Mixed to )

Returns the CellStyleMappings within the specified range.

Parameters

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

CellStyleMapping firstItem()

Returns the first CellStyleMapping in the collection.


CellStyleMapping lastItem()

Returns the last CellStyleMapping in the collection.


CellStyleMapping middleItem()

Returns the middle CellStyleMapping in the collection.


CellStyleMapping previousItem( CellStyleMapping obj )

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

Parameters

TypeNameDescription
CellStyleMapping
obj
The index of the CellStyleMapping that follows the desired CellStyleMapping.

CellStyleMapping nextItem( CellStyleMapping obj )

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

Parameters

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

CellStyleMapping anyItem()

Returns any CellStyleMapping in the collection.


CellStyleMapping everyItem()

Returns every CellStyleMapping in the collection.


String toSource()

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


CellStyleMapping []( Number index )

Returns the CellStyleMapping with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.