テキスト変数
Ver. | プロパティ名 | 値 | 説明 |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
parent | Application, Document | |
![]() ![]() ![]() ![]() ![]() ![]() |
eventListeners | EventListeners | |
![]() ![]() ![]() ![]() ![]() ![]() |
events | Events | イベント |
![]() ![]() ![]() ![]() ![]() ![]() |
preferences | Preferences |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
associatedInstances | ○ | Array( TextVariableInstance ) | Variable instances associated with the text variable. |
![]() ![]() ![]() ![]() ![]() ![]() |
index | ○ | 数値型 | インデックス |
![]() ![]() ![]() ![]() ![]() ![]() |
isValid | ○ | ブール型 | |
![]() ![]() ![]() ![]() ![]() ![]() |
name | 文字列型 | オブジェクトの名前 | |
![]() ![]() ![]() ![]() ![]() ![]() |
variableOptions | ○ | PageNumberVariablePreference, ChapterNumberVariablePreference, DateVariablePreference, FileNameVariablePreference, MatchCharacterStylePreference, MatchParagraphStylePreference, CustomTextVariablePreference | The preferences associated with the text variable. |
![]() ![]() ![]() ![]() ![]() ![]() |
variableType | VariableTypes | テキスト変数のタイプ |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | ||
eventType | 文字列型 | ||||
handler | File型, JavaScript関数 | ||||
[captures] | ブール型(既定値=false) | This parameter is obsolete. | |||
![]() ![]() ![]() ![]() ![]() ![]() |
convertToText() | TextVariable | 全てのインスタンスをテキストに変換 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
convertToText() | Text | テキストに変換 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
getElements() | TextVariable | |||
![]() ![]() ![]() ![]() ![]() ![]() |
remove() | なし | 削除 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 | ||
eventType | 文字列型 | ||||
handler | File型, JavaScript関数 | ||||
[captures] | ブール型(既定値=false) | This parameter is obsolete. | |||
![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列型 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
toSpecifier() | 文字列型 |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
length | ○ | 数値型 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
add([withProperties]) | TextVariable | 新しいオブジェクトを作成し、それを返す | ||
[withProperties] | Object | プロパティの初期値を設定 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
anyItem() | TextVariable | |||
![]() ![]() ![]() ![]() ![]() ![]() |
count() | 数値型 | 要素数を返す | ||
![]() ![]() ![]() ![]() ![]() ![]() |
everyItem() | TextVariable | |||
![]() ![]() ![]() ![]() ![]() ![]() |
firstItem() | TextVariable | 最初のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() |
item(index) | TextVariable | インデックスまたは名前で指定したオブジェクトを返す | ||
index | 数値型, 文字列型 | 番号もしくは名前 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
itemByName(name) | TextVariable | 名前で指定したオブジェクトを返す | ||
name | 文字列型 | 名前 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
itemByRange(from, to) | TextVariable | 範囲で指定したオブジェクトを返す | ||
from | TextVariable, 数値型, 文字列型 | 範囲の開始 | |||
to | TextVariable, 数値型, 文字列型 | 範囲の終了 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
lastItem() | TextVariable | 最後のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() |
middleItem() | TextVariable | |||
![]() ![]() ![]() ![]() ![]() ![]() |
nextItem(obj) | TextVariable | 一つ後のオブジェクトを返す | ||
obj | TextVariable | 位置の基準になるオブジェクト | |||
![]() ![]() ![]() ![]() ![]() ![]() |
previousItem(obj) | TextVariable | 一つ前のオブジェクトを返す | ||
obj | TextVariable | 位置の基準になるオブジェクト | |||
![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列型 |