A collection of paragraph style groups.
Methods
ParagraphStyleGroupadd ([withProperties:
Object])
Creates a new ParagraphStyleGroup.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new ParagraphStyleGroup (Optional) |
ParagraphStyleGroupanyItem ()
Returns any ParagraphStyleGroup in the collection.
number count ()
Displays the number of elements in the ParagraphStyleGroup.
Array of ParagraphStyleGroupeveryItem ()
Returns every ParagraphStyleGroup in the collection.
ParagraphStyleGroupfirstItem ()
Returns the first ParagraphStyleGroup in the collection.
ParagraphStyleGroupitem (index:
any)
Returns the ParagraphStyleGroup with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
ParagraphStyleGroupitemByID (id:
number)
Returns the ParagraphStyleGroup with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
ParagraphStyleGroupitemByName (name:
string)
Returns the ParagraphStyleGroup with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of ParagraphStyleGroupitemByRange (from:
any, to:
any)
Returns the ParagraphStyleGroups within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | ParagraphStyleGroup Long Integer String |
The ParagraphStyleGroup, index, or name at the beginning of the range. Can accept: ParagraphStyleGroup, Long Integer or String. |
| to | ParagraphStyleGroup Long Integer String |
The ParagraphStyleGroup, index, or name at the end of the range. Can accept: ParagraphStyleGroup, Long Integer or String. |
ParagraphStyleGrouplastItem ()
Returns the last ParagraphStyleGroup in the collection.
ParagraphStyleGroupmiddleItem ()
Returns the middle ParagraphStyleGroup in the collection.
ParagraphStyleGroupnextItem (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. |
ParagraphStyleGrouppreviousItem (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.
Element of:
Application.paragraphStyleGroups
Document.paragraphStyleGroups
ParagraphStyleGroup.paragraphStyleGroups