Indexes

Index(索引)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
add([withProperties]) Index新しいオブジェクトを作成し、それを返す
[withProperties] Objectプロパティを設定
[7][7.5][8][9]
[10][11][12][13]
anyItem() Indexどれかのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
count() 数値要素数を返す
[7][7.5][8][9]
[10][11][12][13]
everyItem() Array( Index )全てのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
firstItem() Index最初のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
item(index) Indexインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[7][7.5][8][9]
[10][11][12][13]
itemByID(id) IndexIDで指定したオブジェクトを返す
id 数値
[7][7.5][8][9]
[10][11][12][13]
itemByName(name) Index名前で指定したオブジェクトを返す
name 文字列値
[7][7.5][8][9]
[10][11][12][13]
itemByRange(from, to) Array( Index )範囲で指定したオブジェクトを返す
from Index, 数値, 文字列値範囲の開始
to Index, 数値, 文字列値範囲の終了
[7][7.5][8][9]
[10][11][12][13]
lastItem() Index最後のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
middleItem() Index真ん中のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
nextItem(obj) Index一つ後のオブジェクトを返す
obj Index位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
previousItem(obj) Index一つ前のオブジェクトを返す
obj Index位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す

Index

索引

プロパティ(parentとその逆)

Ver.プロパティR/O
[7][7.5][8][9]
[10][11][12][13]
parent Document
[7][7.5][8][9]
[10][11][12][13]
eventListeners EventListeners
[7][7.5][8][9]
[10][11][12][13]
events Events
[7][7.5][8][9]
[10][11][12][13]
indexSections IndexSections
[7][7.5][8][9]
[10][11][12][13]
topics Topics

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
allTopics Array( Topic )含まれる全トピック
[7][7.5][8][9]
[10][11][12][13]
id 数値オブジェクトのID
[7][7.5][8][9]
[10][11][12][13]
index 数値インデックス
[7][7.5][8][9]
[10][11][12][13]
isValid 真偽値オブジェクトが有効かどうか
[7][7.5][8][9]
[10][11][12][13]
label 文字列値スクリプトラベル
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前 - label のエイリアス
[7][7.5][8][9]
[10][11][12][13]
properties Object

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
capitalize([capitalizationOption]) なし英単語の文字を大文字にする
[capitalizationOption] IndexCapitalizationOptions
IndexCapitalizationOptions
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
ALL_ENTRIES1097624645
AllE
全ての索引項目
[7][7.5][8][9]
[10][11][12][13]
ALL_LEVEL_1_ENTRIES1095517556
ALEt
レベル1の索引項目
[7][7.5][8][9]
[10][11][12][13]
INCLUDE_SUBENTRIES1767072325
iSbE
選択した項目(入れ子も含む)
[7][7.5][8][9]
[10][11][12][13]
SELECTED_ENTRY1398042725
STpe
選択した項目(入れ子を除く)
(既定値=IndexCapitalizationOptions.ALL_ENTRIES)
[7][7.5][8][9]
[10][11][12][13]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[7][7.5][8][9]
[10][11][12][13]
generate([on], [placePoint], [destinationLayer], [autoflowing], [includeOverset]) Array( Story )索引テキストの作成
[on] Page, Spread, MasterSpread配置先
[placePoint] [ x, y ]配置先の座標。x, yは数値または長さ値
[destinationLayer] Layer配置するレイヤー
[autoflowing] 真偽値自動流し込み (既定値=false)
[includeOverset] 真偽値あふれたテキストを含めるかどうか (既定値=false)
[7][7.5][8][9]
[10][11][12][13]
getElements() Array( Index )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
importTopics(from) なし索引項目の読み込み
from ファイルファイル名
[7][7.5][8][9]
[10][11][12][13]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[7][7.5][8][9]
[10][11][12][13]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
removeUnusedTopics() なし未使用の索引項目を削除
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.
[7][7.5][8][9]
[10][11][12][13]
update() なしページ番号の更新