XMLInstruction(An XML processing instruction.)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| 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 | プロパティを設定 | |||
| anyItem() | XMLInstruction | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | XMLInstruction (Array) | 全てのオブジェクトを返す | |||
| firstItem() | XMLInstruction | 最初のオブジェクトを返す | |||
| item(index) | XMLInstruction | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByID(id) | XMLInstruction | IDで指定したオブジェクトを返す | |||
| id | 数値 | ||||
| itemByRange(from, to) | XMLInstruction (Array) | 範囲で指定したオブジェクトを返す | |||
| from | XMLInstruction, 数値, 文字列値 | 範囲の開始 | |||
| to | XMLInstruction, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | XMLInstruction | 最後のオブジェクトを返す | |||
| middleItem() | XMLInstruction | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | XMLInstruction | 一つ後のオブジェクトを返す | |||
| obj | XMLInstruction | 位置の基準になるオブジェクト | |||
| previousItem(obj) | XMLInstruction | 一つ前のオブジェクトを返す | |||
| obj | XMLInstruction | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
An XML processing instruction.
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | Document, XMLElement | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| data | 文字列値 | A value that tells the application reading the exported XML file what to do with the processing instruction. | ||
| id | ○ | 数値 | オブジェクトのID | |
| index | ○ | 数値 | インデックス | |
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
| properties | Object | |||
| storyOffset | ○ | InsertionPoint | The insertion point before the table in the story containing the table. | |
| target | 文字列値 | A name that identifies the processing instruction to an application reading the exported XML file. |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||||||||||||||||||||||||||||||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||||||||||||||||||||||||||||||
| eventType | 文字列値 | ||||||||||||||||||||||||||||||||
| handler | ファイル, JavaScript関数 | ||||||||||||||||||||||||||||||||
| [captures] | 真偽値 | (廃止) | |||||||||||||||||||||||||||||||
| duplicate() | XMLInstruction | 複製。複製されたオブジェクトを返す | |||||||||||||||||||||||||||||||
| getElements() | Array( XMLInstruction ) | オブジェクト参照を返す | |||||||||||||||||||||||||||||||
| move(to, [reference]) | XMLInstruction | XML要素の移動 | |||||||||||||||||||||||||||||||
| to |
LocationOptions
| 移動先 | |||||||||||||||||||||||||||||||
| [reference] | XMLItem, Text | 位置の基準になるオブジェクト | |||||||||||||||||||||||||||||||
| remove() | なし | 削除 | |||||||||||||||||||||||||||||||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||||||||||||||||||||||||||||||
| eventType | 文字列値 | ||||||||||||||||||||||||||||||||
| handler | ファイル, JavaScript関数 | ||||||||||||||||||||||||||||||||
| [captures] | 真偽値 | (廃止) | |||||||||||||||||||||||||||||||
| select([existingSelection]) | なし | 選択状態にする | |||||||||||||||||||||||||||||||
| [existingSelection] |
SelectionOptions
| 既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH) | |||||||||||||||||||||||||||||||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||||||||||||||||||||||||||||||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||||||||||||||||||||||||||||||