テキスト変数のインスタンス
Ver. | プロパティ名 | 値 | 説明 |
---|---|---|---|
□□■□ | Parent | XmlStory, TextFrame, Story, Note, Cell, Footnote, Table, TextColumn, TextStyleRange, Text, Paragraph, Line, Word, Character, InsertionPoint | 親のオブジェクト |
□□□■ | Parent | XmlStory, TextFrame, Story, Note, Cell, Footnote, Change | 親のオブジェクト |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
□□■■ | AssociatedTextVariable | TextVariable | The associated text variable. | |
□□■■ | Id | ○ | Long型 | オブジェクトのID |
□□■■ | Index | ○ | Long型 | インデックス |
□□■■ | Label | String型 | スクリプトラベル | |
□□■■ | Name | ○ | String型 | 既定値。オブジェクトの名前を返す |
□□■■ | ResultText | ○ | String型 | The text that replaces the variable marker. |
□□■■ | StoryOffset | ○ | InsertionPoint | The location of the ^Object in the parent story. |
Ver. | メソッド名/パラメータ | 戻り値/パラメータの値 | 説明 | |
---|---|---|---|---|
□□■■ | ConvertToText | Text | テキストに変換 | |
□□■■ | Delete | オブジェクトを削除 | ||
□□■■ | ExtractLabel | String型 | キーに関連づけられたラベルを取得 | |
Key | String型 | キー | ||
□□■■ | InsertLabel | キーに関連づけられたラベルを設定 | ||
Key | String型 | キー | ||
Value | String型 | ラベルの値 |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
□□■■ | Count | ○ | Long型 | オブジェクト数 |
□□■■ | Item(Index) | ○ | Object | 既定値、省略可。IndexまたはName(なければLabel)で指定されたオブジェクトを返す |
Ver. | メソッド名/パラメータ | 戻り値/パラメータの値 | 説明 | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
□□■■ | Add | TextVariableInstance | 新しいオブジェクトを作成し、それを返す | |||||||||||||||||||||||||||||
[To] | idLocationOptions
|
|||||||||||||||||||||||||||||||
[Reference] | TextVariableInstance, XmlStory, TextFrame, Story, Note, Cell, Footnote, Table, TextColumn, TextStyleRange, Text, Paragraph, Line, Word, Character, InsertionPoint | 位置の基準になるオブジェクト | ||||||||||||||||||||||||||||||
□□■■ | AnyItem | Object | 各オブジェクトを返す | |||||||||||||||||||||||||||||
□□■■ | FirstItem | Object | 最初のオブジェクトを返す | |||||||||||||||||||||||||||||
□□■■ | ItemByID | Object | IDで指定したオブジェクトを返す | |||||||||||||||||||||||||||||
Id | Long型 | オブジェクトのID | ||||||||||||||||||||||||||||||
□□■■ | ItemByRange | Objects | 範囲で指定したオブジェクトを返す | |||||||||||||||||||||||||||||
From | Object, Long型, String型 | 範囲の開始 | ||||||||||||||||||||||||||||||
To | Object, Long型, String型 | 範囲の終了 | ||||||||||||||||||||||||||||||
□□■■ | LastItem | Object | 最後のオブジェクトを返す | |||||||||||||||||||||||||||||
□□■■ | MiddleItem | Object | middle objectを返す | |||||||||||||||||||||||||||||
□□■■ | NextItem | Object | 一つ後のオブジェクトを返す | |||||||||||||||||||||||||||||
Obj | Object | 位置の基準になるオブジェクト | ||||||||||||||||||||||||||||||
□□■■ | PreviousItem | Object | 一つ前のオブジェクトを返す | |||||||||||||||||||||||||||||
Obj | Object | 位置の基準になるオブジェクト |