ParagraphStyleGroups
A collection of paragraph style groups.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
ParagraphStyleGroup [] (index:Number)
Returns the ParagraphStyleGroup with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
ParagraphStyleGroup add (withProperties:Object)
Creates a new ParagraphStyleGroup.
Parameter |
Type |
Description |
---|---|---|
withProperties |
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 |
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 |
The ID. |
ParagraphStyleGroup itemByName (name:String)
Returns the ParagraphStyleGroup with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
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 |
The ParagraphStyleGroup, index, or name at the beginning of the range. Can accept: ParagraphStyleGroup, Long Integer or String. |
to |
LongInteger |
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 |
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 |
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