Indexes

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

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

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

Index

索引

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

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Document
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events
[12][13][14][15]
[16][17][18][19]
indexSections IndexSections
[12][13][14][15]
[16][17][18][19]
topics Topics

プロパティ

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

メソッド

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