//--------------------------------------------------------------------------------------- // Copyright (c) 2001-2012 by PDFTron Systems Inc. All Rights Reserved. // Consult legal.txt regarding legal and license information. //--------------------------------------------------------------------------------------- #import #import void PrintResults(PDFACompliance *pdf_a, NSString *filename) { unsigned long err_cnt = [pdf_a GetErrorCount]; if (err_cnt == 0) { NSLog(@"%@ OK.", filename); } else { NSLog(@"%@ is NOT a valid PDFA.", filename); int i = 0; for (; i 0) { NSLog(@" Objects:"); NSString *str = @""; int j=0; for (; j