Paragraphs
A collection of paragraphs.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
Paragraph [] (index:Number)
Returns the Paragraph with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
Paragraph anyItem ()
Returns any Paragraph in the collection.
Number count ()
Displays the number of elements in the Paragraph.
Paragraph everyItem ()
Returns every Paragraph in the collection.
Paragraph firstItem ()
Returns the first Paragraph in the collection.
Paragraph item (index:Varies LongInteger String)
Returns the Paragraph with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Paragraph itemByRange (from:Varies LongInteger Paragraph String, to:Varies LongInteger Paragraph String)
Returns the Paragraphs within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The Paragraph, index, or name at the beginning of the range. Can accept: Paragraph, Long Integer or String. |
to |
LongInteger |
The Paragraph, index, or name at the end of the range. Can accept: Paragraph, Long Integer 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 |
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 |
The index of the Paragraph that follows the desired Paragraph. |
String toSource ()
Generates a string which, if executed, will return the Paragraph.
Object of
Cell.paragraphs
Text.paragraphs
Character.paragraphs
Word.paragraphs
Line.paragraphs
TextColumn.paragraphs
Paragraph.paragraphs
TextStyleRange.paragraphs
InsertionPoint.paragraphs
TextFrame.paragraphs
Story.paragraphs
EndnoteTextFrame.paragraphs
Change.paragraphs
TextPath.paragraphs
Note.paragraphs
Footnote.paragraphs
HiddenText.paragraphs
XMLElement.paragraphs
XmlStory.paragraphs