Adobe InCopy CS6 (8.0) Object Model JS: ImportExportEvent

InCopy CS6

Class

ImportExportEvent

 An import or export event. Base Class: Event

QuickLinks

getElements, preventDefault, stopPropagation, toSource, toSpecifier

Hierarchy

Application | Document
Event
ImportExportEvent
MutationEvent

Properties

PropertyTypeAccessDescription
bubblesbool readonlyIf true, the event supports the bubbling phase of propagation.
cancelablebool readonlyIf true, the default behavior of the event on its target can be canceled.
currentTargetObject readonlyThe current propagation target of the event.
defaultPreventedbool readonlyIf true, the default behavior of the event on its target has been canceled.
eventPhaseEventPhases:
EventPhases.NOT_DISPATCHING
EventPhases.AT_TARGET
EventPhases.BUBBLING_PHASE
EventPhases.DONE
readonlyThe current propagation phase of the event.
eventTypestring readonlyThe name of the event.
formatstring readonlyThe import/export file format.
fullNameFile readonlyThe full path to the ImportExportEvent, including the name of the ImportExportEvent.
idnumber readonlyThe unique ID of the ImportExportEvent.
indexnumber readonlyThe index of the ImportExportEvent within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication
Document
readonlyThe parent of the ImportExportEvent (a Application or Document).
propagationStoppedbool readonlyIf true, propagation of the event beyond the current target has been stopped.
propertiesObject r/wA property that allows setting of several properties at the same time.
targetObject readonlyThe target of the event.
timeStampDate readonlyThe time the event was initialized.
userInteractionLevelUserInteractionLevels:
UserInteractionLevels.NEVER_INTERACT
UserInteractionLevels.INTERACT_WITH_ALL
UserInteractionLevels.INTERACT_WITH_ALERTS
r/wControls the display of dialogs and alerts during script processing.

Class

PropertyTypeAccessDescription
AFTER_EXPORTstring readonlyDispatched after a ImportExportEvent is exported. This event bubbles. This event is not cancelable. (default: afterExport)
AFTER_IMPORTstring readonlyDispatched after importing a file into a ImportExportEvent. This event bubbles. This event is not cancelable. (default: afterImport)
BEFORE_EXPORTstring readonlyDispatched before a ImportExportEvent is exported. This event bubbles. This event is cancelable. (default: beforeExport)
BEFORE_IMPORTstring readonlyDispatched before importing a file into a ImportExportEvent. This event bubbles. This event is cancelable. (default: beforeImport)
FAILED_EXPORTstring readonlyDispatched after a ImportExportEvent export is canceled or fails. This event bubbles. This event is not cancelable. (default: failedExport)

Methods

Instances

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

void preventDefault ()
Cancels the default behavior of the event on its target.

void stopPropagation ()
Stops propagation of the event beyond the current target.

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

string toSpecifier ()
Retrieves the object specifier.

Return

Array of ImportExportEvent ImportExportEvent.getElements ()

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