TabStops

A collection of tab stops.

Methods:

[], add, 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

TabStop [] (index:Number)

Returns the TabStop with the specified index.

Parameter

Type

Description

index

Number

The index.

TabStop add (withProperties:Object)

Creates a new TabStop.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new TabStop (Optional)

TabStop anyItem ()

Returns any TabStop in the collection.

Number count ()

Displays the number of elements in the TabStop.

TabStop everyItem ()

Returns every TabStop in the collection.

TabStop firstItem ()

Returns the first TabStop in the collection.

TabStop item (index:Varies LongInteger String)

Returns the TabStop with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

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

Returns the TabStops within the specified range.

Parameter

Type

Description

from

LongInteger

TabStop

String

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

to

LongInteger

TabStop

String

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

TabStop lastItem ()

Returns the last TabStop in the collection.

TabStop middleItem ()

Returns the middle TabStop in the collection.

TabStop nextItem (obj:TabStop)

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

Parameter

Type

Description

obj

TabStop

The TabStop whose index comes before the desired TabStop.

TabStop previousItem (obj:TabStop)

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

Parameter

Type

Description

obj

TabStop

The index of the TabStop that follows the desired TabStop.

String toSource ()

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

Object of

TextDefault.tabStops

Text.tabStops

Character.tabStops

Word.tabStops

Line.tabStops

TextColumn.tabStops

Paragraph.tabStops

TextStyleRange.tabStops

InsertionPoint.tabStops

Story.tabStops

ParagraphStyle.tabStops

XmlStory.tabStops