Adobe InDesign CS3 (5.0) Object Model JS: NestedStyle

InDesign CS3

Class

NestedStyle

 A nested style.

QuickLinks

getElements, remove, toSource, toSpecifier

Hierarchy

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

Properties

PropertyTypeAccessDescription
appliedCharacterStyleCharacterStyleString r/wThe character style applied to the text. Can also accept: String.
delimiterNestedStyleDelimiters
String
r/wThe delimiting expression that indicates how deeply into the paragraph the nested style is applied. Can return: String or NestedStyleDelimiters enumerator.
inclusivebool r/wIf true, the nested style is applied through the last delimiter. If false, the nested style is applied up to the last delimiter.
indexnumber readonlyThe index of the NestedStyle within its containing object.
parentCharacter
InsertionPoint
Line
Paragraph
ParagraphStyle
Story
Text
TextColumn
TextDefault
TextStyleRange
Word
readonlyThe parent of the NestedStyle (a TextDefault, Paragraph, ParagraphStyle, Text, Character, Word, Line, TextColumn, TextStyleRange, InsertionPoint or Story).
propertiesObject r/wA property that allows setting of several properties at the same time.
repetitionnumber r/wThe number instances of the specified delimiter up to which, or through which, to apply the nested style.

Methods

Instances

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

void remove ()
Deletes the NestedStyle.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of NestedStyle NestedStyles.itemByRange (from: any, to: any)

NestedStyle NestedStyles.nextItem (obj: NestedStyle)

NestedStyle NestedStyles.previousItem (obj: NestedStyle)

Return

Array of NestedStyle NestedStyle.getElements ()

NestedStyle NestedStyles.add ([withProperties: Object])

NestedStyle NestedStyles.anyItem ()

Array of NestedStyle NestedStyles.everyItem ()

NestedStyle NestedStyles.firstItem ()

NestedStyle NestedStyles.item (index: any)

NestedStyle NestedStyles.itemByName (name: string)

Array of NestedStyle NestedStyles.itemByRange (from: any, to: any)

NestedStyle NestedStyles.lastItem ()

NestedStyle NestedStyles.middleItem ()

NestedStyle NestedStyles.nextItem (obj: NestedStyle)

NestedStyle NestedStyles.previousItem (obj: NestedStyle)

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