Notes

Note(注釈)のコレクション

プロパティ

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

メソッド

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

Note

注釈

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

Ver.プロパティR/O
[18][19][20][21] parent XmlStory, Story, TextFrame, EndnoteTextFrame, InsertionPoint, Cell
[18][19][20][21] characters Characters
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events
[18][19][20][21] hiddenTexts HiddenTexts
[18][19][20][21] insertionPoints InsertionPoints
[18][19][20][21] lines Lines
[18][19][20][21] paragraphs Paragraphs
[18][19][20][21] textColumns TextColumns
[18][19][20][21] texts Texts
[18][19][20][21] textStyleRanges TextStyleRanges
[18][19][20][21] textVariableInstances TextVariableInstances
[18][19][20][21] words Words

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] collapsed 真偽値注釈が展開されているかどうか。true:展開表示、false:折り畳み表示
[18][19][20][21] creationDate 日時値作成日時
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] label 文字列値スクリプトラベル
[18][19][20][21] modificationDate 日時値修正日時
[18][19][20][21] name 文字列値オブジェクトの名前 - label のエイリアス
[18][19][20][21] properties Object
[18][19][20][21] storyOffset InsertionPointストーリー内の位置
[18][19][20][21] userName 文字列値注釈の作成者

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] convertToText() なしテキストに変換
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( Note )オブジェクト参照を返す
[18][19][20][21] insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[18][19][20][21] move(to, [reference]) Noteテキストのドラッグ&ドロップ
to LocationOptions
LocationOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]AFTER1634104421
afte
[18][19][20][21]AT_BEGINNING1650945639
bgng
先頭
[18][19][20][21]AT_END1701733408
end
最後
[18][19][20][21]BEFORE1650812527
befo
[18][19][20][21]UNKNOWN1433299822
Unkn
No location
移動先
[reference] Text, Story位置の基準になるオブジェクト
[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.