TextVariableInstance(テキスト変数のインスタンス)のコレクション
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
length | ○ | 数値 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
add([to], [reference], [withProperties]) | TextVariableInstance | 新しいオブジェクトを作成し、それを返す | ||||||||||||||||||||||||||||||
[to] |
LocationOptions
| 追加先 (既定値=UNKNOWN) | |||||||||||||||||||||||||||||||
[reference] | TextVariableInstance, XmlStory, TextFrame, Story, Note, Cell, Footnote, Table, TextColumn, TextStyleRange, Text, InsertionPoint, Paragraph, Line, Word, Character, Change | 位置の基準になるオブジェクト | |||||||||||||||||||||||||||||||
[withProperties] | Object | プロパティの初期値を設定 | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
anyItem() | TextVariableInstance | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
count() | 数値 | 要素数を返す | ||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
everyItem() | Array( TextVariableInstance ) | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
firstItem() | TextVariableInstance | 最初のオブジェクトを返す | ||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
item(index) | TextVariableInstance | インデックスまたは名前で指定したオブジェクトを返す | ||||||||||||||||||||||||||||||
index | 数値, 文字列値 | インデックスまたは名前 | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
itemByID(id) | TextVariableInstance | IDで指定したオブジェクトを返す | ||||||||||||||||||||||||||||||
id | 数値 | ||||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
itemByName(name) | TextVariableInstance | 名前で指定したオブジェクトを返す | ||||||||||||||||||||||||||||||
name | 文字列値 | ||||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
itemByRange(from, to) | Array( TextVariableInstance ) | 範囲で指定したオブジェクトを返す | ||||||||||||||||||||||||||||||
from | TextVariableInstance, 数値, 文字列値 | 範囲の開始 | |||||||||||||||||||||||||||||||
to | TextVariableInstance, 数値, 文字列値 | 範囲の終了 | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
lastItem() | TextVariableInstance | 最後のオブジェクトを返す | ||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
middleItem() | TextVariableInstance | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
nextItem(obj) | TextVariableInstance | 一つ後のオブジェクトを返す | ||||||||||||||||||||||||||||||
obj | TextVariableInstance | 位置の基準になるオブジェクト | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
previousItem(obj) | TextVariableInstance | 一つ前のオブジェクトを返す | ||||||||||||||||||||||||||||||
obj | TextVariableInstance | 位置の基準になるオブジェクト | |||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列値 | ソースコードを表示 |
テキスト変数のインスタンス
Ver. | プロパティ | R/O | 値 |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
parent | ○ | XmlStory, TextFrame, Story, Note, Cell, Footnote, Change |
![]() ![]() ![]() ![]() ![]() ![]() |
eventListeners | ○ | EventListeners |
![]() ![]() ![]() ![]() ![]() ![]() |
events | ○ | Events |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
associatedTextVariable | TextVariable | The associated text variable. | |
![]() ![]() ![]() ![]() ![]() ![]() |
id | ○ | 数値 | オブジェクトのID |
![]() ![]() ![]() ![]() ![]() ![]() |
index | ○ | 数値 | インデックス |
![]() ![]() ![]() ![]() ![]() ![]() |
isValid | ○ | 真偽値 | |
![]() ![]() ![]() ![]() ![]() ![]() |
label | 文字列値 | スクリプトラベル | |
![]() ![]() ![]() ![]() ![]() ![]() |
name | ○ | 文字列値 | オブジェクトの名前 |
![]() ![]() ![]() ![]() ![]() ![]() |
properties | Object | ||
![]() ![]() ![]() ![]() ![]() ![]() |
resultText | ○ | 文字列値 | The text that replaces the variable marker. Note: This property cannot be set; it can be used only to update variables. . |
![]() ![]() ![]() ![]() ![]() ![]() |
storyOffset | ○ | InsertionPoint | The insertion point before the table in the story containing the table. |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | ||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | このパラメータは旧式です | |||
![]() ![]() ![]() ![]() ![]() ![]() |
convertToText() | Text | テキストに変換 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
extractLabel(key) | 文字列値 | キーに関連づけられたラベルを取得 | ||
key | 文字列値 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
getElements() | Array( TextVariableInstance ) | Resolves the object specifier, creating an array of object references. | ||
![]() ![]() ![]() ![]() ![]() ![]() |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 | ||
key | 文字列値 | ||||
value | 文字列値 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
remove() | なし | 削除 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | ||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | このパラメータは旧式です | |||
![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列値 | ソースコードを表示 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
toSpecifier() | 文字列値 | Retrieves the object specifier. |