Adobe InDesign CS4 (6.0) Object Model JS: TabStop

InDesign CS4

Class

TabStop

 A tab stop.

QuickLinks

getElements, remove, toSource, toSpecifier

Hierarchy

Character | InsertionPoint | Line | Paragraph | ParagraphStyle | Story | Text | TextColumn | TextDefault | TextStyleRange | Word
TabStop

Properties

PropertyTypeAccessDescription
alignmentTabStopAlignment:
TabStopAlignment.LEFT_ALIGN
TabStopAlignment.CENTER_ALIGN
TabStopAlignment.RIGHT_ALIGN
TabStopAlignment.CHARACTER_ALIGN
r/wThe tab stop alignment.
alignmentCharacterstring r/wThe tab stop alignment character. Note: Valid when alignment is character align.
indexnumber readonlyThe index of the TabStop within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
leaderstring r/wThe tab stop leader.
parentCharacter
InsertionPoint
Line
Paragraph
ParagraphStyle
Story
Text
TextColumn
TextDefault
TextStyleRange
Word
readonlyThe parent of the TabStop (a TextDefault, Paragraph, ParagraphStyle, Text, Character, Word, Line, TextColumn, TextStyleRange, InsertionPoint or Story).
positionMeasurement Unit (Number or String) r/wThe position of the tab stop.
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

Array of TabStop getElements ()
Resolves the object specifier, creating an array of object references.

void remove ()
Deletes the TabStop.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of TabStop TabStops.itemByRange (from: any, to: any)

TabStop TabStops.nextItem (obj: TabStop)

TabStop TabStops.previousItem (obj: TabStop)

Return

Array of TabStop TabStop.getElements ()

TabStop TabStops.[] (index: number)

TabStop TabStops.add ([withProperties: Object])

TabStop TabStops.anyItem ()

Array of TabStop TabStops.everyItem ()

TabStop TabStops.firstItem ()

TabStop TabStops.item (index: any)

TabStop TabStops.itemByName (name: string)

Array of TabStop TabStops.itemByRange (from: any, to: any)

TabStop TabStops.lastItem ()

TabStop TabStops.middleItem ()

TabStop TabStops.nextItem (obj: TabStop)

TabStop TabStops.previousItem (obj: TabStop)

Jongware, 20-Jun-2010 v3.0.3dContents :: Index