Endnote(後注)のコレクション
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
length | ○ | 数値 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
anyItem() | Endnote | どれかのオブジェクトを返す | |||
count() | 数値 | 要素数を返す | |||
everyItem() | Array( Endnote ) | 全てのオブジェクトを返す | |||
firstItem() | Endnote | 最初のオブジェクトを返す | |||
item(index) | Endnote | インデックスまたは名前で指定したオブジェクトを返す | |||
index | 数値, 文字列値 | インデックスまたは名前 | |||
itemByID(id) | Endnote | IDで指定したオブジェクトを返す | |||
id | 数値 | ||||
itemByName(name) | Endnote | 名前で指定したオブジェクトを返す | |||
name | 文字列値 | ||||
itemByRange(from, to) | Array( Endnote ) | 範囲で指定したオブジェクトを返す | |||
from | Endnote, 数値, 文字列値 | 範囲の開始 | |||
to | Endnote, 数値, 文字列値 | 範囲の終了 | |||
lastItem() | Endnote | 最後のオブジェクトを返す | |||
middleItem() | Endnote | 真ん中のオブジェクトを返す | |||
nextItem(obj) | Endnote | 一つ後のオブジェクトを返す | |||
obj | Endnote | 位置の基準になるオブジェクト | |||
previousItem(obj) | Endnote | 一つ前のオブジェクトを返す | |||
obj | Endnote | 位置の基準になるオブジェクト | |||
toSource() | 文字列値 | ソースコードを表す文字列を返す |
後注
Ver. | プロパティ | R/O | 値 |
---|---|---|---|
parent | ○ | InsertionPoint, Story, XmlStory | |
parent | ○ | InsertionPoint, Story, XmlStory, Cell, Table | |
characters | ○ | Characters | |
eventListeners | ○ | EventListeners | |
events | ○ | Events | |
insertionPoints | ○ | InsertionPoints | |
lines | ○ | Lines | |
textColumns | ○ | TextColumns | |
texts | ○ | Texts | |
textStyleRanges | ○ | TextStyleRanges | |
words | ○ | Words |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
endnoteTextRange | EndnoteRange | The endnote range object. | ||
id | ○ | 数値 | オブジェクトのID | |
index | ○ | 数値 | インデックス | |
isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
label | 文字列値 | スクリプトラベル | ||
name | 文字列値 | オブジェクトの名前 | ||
properties | Object | |||
storyOffset | ○ | 数値 | The location of this endnote from the beginning of the story | |
storyOffset | ○ | InsertionPoint | The location of the endnote marker in the parent story |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
deleteEndnote() | なし | Deletes the endnote reference and the associated endnote text range. | |||
extractLabel(key) | 文字列値 | キーに関連づけられた値を取得 | |||
key | 文字列値 | キー | |||
getElements() | Array( Endnote ) | オブジェクト参照を返す | |||
insertLabel(key, value) | なし | キーに関連づけられた値を設定 | |||
key | 文字列値 | キー | |||
value | 文字列値 | 値 | |||
insertTextInEndnote(storyOffset, contents) | なし | Insert the text in endnote text range at specified text index. Insertion position should lie within the start and end range indices excluding the markers | |||
storyOffset | InsertionPoint | 挿入位置 | |||
contents | 文字列値 | 挿入するテキスト | |||
removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
toSpecifier() | 文字列値 | Retrieves the object specifier. |