ParagraphStyles
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
ParagraphStyle [] (index:
number)
Returns the ParagraphStyle with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
ParagraphStyle add ([withProperties:
Object])
Creates a new ParagraphStyle.
Parameter | Type | Description |
---|---|---|
withProperties | Object | Initial values for properties of the new ParagraphStyle (Optional) |
ParagraphStyle anyItem ()
Returns any ParagraphStyle in the collection.
number count ()
Displays the number of elements in the ParagraphStyle.
Array of ParagraphStyle everyItem ()
Returns every ParagraphStyle in the collection.
ParagraphStyle firstItem ()
Returns the first ParagraphStyle in the collection.
ParagraphStyle item (index:
varies)
Returns the ParagraphStyle with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
ParagraphStyle itemByID (id:
number)
Returns the ParagraphStyle with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
ParagraphStyle itemByName (name:
string)
Returns the ParagraphStyle with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of ParagraphStyle itemByRange (from:
varies, to:
varies)
Returns the ParagraphStyles within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer ParagraphStyle String | The ParagraphStyle, index, or name at the beginning of the range. Can accept: ParagraphStyle, Long Integer or String. |
to | Long Integer ParagraphStyle String | The ParagraphStyle, index, or name at the end of the range. Can accept: ParagraphStyle, Long Integer or String. |
ParagraphStyle lastItem ()
Returns the last ParagraphStyle in the collection.
ParagraphStyle middleItem ()
Returns the middle ParagraphStyle in the collection.
ParagraphStyle nextItem (obj:
ParagraphStyle)
Returns the ParagraphStyle whose index follows the specified ParagraphStyle in the collection.
Parameter | Type | Description |
---|---|---|
obj | ParagraphStyle | The ParagraphStyle whose index comes before the desired ParagraphStyle. |
ParagraphStyle previousItem (obj:
ParagraphStyle)
Returns the ParagraphStyle with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | ParagraphStyle | The index of the ParagraphStyle that follows the desired ParagraphStyle. |
string toSource ()
Generates a string which, if executed, will return the ParagraphStyle.
Element of
Application.paragraphStyles
Document.paragraphStyles
ParagraphStyleGroup.paragraphStyles
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |