Adobe InCopy CS6 (8.0) Object Model JS: NestedLineStyles

InCopy CS6

Class

NestedLineStyles

 A collection of nested line styles.

See also NestedLineStyle.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

NestedLineStyle [] (index: number)
Returns the NestedLineStyle with the specified index.

ParameterTypeDescription
indexnumberThe index.

NestedLineStyle add ([withProperties: Object])
Creates a new NestedLineStyle.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new NestedLineStyle (Optional)

NestedLineStyle anyItem ()
Returns any NestedLineStyle in the collection.

number count ()
Displays the number of elements in the NestedLineStyle.

Array of NestedLineStyle everyItem ()
Returns every NestedLineStyle in the collection.

NestedLineStyle firstItem ()
Returns the first NestedLineStyle in the collection.

NestedLineStyle item (index: varies)
Returns the NestedLineStyle with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Array of NestedLineStyle itemByRange (from: varies, to: varies)
Returns the NestedLineStyles within the specified range.

ParameterTypeDescription
fromLong Integer
NestedLineStyle
String
The NestedLineStyle, index, or name at the beginning of the range. Can accept: NestedLineStyle, Long Integer or String.
toLong Integer
NestedLineStyle
String
The NestedLineStyle, index, or name at the end of the range. Can accept: NestedLineStyle, Long Integer or String.

NestedLineStyle lastItem ()
Returns the last NestedLineStyle in the collection.

NestedLineStyle middleItem ()
Returns the middle NestedLineStyle in the collection.

NestedLineStyle nextItem (obj: NestedLineStyle)
Returns the NestedLineStyle whose index follows the specified NestedLineStyle in the collection.

ParameterTypeDescription
objNestedLineStyleThe NestedLineStyle whose index comes before the desired NestedLineStyle.

NestedLineStyle previousItem (obj: NestedLineStyle)
Returns the NestedLineStyle with the index previous to the specified index.

ParameterTypeDescription
objNestedLineStyleThe index of the NestedLineStyle that follows the desired NestedLineStyle.

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

Element of

Character.nestedLineStyles

InsertionPoint.nestedLineStyles

Line.nestedLineStyles

Paragraph.nestedLineStyles

ParagraphStyle.nestedLineStyles

Story.nestedLineStyles

Text.nestedLineStyles

TextColumn.nestedLineStyles

TextDefault.nestedLineStyles

TextStyleRange.nestedLineStyles

Word.nestedLineStyles

XmlStory.nestedLineStyles

Jongware, 29-Apr-2012 v3.0.3iContents :: Index