NestedStyles

NestedStyle(先頭文字スタイル)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

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

NestedStyle

先頭文字スタイル

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

Ver.プロパティR/O
[18][19][20][21] parent TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story, XmlStory
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] appliedCharacterStyle CharacterStyle, 文字列値適用される文字スタイル
[18][19][20][21] delimiter 文字列値, NestedStyleDelimitersThe delimiting expression that indicates how deeply into the paragraph the nested style is applied.
[18][19][20][21] inclusive 真偽値If true, the nested style is applied through the last delimiter. If false, the nested style is applied up to the last delimiter.
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] properties Object
[18][19][20][21] repetition 数値The number instances of the specified delimiter up to which, or through which, to apply the nested style.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] getElements() Array( NestedStyle )オブジェクト参照を返す
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.