Ver. | プロパティ名 | R/O | 値 | 説明 |
  
   |
id | ○ |
数値型
| オブジェクトのID |
  
   |
index | ○ |
数値型
| インデックス |
  
   |
isValid | ○ |
ブール型
| |
  
   |
label | |
文字列型
| スクリプトラベル |
  
   |
name | |
文字列型
| オブジェクトの名前。ラベルのエイリアス |
  
   |
pageNumberStyleOverride | |
CharacterStyle
| The character style applied to page numbers. |
  
   |
pageReferenceLimit | |
ParagraphStyle, 数値型
| The paragraph style, number of paragraphs, 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, a number of paragraphs, pages. . |
  
   |
pageReferenceType | |
PageReferenceType
PageReferenceType |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CURRENT_PAGE | 1668444263 | The page on which the index entry is located. |
  
   |
FOR_NEXT_N_PAGES | 1718513767 | The range of pages from the page containing the inedex entry to the nth page after that page. |
  
   |
FOR_NEXT_N_PARAGRAPHS | 1718513778 | 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. |
  
   |
SUPPRESS_PAGE_NUMBERS | 1852863079 | Turns off page numbers for the index topic. |
  
   |
TO_END_OF_DOCUMENT | 1701799011 | The last page in the document. |
  
   |
TO_END_OF_SECTION | 1701802851 | The last page in the numbered section containing the index entry. |
  
   |
TO_END_OF_STORY | 1701802868 | The last page in the story containing the index entry. |
  
   |
TO_NEXT_STYLE_CHANGE | 1953395555 | The range of pages from the page containing the index entry to the page containing the next paragraph style change. |
  
   |
TO_NEXT_USE_OF_STYLE | 1953396083 | 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. |
  
   |
sourceText | ○ |
Text
| 参照先のテキスト類(Text, TextColumn, Paragraph, Line, TextStyleRange, Word, Character, InsertionPoint) |
  
   |
storyOffset | ○ |
数値型
| 参照先のInsertionPointのindex |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
add(parentStory, storyOffset, [pageReferenceType], [pageReferenceLimit], [pageNumberStyleOverride], [withProperties]) | PageReference | 新しいオブジェクトを作成し、それを返す |
| parentStory |
Story
| | 親のストーリー |
| storyOffset |
InsertionPoint, 数値型
| | ストーリーの先頭からの位置 |
| [pageReferenceType] |
PageReferenceType(既定値=PageReferenceType.CURRENT_PAGE)
PageReferenceType |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CURRENT_PAGE | 1668444263 | The page on which the index entry is located. |
  
   |
FOR_NEXT_N_PAGES | 1718513767 | The range of pages from the page containing the inedex entry to the nth page after that page. |
  
   |
FOR_NEXT_N_PARAGRAPHS | 1718513778 | 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. |
  
   |
SUPPRESS_PAGE_NUMBERS | 1852863079 | Turns off page numbers for the index topic. |
  
   |
TO_END_OF_DOCUMENT | 1701799011 | The last page in the document. |
  
   |
TO_END_OF_SECTION | 1701802851 | The last page in the numbered section containing the index entry. |
  
   |
TO_END_OF_STORY | 1701802868 | The last page in the story containing the index entry. |
  
   |
TO_NEXT_STYLE_CHANGE | 1953395555 | The range of pages from the page containing the index entry to the page containing the next paragraph style change. |
  
   |
TO_NEXT_USE_OF_STYLE | 1953396083 | 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 type of page reference |
| [pageReferenceLimit] |
ParagraphStyle, Long
| | The page range limit. |
| [pageNumberStyleOverride] |
CharacterStyle
| | ページ番号の文字スタイル |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
add(source, [pageReferenceType], [pageReferenceLimit], [pageNumberStyleOverride], [withProperties]) | PageReference | 新しいオブジェクトを作成し、それを返す |
| source |
Text
| | TextまたはInsertionpoint |
| [pageReferenceType] |
PageReferenceType(既定値=PageReferenceType.CURRENT_PAGE)
PageReferenceType |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CURRENT_PAGE | 1668444263 | The page on which the index entry is located. |
  
   |
FOR_NEXT_N_PAGES | 1718513767 | The range of pages from the page containing the inedex entry to the nth page after that page. |
  
   |
FOR_NEXT_N_PARAGRAPHS | 1718513778 | 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. |
  
   |
SUPPRESS_PAGE_NUMBERS | 1852863079 | Turns off page numbers for the index topic. |
  
   |
TO_END_OF_DOCUMENT | 1701799011 | The last page in the document. |
  
   |
TO_END_OF_SECTION | 1701802851 | The last page in the numbered section containing the index entry. |
  
   |
TO_END_OF_STORY | 1701802868 | The last page in the story containing the index entry. |
  
   |
TO_NEXT_STYLE_CHANGE | 1953395555 | The range of pages from the page containing the index entry to the page containing the next paragraph style change. |
  
   |
TO_NEXT_USE_OF_STYLE | 1953396083 | 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. |
| [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
| | プロパティの初期値を設定 |
  
   |
anyItem() | PageReference | |
  
   |
count() | 数値型 | 要素数を返す |
  
   |
everyItem() | PageReference | |
  
   |
firstItem() | PageReference | 最初のオブジェクトを返す |
  
   |
item(index) | PageReference | インデックスまたは名前で指定したオブジェクトを返す |
| index |
数値型, 文字列型
| | 番号もしくは名前 |
  
   |
itemByID(id) | PageReference | IDで指定したオブジェクトを返す |
| id |
数値型
| | オブジェクトのID |
  
   |
itemByName(name) | PageReference | 名前で指定したオブジェクトを返す |
| name |
文字列型
| | 名前 |
  
   |
itemByRange(from, to) | PageReference | 範囲で指定したオブジェクトを返す |
| from |
PageReference, 数値型, 文字列型
| | 範囲の開始 |
| to |
PageReference, 数値型, 文字列型
| | 範囲の終了 |
  
   |
lastItem() | PageReference | 最後のオブジェクトを返す |
  
   |
middleItem() | PageReference | |
  
   |
nextItem(obj) | PageReference | 一つ後のオブジェクトを返す |
| obj |
PageReference
| | 位置の基準になるオブジェクト |
  
   |
previousItem(obj) | PageReference | 一つ前のオブジェクトを返す |
| obj |
PageReference
| | 位置の基準になるオブジェクト |
  
   |
toSource() | 文字列型 | |