PreflightProcess
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
aggregatedResults | description:String Array of Ordered array containing label:String errorInfo:String errorName:String Ordered array containing documentName:String pageNumber:String profileName:String Array of Ordered array containing parentNodeID:Long Integer |
readonly | The aggregated results found by the process. Can return: Ordered array containing documentName:String, profileName:String, results:Array of Ordered array containing parentNodeID:Long Integer, errorName:String, pageNumber:String, errorInfo:String, errorDetail:Array of Ordered array containing label:String, description:String. |
appliedProfile | PreflightProfile | readonly | The preflight profile the process is using. |
description | string | readonly | The description of the PreflightProcess. |
index | number | readonly | The index of the PreflightProcess within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Application | readonly | The parent of the PreflightProcess (a Application). |
processInventory | string | readonly | A string containing a description of all elements visited by the process. |
processResults | string | readonly | The results found by the process as a large string. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
targetObject | Document | readonly | The target document the process is inspecting. |
Methods
Instances
Array of PreflightProcess getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the PreflightProcess.
void saveReport (to:
File[, autoOpen:
bool=false])
Saves a report of the completed preflight process.
Parameter | Type | Description |
---|---|---|
to | File | The preflight report to save to. |
autoOpen | bool | If true, automatically open the report after creation. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the PreflightProcess.
string toSpecifier ()
Retrieves the object specifier.
bool waitForProcess ([waitTime:
number])
Waits for the process to finish, up to an optional maximum amount of time. No other processes get cycles during this time.
Parameter | Type | Description |
---|---|---|
waitTime | number | The maximum time to wait, in seconds; if omitted, waits until completion no matter how long it takes. (Optional) |
Element of
Document.activeProcess
Used in:
array of PreflightProcess PreflightProcesses.itemByRange (from: any, to: any)
PreflightProcess PreflightProcesses.nextItem (obj: PreflightProcess)
PreflightProcess PreflightProcesses.previousItem (obj: PreflightProcess)
Return
Array of PreflightProcess PreflightProcess.getElements ()
PreflightProcess PreflightProcesses.[] (index: number)
PreflightProcess PreflightProcesses.add (targetObject: Document, appliedProfile: PreflightProfile[, preflightOptions: PreflightOption][, withProperties: Object])
PreflightProcess PreflightProcesses.anyItem ()
Array of PreflightProcess PreflightProcesses.everyItem ()
PreflightProcess PreflightProcesses.firstItem ()
PreflightProcess PreflightProcesses.item (index: any)
PreflightProcess PreflightProcesses.itemByName (name: string)
Array of PreflightProcess PreflightProcesses.itemByRange (from: any, to: any)
PreflightProcess PreflightProcesses.lastItem ()
PreflightProcess PreflightProcesses.middleItem ()
PreflightProcess PreflightProcesses.nextItem (obj: PreflightProcess)
PreflightProcess PreflightProcesses.previousItem (obj: PreflightProcess)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |