GetPDFAConversionReportA

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

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetPDFAConversionReport and string arguments are interpreted using the current SetAnsiMode code page

What the last ConvertToPDFA or ConvertToPDFAEx did, and what still stands in the way

Syntax

Delphi

Function DLGetPDFAConversionReportA(InstanceID: Integer): PAnsiChar;

DLL

const char* DLGetPDFAConversionReportA(int InstanceID);

Return values

ReportOne line per repair, then the outcome, then the reasons if the document still falls short
EmptyNo 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 rasterised 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

See also

ConvertToPDFA