A nested style.
Go to Property Listing | Method Listing
addEventListener, getElements, remove, removeEventListener, toSource, toSpecifier
Boolean, CharacterStyle, EventListeners, Events, NestedStyleDelimiters, Number, Object, String,
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The character style applied to the text. Can also accept: String. |
||
read/write |
The delimiting expression that indicates how deeply into the paragraph the nested style is applied. Can return: String or NestedStyleDelimiters enumerator. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
If true, the nested style is applied through the last delimiter. If false, the nested style is applied up to the last delimiter. |
||
readonly |
The index of the NestedStyle within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The parent of the NestedStyle (a TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story or XmlStory). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The number instances of the specified delimiter up to which, or through which, to apply the nested style. |
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
NestedStyle getElements ()
Resolves the object specifier, creating an array of object references.
undefined remove ()
Deletes the NestedStyle.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the NestedStyle.
String toSpecifier ()
Retrieves the object specifier.