TextVariables

TextVariable(テキスト変数)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
add([withProperties]) TextVariable新しいオブジェクトを作成し、それを返す
[withProperties] Objectプロパティを設定
[12][13][14][15]
[16][17][18][19]
anyItem() TextVariableどれかのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
count() 数値要素数を返す
[12][13][14][15]
[16][17][18][19]
everyItem() Array( TextVariable )全てのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
firstItem() TextVariable最初のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
item(index) TextVariableインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[12][13][14][15]
[16][17][18][19]
itemByName(name) TextVariable名前で指定したオブジェクトを返す
name 文字列値
[12][13][14][15]
[16][17][18][19]
itemByRange(from, to) Array( TextVariable )範囲で指定したオブジェクトを返す
from TextVariable, 数値, 文字列値範囲の開始
to TextVariable, 数値, 文字列値範囲の終了
[12][13][14][15]
[16][17][18][19]
lastItem() TextVariable最後のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
middleItem() TextVariable真ん中のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
nextItem(obj) TextVariable一つ後のオブジェクトを返す
obj TextVariable位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
previousItem(obj) TextVariable一つ前のオブジェクトを返す
obj TextVariable位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す

TextVariable

テキスト変数

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

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Application, Document
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events
[12][13][14][15]
[16][17][18][19]
preferences Preferences
[12][13][14][15]
[16][17][18][19]
variableOptions PageNumberVariablePreference, ChapterNumberVariablePreference, DateVariablePreference, FileNameVariablePreference, MatchCharacterStylePreference, MatchParagraphStylePreference, CustomTextVariablePreference, CaptionMetadataVariablePreference

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
associatedInstances Array( TextVariableInstance )Variable instances associated with the text variable.
[12][13][14][15]
[16][17][18][19]
index 数値インデックス
[12][13][14][15]
[16][17][18][19]
isValid 真偽値オブジェクトが有効かどうか
[12][13][14][15]
[16][17][18][19]
name 文字列値オブジェクトの名前
[12][13][14][15]
[16][17][18][19]
properties Object
[12][13][14][15]
[16][17][18][19]
variableType VariableTypesテキスト変数のタイプ

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[12][13][14][15]
[16][17][18][19]
convertToText() Array( Text )全てのインスタンスをテキストに変換
[12][13][14][15]
[16][17][18][19]
getElements() Array( TextVariable )オブジェクト参照を返す
[12][13][14][15]
[16][17][18][19]
remove() なし削除
[12][13][14][15]
[16][17][18][19]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す
[12][13][14][15]
[16][17][18][19]
toSpecifier() 文字列値Retrieves the object specifier.