GetPDFAConversionReport
PDF/A
Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)
Description
What the last ConvertToPDFA or ConvertToPDFAEx did, and what still stands in the way
Syntax
Delphi
Function TPDFlib.GetPDFAConversionReport: WideString; Virtual;ActiveX
Function PDFlib::GetPDFAConversionReport() As StringDLL
const wchar_t* DLGetPDFAConversionReport(int InstanceID);
const char* DLGetPDFAConversionReportA(int InstanceID);Return values
| Report | One line per repair, then the outcome, then the reasons if the document still falls short |
|---|---|
| Empty | No conversion has been attempted, or the part asked for was refused outright |
The final commit line distinguishes a converted document adopted after the implemented checks from a rejected attempt whose original document was retained
Attempted repair descriptions do not mean those edits were committed; fidelity lines identify the selected policy and resolution, regional lines identify retained text operators and affected rectangles in PDF points, and rasterized lines identify whole-page composition and the replacement of selectable text and interactivity by pixels
Regional images replace visible content only within the listed rectangles; original text operators inside those areas remain clipped underneath, so semantic accessibility requires review; regional unavailable lines explain why policy 1 falls back or policy 2 rejects