Paragraphs
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Paragraph anyItem ()
Returns any Paragraph in the collection.
number count ()
Displays the number of elements in the Paragraph.
Array
of Paragraph everyItem ()
Returns every Paragraph in the collection.
Paragraph firstItem ()
Returns the first Paragraph in the collection.
Paragraph item (index:
any)
Returns the Paragraph with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long String | The index or name. Can accept: Long or String. |
Paragraph itemByName (name:
string)
Returns the Paragraph with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of Paragraph itemByRange (from:
any, to:
any)
Returns the Paragraphs within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Paragraph String | The Paragraph, index, or name at the beginning of the range. Can accept: Paragraph, Long or String. |
to | Long Paragraph String | The Paragraph, index, or name at the end of the range. Can accept: Paragraph, Long or String. |
Paragraph lastItem ()
Returns the last Paragraph in the collection.
Paragraph middleItem ()
Returns the middle Paragraph in the collection.
Paragraph nextItem (obj:
Paragraph)
Returns the Paragraph whose index follows the specified Paragraph in the collection.
Parameter | Type | Description |
---|---|---|
obj | Paragraph | The Paragraph whose index comes before the desired Paragraph. |
Paragraph previousItem (obj:
Paragraph)
Returns the Paragraph with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | Paragraph | The index of the Paragraph that follows the desired Paragraph. |
string toSource ()
Generates a string which, if executed, will return the Paragraph.
Element of
Cell.paragraphs
Character.paragraphs
Footnote.paragraphs
InsertionPoint.paragraphs
Line.paragraphs
Note.paragraphs
Paragraph.paragraphs
Story.paragraphs
Text.paragraphs
TextColumn.paragraphs
TextFrame.paragraphs
TextPath.paragraphs
TextStyleRange.paragraphs
Word.paragraphs
XMLElement.paragraphs
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |