[ https://issues.apache.org/jira/browse/PDFBOX-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056498#comment-13056498 ]
Abraham Farris commented on PDFBOX-1037: ---------------------------------------- One more last thing... I forced on bad the PDDocument.load("blankpageproblem.pdf",false); It now parses correctly with correct page count. Is there any negative side effects to doing this? Will pdfbox crash or output corrupted pdf data? * @param force When true, the parser will skip corrupt pdf objects and * will continue parsing at the next object in the file > PDF with multiple %%EOF only parses one page > -------------------------------------------- > > Key: PDFBOX-1037 > URL: https://issues.apache.org/jira/browse/PDFBOX-1037 > Project: PDFBox > Issue Type: Bug > Components: Parsing > Affects Versions: 1.5.0 > Environment: Windows XP - Java SE 1.6 > Reporter: Abraham Farris > Attachments: blankpageproblemmod.pdf, blankpageproblemmod.png > > > Any type of page counts (getDocumentCatalog().getPages().getCount()) only > return int 1. Doing a simple .load and .save will strip out all pages after > the first. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira