NestedStyle
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
appliedCharacterStyle | CharacterStyleString | r/w | The character style applied to the text. Can also accept: String. |
delimiter | NestedStyleDelimiters String |
r/w | The delimiting expression that indicates how deeply into the paragraph the nested style is applied. Can return: String or NestedStyleDelimiters enumerator. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
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. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Character InsertionPoint Line Paragraph ParagraphStyle Story Text TextColumn TextDefault TextStyleRange Word XmlStory |
readonly | The parent of the NestedStyle (a TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story or XmlStory). |
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
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of NestedStyle getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the NestedStyle.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the NestedStyle.
Used in:
NestedStyle NestedStyles.nextItem (obj: NestedStyle)
NestedStyle NestedStyles.previousItem (obj: NestedStyle)
Return
Array of NestedStyle NestedStyle.getElements ()
NestedStyle NestedStyles.[] (index: number)
NestedStyle NestedStyles.add ([withProperties: Object])
NestedStyle NestedStyles.anyItem ()
Array of NestedStyle NestedStyles.everyItem ()
NestedStyle NestedStyles.firstItem ()
NestedStyle NestedStyles.item (index: varies)
Array of NestedStyle NestedStyles.itemByRange (from: varies, to: varies)
NestedStyle NestedStyles.lastItem ()
NestedStyle NestedStyles.middleItem ()
NestedStyle NestedStyles.nextItem (obj: NestedStyle)
NestedStyle NestedStyles.previousItem (obj: NestedStyle)
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |