ValidateArlingtonPipelineSyntax

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)

Description

Runs model-driven object syntax validation against the reader and object cache retained by a validation pipeline

Syntax

Delphi

Function TPDFlib.ValidateArlingtonPipelineSyntax(PipelineID, ModelID, Options: Integer): Integer; Virtual;

DLL

int DLValidateArlingtonPipelineSyntax(int InstanceID, int PipelineID, int ModelID, int Options);

ActiveX

Function PDFlib::ValidateArlingtonPipelineSyntax(PipelineID As Long, ModelID As Long, Options As Long) As Long

Parameters

PipelineIDIdentifier returned by BeginValidationPipeline
ModelIDIdentifier returned by LoadArlingtonModel
OptionsBit 1 stops after the first issue, bit 2 permits unknown first-class keys, and bit 4 reports deprecated entries

Return values

Positive valueString-list identifier containing pipe-delimited issue code, object path, and message fields
0No issue was found, or an identifier is invalid

Remarks

The model walks from FileTrailer through linked definitions while suppressing repeated object-definition pairs and reusing lazily parsed PDF objects

Coverage

Read GetArlingtonValidationCoverageJSON after the call to distinguish a complete pass, known failures, incomplete rule coverage and an operation error

Unsupported expressions produce ARLINGTON_UNSUPPORTED issues with the document path and model column; a zero issue handle on its own does not prove that validation started