You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/06/10 23:19:03 UTC

[jira] [Closed] (PDFBOX-1037) PDF with multiple %%EOF only parses one page

     [ https://issues.apache.org/jira/browse/PDFBOX-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr closed PDFBOX-1037.
-----------------------------------

    Resolution: Invalid

Closing as this is now 3 years later and we have a non sequential parser. However the attached file can't be tested, due to the bad xref table. When editing a PDF, it is important to correct the offset values. (use CTRL-G in NOTEPAD++ to get them) I can't correct them myself in the file because I don't have the unedited file to understand which entry one pointed to where.

> 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 was sent by Atlassian JIRA
(v6.2#6252)