Adobe InDesign CS4 (6.0) Object Model JS: NestedGrepStyle

InDesign CS4

Class

NestedGrepStyle

 A nested GREP style.

QuickLinks

getElements, remove, toSource, toSpecifier

Hierarchy

Character | InsertionPoint | Line | Paragraph | ParagraphStyle | Story | Text | TextColumn | TextDefault | TextStyleRange | Word
NestedGrepStyle

Properties

PropertyTypeAccessDescription
appliedCharacterStyleCharacterStyleString r/wThe character style applied to the text. Can also accept: String.
grepExpressionstring r/wThe GREP expression used to apply automatic styling.
indexnumber readonlyThe index of the NestedGrepStyle within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentCharacter
InsertionPoint
Line
Paragraph
ParagraphStyle
Story
Text
TextColumn
TextDefault
TextStyleRange
Word
readonlyThe parent of the NestedGrepStyle (a TextDefault, Paragraph, ParagraphStyle, Text, Character, Word, Line, TextColumn, TextStyleRange, InsertionPoint or Story).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

Array of NestedGrepStyle getElements ()
Resolves the object specifier, creating an array of object references.

void remove ()
Deletes the NestedGrepStyle.

string toSource ()
Generates a string which, if executed, will return the NestedGrepStyle.

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of NestedGrepStyle NestedGrepStyles.itemByRange (from: any, to: any)

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: any)

NestedGrepStyle NestedGrepStyles.itemByName (name: string)

Array of NestedGrepStyle NestedGrepStyles.itemByRange (from: any, to: any)

NestedGrepStyle NestedGrepStyles.lastItem ()

NestedGrepStyle NestedGrepStyles.middleItem ()

NestedGrepStyle NestedGrepStyles.nextItem (obj: NestedGrepStyle)

NestedGrepStyle NestedGrepStyles.previousItem (obj: NestedGrepStyle)

Jongware, 20-Jun-2010 v3.0.3dContents :: Index