NestedGrepStyle

A nested GREP style.

Methods:

getElements, remove, toSource, toSpecifier

Objects:

Boolean, CharacterStyle, Number, Object, String,

Property Listing

Property

Type

Access

Description

appliedCharacterStyle

CharacterStyle

String

read/write

The character style applied to the text. Can also accept: String.

grepExpression

String

read/write

The GREP expression used to apply automatic styling.

index

Number

readonly

The index of the NestedGrepStyle within its containing object.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

Character

InsertionPoint

Line

Paragraph

ParagraphStyle

Text

TextColumn

TextStyleRange

Word

Story

TextDefault

readonly

The parent of the NestedGrepStyle (a TextDefault, Paragraph, ParagraphStyle, Text, Character, Word, Line, TextColumn, TextStyleRange, InsertionPoint or Story).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

NestedGrepStyle getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove ()

Deletes the NestedGrepStyle.

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Return

NestedGrepStyles.add()

NestedGrepStyle.getElements()

NestedGrepStyles.anyItem()

NestedGrepStyles.everyItem()

NestedGrepStyles.nextItem()

NestedGrepStyles.previousItem()

NestedGrepStyles.item()

NestedGrepStyles.[]()

NestedGrepStyles.itemByName()

NestedGrepStyles.itemByRange()

NestedGrepStyles.firstItem()

NestedGrepStyles.lastItem()

NestedGrepStyles.middleItem()