Adobe InDesign CS5.5 Server (7.5) Object Model JS: SplineItems

InDesign Server CS5.5

Class

SplineItems

 The spline items collection.

See also SplineItem.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

SplineItem anyItem ()
Returns any SplineItem in the collection.

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

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

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

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

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

SplineItem itemByID (id: number)
Returns the SplineItem with the specified ID.

ParameterTypeDescription
idnumberThe ID.

SplineItem itemByName (name: string)
Returns the SplineItem with the specified name.

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objSplineItemThe SplineItem whose index comes before the desired SplineItem.

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

ParameterTypeDescription
objSplineItemThe index of the SplineItem that follows the desired SplineItem.

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

Element of

Button.splineItems

Cell.splineItems

Character.splineItems

Document.splineItems

Footnote.splineItems

GraphicLine.splineItems

Group.splineItems

InsertionPoint.splineItems

Layer.splineItems

Line.splineItems

MasterSpread.splineItems

MultiStateObject.splineItems

Oval.splineItems

Page.splineItems

Paragraph.splineItems

PlaceGun.splineItems

Polygon.splineItems

Rectangle.splineItems

Snippet.splineItems

SplineItem.splineItems

Spread.splineItems

State.splineItems

Story.splineItems

Table.splineItems

Text.splineItems

TextColumn.splineItems

TextFrame.splineItems

TextStyleRange.splineItems

Word.splineItems

XmlStory.splineItems

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