Class
Preflight options. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PreflightOption
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | ApplicationDocument | readonly | The parent of the PreflightOption (a Application or Document). |
preflightEmbedWorkingProfile | bool | r/w | If true, embed working profile when creating new document. |
preflightIncludeNonprintingObjects | bool | r/w | If true, include objects that do not print when preflighting. |
preflightIncludeObjectsOnPasteboard | bool | r/w | If true, include objects on pasteboard when preflighting. |
preflightOff | bool | r/w | If true, preflight is turned off for all documents or for this document. |
preflightProfilePolicy | PreflightProfileOptions: PreflightProfileOptions.USE_EMBEDDED_PROFILE PreflightProfileOptions.USE_WORKING_PROFILE |
r/w | The policy for preflighting applied when opening a document or book, whether to use embedded profile or the another profile when the preflight is turned on. |
preflightScope | PreflightScopeOptions String |
r/w | The pages or documents to preflight, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Can return: PreflightScopeOptions enumerator or String. |
preflightWhichLayers | PreflightLayerOptions: PreflightLayerOptions.PREFLIGHT_ALL_LAYERS PreflightLayerOptions.PREFLIGHT_VISIBLE_LAYERS PreflightLayerOptions.PREFLIGHT_VISIBLE_PRINTABLE_LAYERS |
r/w | Which layers to preflight. |
preflightWorkingProfile | PreflightProfile String |
r/w | The working preflight profile. Can return: PreflightProfile or String. |
properties | Object | r/w | A 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of PreflightOption getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the PreflightOption.
Element of
Application.preflightOptions
Document.preflightOptions
Used in:
PreflightProcess PreflightProcesses.add (targetObject: Document, appliedProfile: PreflightProfile[, preflightOptions: PreflightOption][, withProperties: Object])
Return
Array of PreflightOption PreflightOption.getElements ()
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |