XMLInstructions

XMLInstruction(An XML processing instruction.)のコレクション

プロパティ

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

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] add(target, [data], [storyOffset], [withProperties]) XMLInstruction新しいオブジェクトを作成し、それを返す
target 文字列値A name that identifies the processing instruction to an application reading the exported XML file.
[data] 文字列値A value that tells the application what to do with the processing instruction identified in the target.
[storyOffset] InsertionPoint, 数値ストーリーの先頭からの位置
[withProperties] Objectプロパティを設定
[18][19][20][21] anyItem() XMLInstructionどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() XMLInstruction (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() XMLInstruction最初のオブジェクトを返す
[18][19][20][21] item(index) XMLInstructionインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByID(id) XMLInstructionIDで指定したオブジェクトを返す
id 数値
[18][19][20][21] itemByRange(from, to) XMLInstruction (Array)範囲で指定したオブジェクトを返す
from XMLInstruction, 数値, 文字列値範囲の開始
to XMLInstruction, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() XMLInstruction最後のオブジェクトを返す
[18][19][20][21] middleItem() XMLInstruction真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) XMLInstruction一つ後のオブジェクトを返す
obj XMLInstruction位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) XMLInstruction一つ前のオブジェクトを返す
obj XMLInstruction位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

XMLInstruction

An XML processing instruction.

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

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

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] data 文字列値A value that tells the application reading the exported XML file what to do with the processing instruction.
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] properties Object
[18][19][20][21] storyOffset InsertionPointThe insertion point before the table in the story containing the table.
[18][19][20][21] target 文字列値A name that identifies the processing instruction to an application reading the exported XML file.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] duplicate() XMLInstruction複製。複製されたオブジェクトを返す
[18][19][20][21] getElements() Array( XMLInstruction )オブジェクト参照を返す
[18][19][20][21] move(to, [reference]) XMLInstructionXML要素の移動
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] XMLItem, Text位置の基準になるオブジェクト
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] select([existingSelection]) なし選択状態にする
[existingSelection] SelectionOptions
SelectionOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ADD_TO1633969202
add2
追加選択する
[18][19][20][21]REMOVE_FROM1919249734
remF
選択から削除する
[18][19][20][21]REPLACE_WITH1919250519
repW
置き換える
[18][19][20][21]SET_KEY1936028779
setk
整列のキーオブジェクトにする
既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.