NestedGrepStyle
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
appliedCharacterStyle | CharacterStyleString | r/w | The character style applied to the text. Can also accept: String. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
grepExpression | string | r/w | The GREP expression used to apply automatic styling. |
index | number | readonly | The index of the NestedGrepStyle 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 NestedGrepStyle (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. |
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 NestedGrepStyle getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the NestedGrepStyle.
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 NestedGrepStyle.
Element of
Event.parent
EventListener.parent
MutationEvent.parent
Used in:
NestedGrepStyle NestedGrepStyles.nextItem (obj: NestedGrepStyle)
NestedGrepStyle NestedGrepStyles.previousItem (obj: NestedGrepStyle)
Return
Array of NestedGrepStyle NestedGrepStyle.getElements ()
NestedGrepStyle NestedGrepStyles.[] (index: number)
NestedGrepStyle NestedGrepStyles.add ([withProperties: Object])
NestedGrepStyle NestedGrepStyles.anyItem ()
Array of NestedGrepStyle NestedGrepStyles.everyItem ()
NestedGrepStyle NestedGrepStyles.firstItem ()
NestedGrepStyle NestedGrepStyles.item (index: varies)
Array of NestedGrepStyle NestedGrepStyles.itemByRange (from: varies, to: varies)
NestedGrepStyle NestedGrepStyles.lastItem ()
NestedGrepStyle NestedGrepStyles.middleItem ()
NestedGrepStyle NestedGrepStyles.nextItem (obj: NestedGrepStyle)
NestedGrepStyle NestedGrepStyles.previousItem (obj: NestedGrepStyle)
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |