Adds an event listener.
Object
PreflightProcess
An active preflight process.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Array[] | String[] | Array[] | String[] | String[] | String[] | String[] | Array[] | 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. | |
| PreflightProfile | readonly | The preflight profile the process is using. | |
| String | readonly | The description of the PreflightProcess. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The index of the PreflightProcess within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| Application | readonly | The parent of the PreflightProcess (a Application). | |
| String | readonly | A string containing a description of all elements visited by the process. | |
| String | readonly | The results found by the process as a large string. | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Document | readonly | The target document the process is inspecting. |
Methods
→ PreflightProcess[]
Resolves the object specifier, creating an array of object references.
→ void
Deletes the PreflightProcess.
→ Boolean
Removes the event listener.
→ void
Saves a report of the completed preflight process.
→ String
Generates a string which, if executed, will return the PreflightProcess.
→ String
Retrieves the object specifier.
→ Boolean
Waits for the process to finish, up to an optional maximum amount of time. No other processes get cycles during this time.
waitTime?
Number
The maximum time to wait, in seconds; if omitted, waits until completion no matter how long it takes.
Object of 4
Properties elsewhere that hold a PreflightProcess.
Parameter of 3
Method parameters that accept a PreflightProcess.
Return 12
Methods that return a PreflightProcess.
PreflightProcess.getElements()PreflightProcesses.[]()PreflightProcesses.add()PreflightProcesses.anyItem()PreflightProcesses.everyItem()PreflightProcesses.firstItem()PreflightProcesses.item()PreflightProcesses.itemByRange()PreflightProcesses.lastItem()PreflightProcesses.middleItem()PreflightProcesses.nextItem()PreflightProcesses.previousItem()