PreflightProcess

An active preflight process.

Methods:

getElements, remove, saveReport, toSource, toSpecifier, waitForProcess

Property Listing

Property

Type

Access

Description

aggregatedResults

OrderedarraycontainingdocumentName:String

Description:String

Array of errorDetail:Ordered array containing label:String

ErrorInfo:String

ErrorName:String

PageNumber:String

ProfileName:String

Array of results: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

Boolean

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

read/write

A property that allows setting of several properties at the same time.

targetObject

Document

readonly

The target document the process is inspecting.

Method Listing

PreflightProcess getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove ()

Deletes the PreflightProcess.

undefined saveReport (to:File, [autoOpen:Boolean=Boolean])

Saves a report of the completed preflight process.

Parameter

Type

Description

to

File

The preflight report to save to.

autoOpen

Boolean

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.

Boolean 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)

Object of

Document.activeProcess

Return

PreflightProcesses.add()

PreflightProcess.getElements()

PreflightProcesses.anyItem()

PreflightProcesses.everyItem()

PreflightProcesses.nextItem()

PreflightProcesses.previousItem()

PreflightProcesses.item()

PreflightProcesses.[]()

PreflightProcesses.itemByName()

PreflightProcesses.itemByRange()

PreflightProcesses.firstItem()

PreflightProcesses.lastItem()

PreflightProcesses.middleItem()