TPDFlibComplianceReportAction

Data types, compliance

Description

Selects which compliance report a dispatched call stands for. The value travels with the Action parameter of the TPDFlibComplianceReportRun callback.

TPDFlib declares the public methods and a protected dispatch method for creating and saving preflight and validation reports. The edition class supplies the implementation as a callback, and this value tells the callback which public method is calling. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED. Application code never passes a value of this type.

Syntax

Delphi

type TPDFlibComplianceReportAction = (craPreflight, craPreflightEx, craValidation, craSavePreflight, craSavePreflightEx, craSaveValidation);

Values

craPreflightPlain-text preflight report returned as a string; the operation behind CreatePreflightReport
craPreflightExPreflight report in a selected format returned as a string; the operation behind CreatePreflightReportEx
craValidationStructured validation report returned as a string; the operation behind CreateValidationReport
craSavePreflightPlain-text preflight report written to a file; the operation behind SavePreflightReport
craSavePreflightExPreflight report in a selected format written to a file; the operation behind SavePreflightReportEx
craSaveValidationStructured validation report written to a file; the operation behind SaveValidationReport

See also

TPDFlibComplianceReportRun, TPDFlibComplianceReportResult, CreatePreflightReport, SaveValidationReport