A nested style.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| appliedCharacterStyle | CharacterStyle | r/w | The character style applied to the NestedStyle. Can also accept: String. |
| delimiter | any | r/w | The delimiting expression that indicates how deeply into the paragraph the nested style is applied. Can return: String or NestedStyleDelimiters enumerator. |
| inclusive | bool | r/w | If true, the nested style is applied through the last delimiter. If false, the nested style is applied up to the last delimiter. |
| index | number | readonly | The index of the NestedStyle within its containing object. |
| parent | any | readonly | The parent of the NestedStyle (a TextDefault, Paragraph, ParagraphStyle, Text, Character, Word, Line, TextColumn, TextStyleRange, InsertionPoint or Story). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| repetition | number | r/w | The number instances of the specified delimiter up to which, or through which, to apply the nested style. |
Methods
Array of NestedStylegetElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the NestedStyle.
string toSource ()
Generates a string which, if executed, will return the NestedStyle.
string toSpecifier ()
Retrieves the object specifier.
Used in:
NestedStyles.previousItem (
obj:
NestedStyle )
NestedStyles.nextItem (
obj:
NestedStyle )
Returned by:
Array of NestedStyle NestedStyle .getElements (
)
NestedStyle NestedStyles.add (
[withProperties:
Object]
)
NestedStyle NestedStyles.anyItem (
)
Array of NestedStyle NestedStyles.everyItem (
)
NestedStyle NestedStyles.firstItem (
)
NestedStyle NestedStyles.item (
index:
any
)
NestedStyle NestedStyles.itemByName (
name:
string
)
Array of NestedStyle NestedStyles.itemByRange (
from:
any, to:
any
)
NestedStyle NestedStyles.lastItem (
)
NestedStyle NestedStyles.middleItem (
)
NestedStyle NestedStyles.nextItem (
obj:
NestedStyle
)
NestedStyle NestedStyles.previousItem (
obj:
NestedStyle
)