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

InDesign Server CS5

Class

ImportedPageAttribute

 Placed InDesign page attribute. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
ImportedPageAttribute
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
importedPageCropImportedPageCropOptions:
ImportedPageCropOptions.CROP_CONTENT
ImportedPageCropOptions.CROP_BLEED
ImportedPageCropOptions.CROP_SLUG
r/wSpecifies the cropping of the imported InDesign page. Read only for page items.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
pageNumbernumber r/wWhich page of the InDesign document should be imported. Read only for page items.
parentApplication readonlyThe parent of the ImportedPageAttribute (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of ImportedPageAttribute getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.importedPageAttributes

Return

Array of ImportedPageAttribute ImportedPageAttribute.getElements ()

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