A nested style.
Go to Property Listing | Method Listing
remove, toSource, getElements, toSpecifier, addEventListener, removeEventListener
Boolean, Character, CharacterStyle, EventListeners, Events, InsertionPoint, Line, NestedStyleDelimiters, Number, Object, Paragraph, ParagraphStyle, Story, String, Text, TextColumn, TextDefault, TextStyleRange, Word, XmlStory,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
appliedCharacterStyle |
read/write |
The character style applied to the text. Can also accept: String. |
|
|
delimiter |
NestedStyleDelimiters.SENTENCE NestedStyleDelimiters.ANY_WORD NestedStyleDelimiters.ANY_CHARACTER NestedStyleDelimiters.LETTERS NestedStyleDelimiters.DIGITS NestedStyleDelimiters.TABS NestedStyleDelimiters.INLINE_GRAPHIC NestedStyleDelimiters.DROPCAP NestedStyleDelimiters.FORCED_LINE_BREAK NestedStyleDelimiters.END_NESTED_STYLE NestedStyleDelimiters.INDENT_HERE_TAB NestedStyleDelimiters.EM_SPACE NestedStyleDelimiters.EN_SPACE NestedStyleDelimiters.NONBREAKING_SPACE NestedStyleDelimiters.AUTO_PAGE_NUMBER NestedStyleDelimiters.SECTION_MARKER NestedStyleDelimiters.REPEAT |
read/write |
The delimiting expression that indicates how deeply into the paragraph the nested style is applied. Can return: String or NestedStyleDelimiters enumerator. |
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
inclusive |
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. |
|
|
index |
readonly |
The index of the NestedStyle within its containing object. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
parent |
readonly |
The parent of the NestedStyle (a TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story or XmlStory). |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
repetition |
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, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
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, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
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.