Changes

Change(テキストの変更)のコレクション

プロパティ

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

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] anyItem() Changeどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() Change (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() Change最初のオブジェクトを返す
[18][19][20][21] item(index) Changeインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByRange(from, to) Change (Array)範囲で指定したオブジェクトを返す
from Change, 数値, 文字列値範囲の開始
to Change, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() Change最後のオブジェクトを返す
[18][19][20][21] middleItem() Change真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) Change一つ後のオブジェクトを返す
obj Change位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) Change一つ前のオブジェクトを返す
obj Change位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

Change

テキストの変更

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

Ver.プロパティR/O
[18][19][20][21] parent Story, XmlStory, Cell
[18][19][20][21] characters Characters
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events
[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] changeType ChangeTypes
ChangeTypes
Ver.プロパティ値/管理用文字説明
[18][19][20][21]DELETED_TEXT1799644524
kDel
Deleted text.
[18][19][20][21]INSERTED_TEXT1799974515
kIns
Added text.
[18][19][20][21]MOVED_TEXT1800236918
kMov
Moved text.
The type of tracked change. Note: Valid only when track changes is true.
[18][19][20][21] date 日時値更新日時
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] properties Object
[18][19][20][21] storyOffset InsertionPointThe location of the first insertion point in the object (relative to the beginning of the story).
[18][19][20][21] userName 文字列値The user who made the change. Note: Valid only when track changes is true.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] accept() なしAccepts the tracked change. Note: Valid only when track changes is true.
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] getElements() Array( Change )オブジェクト参照を返す
[18][19][20][21] reject() なしRejects the tracked change. Note: Valid only when track changes is true.
[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.