PageReferences

PageReference(索引の参照先)のコレクション

プロパティ

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

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
add(source, [pageReferenceType], [pageReferenceLimit], [pageNumberStyleOverride], [withProperties]) PageReference新しいオブジェクトを作成し、それを返す
source TextThe text or insertion point to which the page reference points.
[pageReferenceType] PageReferenceType
PageReferenceType
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
CURRENT_PAGE1668444263
crpg
The page on which the index entry is located.
[12][13][14][15]
[16][17][18][19]
FOR_NEXT_N_PAGES1718513767
fnpg
The range of pages from the page containing the inedex entry to the nth page after that page (where n is the number of pages to include).
[12][13][14][15]
[16][17][18][19]
FOR_NEXT_N_PARAGRAPHS1718513778
fnpr
The range of pages from the page containing the index entry to the page containing the nth full paragraph from the paragraph containing the index entry (where n is the number of paragraphs to include).
[12][13][14][15]
[16][17][18][19]
SUPPRESS_PAGE_NUMBERS1852863079
nprg
Turns off page numbers for the index topic.
[12][13][14][15]
[16][17][18][19]
TO_END_OF_DOCUMENT1701799011
eodc
The last page in the document.
[12][13][14][15]
[16][17][18][19]
TO_END_OF_SECTION1701802851
eosc
The last page in the numbered section containing the index entry.
[12][13][14][15]
[16][17][18][19]
TO_END_OF_STORY1701802868
eost
The last page in the story containing the index entry.
[12][13][14][15]
[16][17][18][19]
TO_NEXT_STYLE_CHANGE1953395555
tnsc
The range of pages from the page containing the index entry to the page containing the next paragraph style change.
[12][13][14][15]
[16][17][18][19]
TO_NEXT_USE_OF_STYLE1953396083
tnus
The range of pages from the page containing the index entry to the page that contains the next occurrance of the specified paragraph style. If no paragraph style is specified, the paragraph style of the index entry paragraph is used.
The page number for an index page reference or the last page in an index page reference page range. (既定値=PageReferenceType.CURRENT_PAGE)
[pageReferenceLimit] ParagraphStyle, 数値The paragraph style or number of paragraphs or pages that defines the last page in a page range. Valid only when page reference type specifies the next use of a paragraph style or a number of paragraphs or pages.
[pageNumberStyleOverride] CharacterStyleページ番号の文字スタイル
[withProperties] Objectプロパティを設定
[12][13][14][15]
[16][17][18][19]
anyItem() PageReferenceどれかのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
count() 数値要素数を返す
[12][13][14][15]
[16][17][18][19]
everyItem() Array( PageReference )全てのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
firstItem() PageReference最初のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
item(index) PageReferenceインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[12][13][14][15]
[16][17][18][19]
itemByID(id) PageReferenceIDで指定したオブジェクトを返す
id 数値
[12][13][14][15]
[16][17][18][19]
itemByName(name) PageReference名前で指定したオブジェクトを返す
name 文字列値
[12][13][14][15]
[16][17][18][19]
itemByRange(from, to) Array( PageReference )範囲で指定したオブジェクトを返す
from PageReference, 数値, 文字列値範囲の開始
to PageReference, 数値, 文字列値範囲の終了
[12][13][14][15]
[16][17][18][19]
lastItem() PageReference最後のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
middleItem() PageReference真ん中のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
nextItem(obj) PageReference一つ後のオブジェクトを返す
obj PageReference位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
previousItem(obj) PageReference一つ前のオブジェクトを返す
obj PageReference位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す

PageReference

索引の参照先

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

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

プロパティ

Ver.プロパティ名R/O説明
[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]
pageNumberStyleOverride CharacterStyleThe character style applied to page numbers.
[12][13][14][15]
[16][17][18][19]
pageReferenceLimit ParagraphStyle, 数値The paragraph style or number of paragraphs or pages that defines the last page in a page range. Note: Valid only when page reference type specifies the next use of a paragraph style or a number of paragraphs or pages.
[12][13][14][15]
[16][17][18][19]
pageReferenceType PageReferenceType
PageReferenceType
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
CURRENT_PAGE1668444263
crpg
The page on which the index entry is located.
[12][13][14][15]
[16][17][18][19]
FOR_NEXT_N_PAGES1718513767
fnpg
The range of pages from the page containing the inedex entry to the nth page after that page (where n is the number of pages to include).
[12][13][14][15]
[16][17][18][19]
FOR_NEXT_N_PARAGRAPHS1718513778
fnpr
The range of pages from the page containing the index entry to the page containing the nth full paragraph from the paragraph containing the index entry (where n is the number of paragraphs to include).
[12][13][14][15]
[16][17][18][19]
SUPPRESS_PAGE_NUMBERS1852863079
nprg
Turns off page numbers for the index topic.
[12][13][14][15]
[16][17][18][19]
TO_END_OF_DOCUMENT1701799011
eodc
The last page in the document.
[12][13][14][15]
[16][17][18][19]
TO_END_OF_SECTION1701802851
eosc
The last page in the numbered section containing the index entry.
[12][13][14][15]
[16][17][18][19]
TO_END_OF_STORY1701802868
eost
The last page in the story containing the index entry.
[12][13][14][15]
[16][17][18][19]
TO_NEXT_STYLE_CHANGE1953395555
tnsc
The range of pages from the page containing the index entry to the page containing the next paragraph style change.
[12][13][14][15]
[16][17][18][19]
TO_NEXT_USE_OF_STYLE1953396083
tnus
The range of pages from the page containing the index entry to the page that contains the next occurrance of the specified paragraph style. If no paragraph style is specified, the paragraph style of the index entry paragraph is used.
Options for index page references.
[12][13][14][15]
[16][17][18][19]
properties Object
[12][13][14][15]
[16][17][18][19]
sourceText Text参照先のテキスト

メソッド

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]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[12][13][14][15]
[16][17][18][19]
getElements() Array( PageReference )オブジェクト参照を返す
[12][13][14][15]
[16][17][18][19]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[12][13][14][15]
[16][17][18][19]
remove() なし削除
[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]
toSource() 文字列値ソースコードを表す文字列を返す
[12][13][14][15]
[16][17][18][19]
toSpecifier() 文字列値Retrieves the object specifier.