CreateValidationPipelineReport

Compliance, Performance

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)

PDF/UA reader profile selection

PDF/UA checks select part 2 when XMP identifies pdfuaid:part=2 and otherwise keep the part 1 checks; the legacy PDF/UA-1 checks described here are not implied to apply to part 2

The PDF/UA-2 profile implements core identification, namespace, role and structure checks; structured reports use PDF/UA-2 and ISO 14289-2 and disclose fullCertification=false together with the unverified scope

Use CheckFilePDFUACompliance or RunPDFUAValidationPipelineTask to force a target part and GetPDFUAReadValidationCoverageJSON to inspect capability limits

Description

Runs the selected compliance audits against one validation pipeline and returns the combined structured report

Syntax

Delphi

Function TPDFlib.CreateValidationPipelineReport(PipelineID, ComplianceTests, Options, ReportFormat: Integer): WideString; Virtual;

DLL

const wchar_t* DLCreateValidationPipelineReport(int InstanceID, int PipelineID, int ComplianceTests, int Options, int ReportFormat);
const char* DLCreateValidationPipelineReportA(int InstanceID, int PipelineID, int ComplianceTests, int Options, int ReportFormat);

ActiveX

Function PDFlib::CreateValidationPipelineReport(PipelineID As Long, ComplianceTests As Long, Options As Long, ReportFormat As Long) As String

Parameters

PipelineIDIdentifier returned by BeginValidationPipeline
ComplianceTestsBit mask: 1 PDF/A, 2 PDF/UA, 0 or 3 both
Options0 collects all findings; 1 stops each audit at its first finding
ReportFormat0 XML or 1 JSON

Return values

Returns the complete structured report, or an empty string for an invalid pipeline

Remarks

Both selected audits share the pipeline reader, security state, document object graph, and lazy object cache

See also

CreateValidationReport, GetValidationPipelineParseCount