NestedStyle(先頭文字スタイル)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| add([withProperties]) | NestedStyle | 新しいオブジェクトを作成し、それを返す | |||
| [withProperties] | Object | プロパティを設定 | |||
| anyItem() | NestedStyle | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | NestedStyle (Array) | 全てのオブジェクトを返す | |||
| firstItem() | NestedStyle | 最初のオブジェクトを返す | |||
| item(index) | NestedStyle | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByRange(from, to) | NestedStyle (Array) | 範囲で指定したオブジェクトを返す | |||
| from | NestedStyle, 数値, 文字列値 | 範囲の開始 | |||
| to | NestedStyle, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | NestedStyle | 最後のオブジェクトを返す | |||
| middleItem() | NestedStyle | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | NestedStyle | 一つ後のオブジェクトを返す | |||
| obj | NestedStyle | 位置の基準になるオブジェクト | |||
| previousItem(obj) | NestedStyle | 一つ前のオブジェクトを返す | |||
| obj | NestedStyle | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
先頭文字スタイル
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story, XmlStory | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| appliedCharacterStyle | CharacterStyle, 文字列値 | 適用される文字スタイル | ||
| delimiter | 文字列値, NestedStyleDelimiters | The delimiting expression that indicates how deeply into the paragraph the nested style is applied. | ||
| inclusive | 真偽値 | If true, the nested style is applied through the last delimiter. If false, the nested style is applied up to the last delimiter. | ||
| index | ○ | 数値 | インデックス | |
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
| properties | Object | |||
| repetition | 数値 | The number instances of the specified delimiter up to which, or through which, to apply the nested style. |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| getElements() | Array( NestedStyle ) | オブジェクト参照を返す | |||
| remove() | なし | 削除 | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||