Change(テキストの変更)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| anyItem() | Change | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | Change (Array) | 全てのオブジェクトを返す | |||
| firstItem() | Change | 最初のオブジェクトを返す | |||
| item(index) | Change | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByRange(from, to) | Change (Array) | 範囲で指定したオブジェクトを返す | |||
| from | Change, 数値, 文字列値 | 範囲の開始 | |||
| to | Change, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | Change | 最後のオブジェクトを返す | |||
| middleItem() | Change | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | Change | 一つ後のオブジェクトを返す | |||
| obj | Change | 位置の基準になるオブジェクト | |||
| previousItem(obj) | Change | 一つ前のオブジェクトを返す | |||
| obj | Change | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
テキストの変更
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | Story, XmlStory, Cell | |
| characters | ○ | Characters | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| insertionPoints | ○ | InsertionPoints | |
| lines | ○ | Lines | |
| paragraphs | ○ | Paragraphs | |
| textColumns | ○ | TextColumns | |
| texts | ○ | Texts | |
| textStyleRanges | ○ | TextStyleRanges | |
| textVariableInstances | ○ | TextVariableInstances | |
| words | ○ | Words | |
| Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| changeType | ○ |
ChangeTypes
| The type of tracked change. Note: Valid only when track changes is true. | |||||||||||||||||||||
| date | ○ | 日時値 | 更新日時 | |||||||||||||||||||||
| index | ○ | 数値 | インデックス | |||||||||||||||||||||
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |||||||||||||||||||||
| properties | Object | |||||||||||||||||||||||
| storyOffset | ○ | InsertionPoint | The location of the first insertion point in the object (relative to the beginning of the story). | |||||||||||||||||||||
| userName | ○ | 文字列値 | The user who made the change. Note: Valid only when track changes is true. | |||||||||||||||||||||
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| accept() | なし | Accepts the tracked change. Note: Valid only when track changes is true. | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| getElements() | Array( Change ) | オブジェクト参照を返す | |||
| reject() | なし | Rejects the tracked change. Note: Valid only when track changes is true. | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||