TOCStyleEntries

TOCStyleEntry(目次スタイルの各要素)のコレクション

プロパティ

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

メソッド

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

TOCStyleEntry

目次スタイルの各要素

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

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

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
formatStyle ParagraphStyle, 文字列値The paragraph style applied to the TOC entry.
[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]
level 数値目次レベル
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前
[7][7.5][8][9]
[10][11][12][13]
pageNumberPosition PageNumberPosition
PageNumberPosition
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
AFTER_ENTRY1634100590
afen
Places page numbers after entry text.
[7][7.5][8][9]
[10][11][12][13]
BEFORE_ENTRY1650877806
bfen
Places page numbers before entry text.
[7][7.5][8][9]
[10][11][12][13]
NONE1852796517
none
Turns off page numbers.
The page number placement for the TOC entry style.
[7][7.5][8][9]
[10][11][12][13]
pageNumberStyle CharacterStyle, 文字列値ページ番号の文字スタイル
[7][7.5][8][9]
[10][11][12][13]
properties Object
[7][7.5][8][9]
[10][11][12][13]
separator 文字列値The string to insert between the entry text and the page numbers.
[7][7.5][8][9]
[10][11][12][13]
separatorStyle CharacterStyle, 文字列値項目とページ番号の間の文字スタイル
[7][7.5][8][9]
[10][11][12][13]
sortAlphabet 真偽値If true, sorts the entries alphabetically.

メソッド

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]
getElements() Array( TOCStyleEntry )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
remove() なし削除
[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]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.