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

InDesign CS5.5

Class

GotoPreviousPageBehaviors

 A collection of goto previous page behavior objects.

See also GotoPreviousPageBehavior.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

GotoPreviousPageBehavior anyItem ()
Returns any GotoPreviousPageBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoPreviousPageBehavior
Long Integer
String
The GotoPreviousPageBehavior, index, or name at the beginning of the range. Can accept: GotoPreviousPageBehavior, Long Integer or String.
toGotoPreviousPageBehavior
Long Integer
String
The GotoPreviousPageBehavior, index, or name at the end of the range. Can accept: GotoPreviousPageBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoPreviousPageBehaviorThe GotoPreviousPageBehavior whose index comes before the desired GotoPreviousPageBehavior.

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

ParameterTypeDescription
objGotoPreviousPageBehaviorThe index of the GotoPreviousPageBehavior that follows the desired GotoPreviousPageBehavior.

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

Element of

Button.gotoPreviousPageBehaviors

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