//--------------------------------------------------------------------------------------- // Copyright (c) 2001-2012 by PDFTron Systems Inc. All Rights Reserved. // Consult legal.txt regarding legal and license information. //--------------------------------------------------------------------------------------- #include //#include #include #include #include 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 = 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 0) { cout << " Objects:" << endl; for (int j=0; j