You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/12/14 22:44:13 UTC
[jira] [Commented] (PDFBOX-2567) Only one page found while the
document actually contains two pages
[ https://issues.apache.org/jira/browse/PDFBOX-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246142#comment-14246142 ]
Andreas Lehmkühler commented on PDFBOX-2567:
--------------------------------------------
The pdf was updated, you have to use the non-sequential parser (PDDocument#loadNonSeq instead of PDDocument#load)
> Only one page found while the document actually contains two pages
> ------------------------------------------------------------------
>
> Key: PDFBOX-2567
> URL: https://issues.apache.org/jira/browse/PDFBOX-2567
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.7
> Reporter: Siegfried Goeschl
> Attachments: first-page-lost-01.pdf
>
>
> I'm currently converting a lot of PDF documents to images - for this particular document I'm only able to extract one page
> {noformat}
> List<PDPage> pages = pdDocument.getDocumentCatalog().getAllPages();
> {noformat}
> Using Mac OS Preview I see that the document contains actually two pages.
> Please note that I have permission from my customer to upload the document
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)