Adobe InDesign CS5 Server (7.0) Object Model JS: GotoNextPageBehaviors

InDesign Server CS5

Class

GotoNextPageBehaviors

 A collection of goto next page behavior objects.

QuickLinks

[], add, 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

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

ParameterTypeDescription
indexnumberThe index.

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

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

GotoNextPageBehavior anyItem ()
Returns any GotoNextPageBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoNextPageBehavior
Long Integer
String
The GotoNextPageBehavior, index, or name at the beginning of the range. Can accept: GotoNextPageBehavior, Long Integer or String.
toGotoNextPageBehavior
Long Integer
String
The GotoNextPageBehavior, index, or name at the end of the range. Can accept: GotoNextPageBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoNextPageBehaviorThe GotoNextPageBehavior whose index comes before the desired GotoNextPageBehavior.

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

ParameterTypeDescription
objGotoNextPageBehaviorThe index of the GotoNextPageBehavior that follows the desired GotoNextPageBehavior.

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

Element of

Button.gotoNextPageBehaviors

Jongware, 23-Mar-2011 v3.0.3dContents :: Index