NestedStyle

A nested style.

Methods:

getElements, remove, toSource, toSpecifier

Objects:

Boolean, CharacterStyle, NestedStyleDelimiters, Number, Object, String,

Property Listing

Property

Type

Access

Description

appliedCharacterStyle

CharacterStyle

String

read/write

The character style applied to the text. Can also accept: String.

delimiter

String

NestedStyleDelimiters

NestedStyleDelimiters.ANY_CHARACTER

NestedStyleDelimiters.ANY_WORD

NestedStyleDelimiters.AUTO_PAGE_NUMBER

NestedStyleDelimiters.DIGITS

NestedStyleDelimiters.DROPCAP

NestedStyleDelimiters.EM_SPACE

NestedStyleDelimiters.END_NESTED_STYLE

NestedStyleDelimiters.EN_SPACE

NestedStyleDelimiters.FORCED_LINE_BREAK

NestedStyleDelimiters.INDENT_HERE_TAB

NestedStyleDelimiters.INLINE_GRAPHIC

NestedStyleDelimiters.LETTERS

NestedStyleDelimiters.NONBREAKING_SPACE

NestedStyleDelimiters.REPEAT

NestedStyleDelimiters.SECTION_MARKER

NestedStyleDelimiters.SENTENCE

NestedStyleDelimiters.TABS

read/write

The delimiting expression that indicates how deeply into the paragraph the nested style is applied. Can return: String or NestedStyleDelimiters enumerator.

inclusive

Boolean

read/write

If true, the nested style is applied through the last delimiter. If false, the nested style is applied up to the last delimiter.

index

Number

readonly

The index of the NestedStyle within its containing object.

parent

Character

InsertionPoint

Line

Paragraph

ParagraphStyle

Text

TextColumn

TextStyleRange

Word

Story

TextDefault

readonly

The parent of the NestedStyle (a TextDefault, Paragraph, ParagraphStyle, Text, Character, Word, Line, TextColumn, TextStyleRange, InsertionPoint or Story).

properties

Object

read/write

A property that allows setting of several properties at the same time.

repetition

Number

read/write

The number instances of the specified delimiter up to which, or through which, to apply the nested style.

Method Listing

NestedStyle getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove ()

Deletes the NestedStyle.

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Return

NestedStyles.add()

NestedStyle.getElements()

NestedStyles.anyItem()

NestedStyles.everyItem()

NestedStyles.nextItem()

NestedStyles.previousItem()

NestedStyles.item()

NestedStyles.itemByName()

NestedStyles.itemByRange()

NestedStyles.firstItem()

NestedStyles.lastItem()

NestedStyles.middleItem()