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 LongParameters
| PipelineID | Identifier returned by BeginValidationPipeline |
|---|---|
| ModelID | Identifier returned by LoadArlingtonModel |
| Options | Bit 1 stops after the first issue, bit 2 permits unknown first-class keys, and bit 4 reports deprecated entries |
Return values
| Positive value | String-list identifier containing pipe-delimited issue code, object path, and message fields |
|---|---|
| 0 | No 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