ParagraphStyleGroups

A collection of paragraph style groups.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

ParagraphStyleGroup [] (index:Number)

Returns the ParagraphStyleGroup with the specified index.

Parameter

Type

Description

index

Number

The index.

ParagraphStyleGroup add (withProperties:Object)

Creates a new ParagraphStyleGroup.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new ParagraphStyleGroup (Optional)

ParagraphStyleGroup anyItem ()

Returns any ParagraphStyleGroup in the collection.

Number count ()

Displays the number of elements in the ParagraphStyleGroup.

ParagraphStyleGroup everyItem ()

Returns every ParagraphStyleGroup in the collection.

ParagraphStyleGroup firstItem ()

Returns the first ParagraphStyleGroup in the collection.

ParagraphStyleGroup item (index:Varies LongInteger String)

Returns the ParagraphStyleGroup with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

ParagraphStyleGroup itemByID (id:Number)

Returns the ParagraphStyleGroup with the specified ID.

Parameter

Type

Description

id

Number

The ID.

ParagraphStyleGroup itemByName (name:String)

Returns the ParagraphStyleGroup with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the ParagraphStyleGroups within the specified range.

Parameter

Type

Description

from

LongInteger

ParagraphStyleGroup

String

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

to

LongInteger

ParagraphStyleGroup

String

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

ParagraphStyleGroup lastItem ()

Returns the last ParagraphStyleGroup in the collection.

ParagraphStyleGroup middleItem ()

Returns the middle ParagraphStyleGroup in the collection.

ParagraphStyleGroup nextItem (obj:ParagraphStyleGroup)

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

Parameter

Type

Description

obj

ParagraphStyleGroup

The ParagraphStyleGroup whose index comes before the desired ParagraphStyleGroup.

ParagraphStyleGroup previousItem (obj:ParagraphStyleGroup)

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

Parameter

Type

Description

obj

ParagraphStyleGroup

The index of the ParagraphStyleGroup that follows the desired ParagraphStyleGroup.

String toSource ()

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

Object of

Application.paragraphStyleGroups

Document.paragraphStyleGroups

ParagraphStyleGroup.paragraphStyleGroups