TPDFlibComplianceReportResult
Data types, compliance
Description
Carries the outcome of a compliance report back to the public method. The methods that return a report read Body, the methods that write one read Saved.
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 record is what that callback returns. 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 declares a value of this type.
Syntax
Delphi
TPDFlibComplianceReportResult = record
Body: WideString;
Saved: Integer;
end;Fields
| Body | Report text, filled for craPreflight, craPreflightEx and craValidation |
|---|---|
| Saved | Result of writing the report file for the craSave actions: 1 when the file was written, 0 otherwise |
See also
TPDFlibComplianceReportAction, TPDFlibComplianceReportRun, CreatePreflightReport