NestedGrepStyles

A collection of nested GREP styles.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

NestedGrepStyle [] (index:Number)

Returns the NestedGrepStyle with the specified index.

Parameter

Type

Description

index

Number

The index.

NestedGrepStyle add (withProperties:Object)

Creates a new NestedGrepStyle.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new NestedGrepStyle (Optional)

NestedGrepStyle anyItem ()

Returns any NestedGrepStyle in the collection.

Number count ()

Displays the number of elements in the NestedGrepStyle.

NestedGrepStyle everyItem ()

Returns every NestedGrepStyle in the collection.

NestedGrepStyle firstItem ()

Returns the first NestedGrepStyle in the collection.

NestedGrepStyle item (index:Varies LongInteger String)

Returns the NestedGrepStyle with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

NestedGrepStyle itemByRange (from:Varies LongInteger NestedGrepStyle String, to:Varies LongInteger NestedGrepStyle String)

Returns the NestedGrepStyles within the specified range.

Parameter

Type

Description

from

LongInteger

NestedGrepStyle

String

The NestedGrepStyle, index, or name at the beginning of the range. Can accept: NestedGrepStyle, Long Integer or String.

to

LongInteger

NestedGrepStyle

String

The NestedGrepStyle, index, or name at the end of the range. Can accept: NestedGrepStyle, Long Integer or String.

NestedGrepStyle lastItem ()

Returns the last NestedGrepStyle in the collection.

NestedGrepStyle middleItem ()

Returns the middle NestedGrepStyle in the collection.

NestedGrepStyle nextItem (obj:NestedGrepStyle)

Returns the NestedGrepStyle whose index follows the specified NestedGrepStyle in the collection.

Parameter

Type

Description

obj

NestedGrepStyle

The NestedGrepStyle whose index comes before the desired NestedGrepStyle.

NestedGrepStyle previousItem (obj:NestedGrepStyle)

Returns the NestedGrepStyle with the index previous to the specified index.

Parameter

Type

Description

obj

NestedGrepStyle

The index of the NestedGrepStyle that follows the desired NestedGrepStyle.

String toSource ()

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

Object of

TextDefault.nestedGrepStyles

Text.nestedGrepStyles

Character.nestedGrepStyles

Word.nestedGrepStyles

Line.nestedGrepStyles

TextColumn.nestedGrepStyles

Paragraph.nestedGrepStyles

TextStyleRange.nestedGrepStyles

InsertionPoint.nestedGrepStyles

Story.nestedGrepStyles

ParagraphStyle.nestedGrepStyles

XmlStory.nestedGrepStyles