TabStop
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
alignment | TabStopAlignment: TabStopAlignment.LEFT_ALIGN TabStopAlignment.CENTER_ALIGN TabStopAlignment.RIGHT_ALIGN TabStopAlignment.CHARACTER_ALIGN |
r/w | The tab stop alignment. |
alignmentCharacter | string | r/w | The tab stop alignment character. Note: Valid when alignment is character align. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
index | number | readonly | The index of the TabStop within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
leader | string | r/w | The tab stop leader. |
parent | Character InsertionPoint Line Paragraph ParagraphStyle Story Text TextColumn TextDefault TextStyleRange Word XmlStory |
readonly | The parent of the TabStop (a TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story or XmlStory). |
position | Measurement Unit (Number or String) | r/w | The position of the tab stop. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of TabStop getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the TabStop.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the TabStop.
Used in:
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: varies)
Array of TabStop TabStops.itemByRange (from: varies, to: varies)
TabStop TabStops.lastItem ()
TabStop TabStops.middleItem ()
TabStop TabStops.nextItem (obj: TabStop)
TabStop TabStops.previousItem (obj: TabStop)
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |