Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
add(sourceStyleName, destinationStyleName, mappingRuleType, [withProperties]) |
CellStyleMapping | 新しいオブジェクトを追加 |
| sourceStyleName |
文字列値 | | |
| destinationStyleName |
文字列値 | | The destination style name. |
| mappingRuleType |
MapType
MapType |
---|
Ver. | 値 | 10進数/文字列 | 説明 |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) | GROUP_MAPPING_RULE | 1735681906 gtgr | group to group mapping rule. |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) | GROUP_TO_ STYLE_MAPPING_RULE | 1735684978 gtsr | group to style mapping rule. |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) | STYLE_MAPPING_RULE | 1937011570 stsr | style to style mapping rule. |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) | STYLE_TO_ GROUP_MAPPING_RULE | 1937008498 stgr | style to group mapping rule. |
| | |
| [withProperties] |
Object | | プロパティの初期値を設定 |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
anyItem() |
CellStyleMapping | |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
count() |
数値 | 要素数を返す |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
everyItem() |
Array( CellStyleMapping ) | |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
firstItem() |
CellStyleMapping | 最初のオブジェクトを返す |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
item(index) |
CellStyleMapping | インデックスまたは名前で指定したオブジェクトを返す |
| index |
数値, 文字列値 | | インデックスまたは名前 |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
itemByRange(from, to) |
Array( CellStyleMapping ) | 範囲で指定したオブジェクトを返す |
| from |
CellStyleMapping, 数値, 文字列値 | | 範囲の開始 |
| to |
CellStyleMapping, 数値, 文字列値 | | 範囲の終了 |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
lastItem() |
CellStyleMapping | 最後のオブジェクトを返す |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
middleItem() |
CellStyleMapping | |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
nextItem(obj) |
CellStyleMapping | 一つ後のオブジェクトを返す |
| obj |
CellStyleMapping | | 位置の基準になるオブジェクト |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
previousItem(obj) |
CellStyleMapping | 一つ前のオブジェクトを返す |
| obj |
CellStyleMapping | | 位置の基準になるオブジェクト |
  ![[8]](8e.gif)
![[9]](9e.gif) ![[10]](10e.gif) ![[11]](11e.gif) |
toSource() |
文字列値 | ソースコードを表示 |
A cell style mapping.