TOCStyles

TOCStyle(目次スタイル)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

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

TOCStyle

目次スタイル

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

Ver.プロパティR/O
[18][19][20][21] parent Document
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events
[18][19][20][21] tocStyleEntries TOCStyleEntries

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] createBookmarks 真偽値PDFブックマークを作成
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] includeBookDocuments 真偽値ブックのドキュメントを含む
[18][19][20][21] includeHidden 真偽値非表示レイヤーのテキストを含むかどうか。trueで含む
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] label 文字列値スクリプトラベル
[18][19][20][21] makeAnchor 真偽値ソース段落にテキストアンカーを作成するかどうか
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] numberedParagraphs NumberedParagraphsOptions
NumberedParagraphsOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]EXCLUDE_NUMBERS1952804469
tenu
番号を除外
[18][19][20][21]INCLUDE_FULL_PARAGRAPH1953064560
tifp
段落全体を含む
[18][19][20][21]INCLUDE_NUMBERS_ONLY1953066607
tino
番号のみを含む
段落の自動番号
[18][19][20][21] properties Object
[18][19][20][21] removeForcedLineBreak 真偽値強制改行を削除
[18][19][20][21] runIn 真偽値If true, the lowest-level TOC entries are placed on the same line as the previous entry.
[18][19][20][21] setStoryDirection HorizontalOrVertical
HorizontalOrVertical
Ver.プロパティ値/管理用文字説明
[18][19][20][21]HORIZONTAL1752134266
horz
横組み(横)
[18][19][20][21]VERTICAL1986359924
vert
縦組み(縦)
組方向
[18][19][20][21] title 文字列値タイトル
[18][19][20][21] titleStyle ParagraphStyleタイトルの段落スタイル

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] duplicate() TOCStyle複製。複製されたオブジェクトを返す
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( TOCStyle )オブジェクト参照を返す
[18][19][20][21] insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.