Class
Preflight book options. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PreflightBookOption
QuickLinks
Hierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
| events | Events Event | readonly | A collection of events. |
| isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
| parent | ApplicationBook | readonly | The parent of the PreflightBookOption (a Application or Book). |
| 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. |
| 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 PreflightBookOption 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 PreflightBookOption.
Element of
Application.preflightBookOptions
Book.preflightBookOptions
Return
Array of PreflightBookOption PreflightBookOption.getElements ()
| Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |