This is a sample showing how to validate a PDF document against PDF/X sub-format using Qoppa’s jPDFPreflight library. PDF/X is the format for Prepress Graphics File Interchange. Validate against PDF/X-1a:2001: PreflightResults results = pdfPreflight.verifyDocument(new PDFX_1a_2001(), null);PreflightResults results = pdfPreflight.verifyDocument(new PDFX_1a_2001(), null); Validate against PDF/X-1a:2003: PreflightResults results = pdfPreflight.verifyDocument(new PDFX_1a_2003(), null);PreflightResults results = pdfPreflight.verifyDocument(new PDFX_1a_2003(), null); […]