InsertionPoints

A collection of insertion points.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

InsertionPoint [] (index:Number)

Returns the InsertionPoint with the specified index.

Parameter

Type

Description

index

Number

The index.

InsertionPoint anyItem ()

Returns any InsertionPoint in the collection.

Number count ()

Displays the number of elements in the InsertionPoint.

InsertionPoint everyItem ()

Returns every InsertionPoint in the collection.

InsertionPoint firstItem ()

Returns the first InsertionPoint in the collection.

InsertionPoint item (index:Varies LongInteger String)

Returns the InsertionPoint with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

InsertionPoint itemByRange (from:Varies InsertionPoint LongInteger String, to:Varies InsertionPoint LongInteger String)

Returns the InsertionPoints within the specified range.

Parameter

Type

Description

from

InsertionPoint

LongInteger

String

The InsertionPoint, index, or name at the beginning of the range. Can accept: InsertionPoint, Long Integer or String.

to

InsertionPoint

LongInteger

String

The InsertionPoint, index, or name at the end of the range. Can accept: InsertionPoint, Long Integer or String.

InsertionPoint lastItem ()

Returns the last InsertionPoint in the collection.

InsertionPoint middleItem ()

Returns the middle InsertionPoint in the collection.

InsertionPoint nextItem (obj:InsertionPoint)

Returns the InsertionPoint whose index follows the specified InsertionPoint in the collection.

Parameter

Type

Description

obj

InsertionPoint

The InsertionPoint whose index comes before the desired InsertionPoint.

InsertionPoint previousItem (obj:InsertionPoint)

Returns the InsertionPoint with the index previous to the specified index.

Parameter

Type

Description

obj

InsertionPoint

The index of the InsertionPoint that follows the desired InsertionPoint.

String toSource ()

Generates a string which, if executed, will return the InsertionPoint.

Object of

Cell.insertionPoints

Text.insertionPoints

Character.insertionPoints

Word.insertionPoints

Line.insertionPoints

TextColumn.insertionPoints

Paragraph.insertionPoints

TextStyleRange.insertionPoints

InsertionPoint.insertionPoints

TextFrame.insertionPoints

Story.insertionPoints

Endnote.insertionPoints

EndnoteTextFrame.insertionPoints

Change.insertionPoints

TextPath.insertionPoints

Note.insertionPoints

Footnote.insertionPoints

HiddenText.insertionPoints

XMLElement.insertionPoints

XmlStory.insertionPoints