Adobe InDesign CS5 (7.0) Object Model JS: NestedLineStyle

InDesign CS5

Class

NestedLineStyle

 A nested line style.

QuickLinks

addEventListener, getElements, remove, removeEventListener, toSource, toSpecifier

Hierarchy

Character | InsertionPoint | Line | Paragraph | ParagraphStyle | Story | Text | TextColumn | TextDefault | TextStyleRange | Word | XmlStory
NestedLineStyle
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
appliedCharacterStyleCharacterStyleString r/wThe character style applied to the text. Can also accept: String.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
indexnumber readonlyThe index of the NestedLineStyle within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
lineCountnumber r/wThe number lines to which to apply the nested style.
parentCharacter
InsertionPoint
Line
Paragraph
ParagraphStyle
Story
Text
TextColumn
TextDefault
TextStyleRange
Word
XmlStory
readonlyThe parent of the NestedLineStyle (a TextDefault, Paragraph, ParagraphStyle, Text, InsertionPoint, TextStyleRange, TextColumn, Line, Word, Character, Story or XmlStory).
propertiesObject r/wA property that allows setting of several properties at the same time.
repeatLastnumber r/wThe number line-style rules to back up.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

void remove ()
Deletes the NestedLineStyle.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Event.parent

EventListener.parent

MutationEvent.parent

Used in:

NestedLineStyle NestedLineStyles.nextItem (obj: NestedLineStyle)

NestedLineStyle NestedLineStyles.previousItem (obj: NestedLineStyle)

Return

Array of NestedLineStyle NestedLineStyle.getElements ()

NestedLineStyle NestedLineStyles.[] (index: number)

NestedLineStyle NestedLineStyles.add ([withProperties: Object])

NestedLineStyle NestedLineStyles.anyItem ()

Array of NestedLineStyle NestedLineStyles.everyItem ()

NestedLineStyle NestedLineStyles.firstItem ()

NestedLineStyle NestedLineStyles.item (index: varies)

Array of NestedLineStyle NestedLineStyles.itemByRange (from: varies, to: varies)

NestedLineStyle NestedLineStyles.lastItem ()

NestedLineStyle NestedLineStyles.middleItem ()

NestedLineStyle NestedLineStyles.nextItem (obj: NestedLineStyle)

NestedLineStyle NestedLineStyles.previousItem (obj: NestedLineStyle)

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