Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
capitalize([capitalizationOption]) | なし | 英単語の文字を大文字にする |
| [capitalizationOption] |
IndexCapitalizationOptions(既定値=IndexCapitalizationOptions.ALL_ENTRIES)
IndexCapitalizationOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ALL_ENTRIES | 1097624645 | 全ての索引項目 |
  
   |
ALL_LEVEL_1_ENTRIES | 1095517556 | レベル1の索引項目 |
  
   |
INCLUDE_SUBENTRIES | 1767072325 | 選択した項目(入れ子も含む) |
  
   |
SELECTED_ENTRY | 1398042725 | 選択した項目(入れ子を除く) |
| | |
  
   |
extractLabel(key) | 文字列型 | キーに関連づけられたラベルを取得 |
| key |
文字列型
| | キー |
  
   |
generate([on], [placePoint], [destinationLayer], [autoflowing], [includeOverset]) | Story | Generates a new index story. |
| [on] |
Page, Spread, MasterSpread
| | The spread or page on which to place the story. |
| [placePoint] |
[x, y]
| | 配置先の座標。x, yは数値型または文字列型 |
| [destinationLayer] |
Layer
| | 配置するレイヤー |
| [autoflowing] |
ブール型(既定値=false)
| | 自動流し込み |
| [includeOverset] |
ブール型(既定値=false)
| | あふれたテキストを含めるかどうか |
  
   |
getElements() | Index | |
  
   |
importTopics(from) | なし | 索引項目の読み込み |
| from |
File型
| | ファイル名 |
  
   |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 |
| key |
文字列型
| | キー |
| value |
文字列型
| | ラベルの値 |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
removeUnusedTopics() | なし | 未使用の索引項目を削除 |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |
  
   |
update() | なし | ページ番号の更新 |