TextVariableInstances

TextVariableInstance(テキスト変数のインスタンス)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
add([to], [reference], [withProperties]) TextVariableInstance新しいオブジェクトを作成し、それを返す
[to] LocationOptions
LocationOptions
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
AFTER1634104421
afte
[7][7.5][8][9]
[10][11][12][13]
AT_BEGINNING1650945639
bgng
先頭
[7][7.5][8][9]
[10][11][12][13]
AT_END1701733408
end
最後
[7][7.5][8][9]
[10][11][12][13]
BEFORE1650812527
befo
[7][7.5][8][9]
[10][11][12][13]
UNKNOWN1433299822
Unkn
No location
追加先 (既定値=LocationOptions.UNKNOWN)
[reference] TextVariableInstance, XmlStory, TextFrame, Story, Note, Cell, Footnote, Table, TextColumn, TextStyleRange, Text, InsertionPoint, Paragraph, Line, Word, Character, Change位置の基準になるオブジェクト
[withProperties] Objectプロパティを設定
[7][7.5][8][9]
[10][11][12][13]
anyItem() TextVariableInstanceどれかのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
count() 数値要素数を返す
[7][7.5][8][9]
[10][11][12][13]
everyItem() Array( TextVariableInstance )全てのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
firstItem() TextVariableInstance最初のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
item(index) TextVariableInstanceインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[7][7.5][8][9]
[10][11][12][13]
itemByID(id) TextVariableInstanceIDで指定したオブジェクトを返す
id 数値
[7][7.5][8][9]
[10][11][12][13]
itemByName(name) TextVariableInstance名前で指定したオブジェクトを返す
name 文字列値
[7][7.5][8][9]
[10][11][12][13]
itemByRange(from, to) Array( TextVariableInstance )範囲で指定したオブジェクトを返す
from TextVariableInstance, 数値, 文字列値範囲の開始
to TextVariableInstance, 数値, 文字列値範囲の終了
[7][7.5][8][9]
[10][11][12][13]
lastItem() TextVariableInstance最後のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
middleItem() TextVariableInstance真ん中のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
nextItem(obj) TextVariableInstance一つ後のオブジェクトを返す
obj TextVariableInstance位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
previousItem(obj) TextVariableInstance一つ前のオブジェクトを返す
obj TextVariableInstance位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す

TextVariableInstance

テキスト変数のインスタンス

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

Ver.プロパティR/O
[7][7.5][8][9]
[10][11][12]
parent XmlStory, TextFrame, Story, Note, Cell, Footnote, Change

[13]
parent XmlStory, TextFrame, EndnoteTextFrame, Story, Note, Cell, Footnote, Change
[7][7.5][8][9]
[10][11][12][13]
eventListeners EventListeners
[7][7.5][8][9]
[10][11][12][13]
events Events

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
associatedTextVariable TextVariableThe associated text variable.
[7][7.5][8][9]
[10][11][12][13]
id 数値オブジェクトのID
[7][7.5][8][9]
[10][11][12][13]
index 数値インデックス
[7][7.5][8][9]
[10][11][12][13]
isValid 真偽値オブジェクトが有効かどうか
[7][7.5][8][9]
[10][11][12][13]
label 文字列値スクリプトラベル
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前
[7][7.5][8][9]
[10][11][12][13]
properties Object
[7][7.5][8][9]
[10][11][12][13]
resultText 文字列値The text that replaces the variable marker. Note: This property cannot be set; it can be used only to update variables. .
[7][7.5][8][9]
[10][11][12][13]
storyOffset InsertionPointThe insertion point before the table in the story containing the table.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
convertToText() Textテキストに変換
[7][7.5][8][9]
[10][11][12][13]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[7][7.5][8][9]
[10][11][12][13]
getElements() Array( TextVariableInstance )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[7][7.5][8][9]
[10][11][12][13]
remove() なし削除
[7][7.5][8][9]
[10][11][12][13]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.