//--------------------------------------------------------------------------------------- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved. // Consult legal.txt regarding legal and license information. //--------------------------------------------------------------------------------------- #include //#include #include #include #include #include "../../LicenseKey/CPP/LicenseKey.h" using namespace std; using namespace pdftron; using namespace pdftron::PDF; using namespace pdftron::PDF::PDFA; void PrintResults(PDFACompliance& pdf_a, UString filename) { int err_cnt = static_cast(pdf_a.GetErrorCount()); if (err_cnt == 0) { cout << filename << ": OK.\n"; } else { cout << filename << " is NOT a valid PDFA.\n"; for (int i=0; i(pdf_a.GetRefObjCount(c)); if (num_refs > 0) { cout << " Objects: "; for (int j=0; j