[
https://issues.apache.org/jira/browse/PDFBOX-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler closed PDFBOX-911.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.1
Assignee: Andreas Lehmkühler
Works fine using the non-sequential parser at least since 1.8.1
Thanks for the report
> Method PDDocument.getNumberOfPages() returns wrong number of pages
> ------------------------------------------------------------------
>
> Key: PDFBOX-911
> URL: https://issues.apache.org/jira/browse/PDFBOX-911
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.3.1
> Environment: Windows XP, Eclipse 3.5.2 Galileo
> Reporter: nielsen
> Assignee: Andreas Lehmkühler
> Fix For: 1.8.1
>
> Attachments: ASF.LICENSE.NOT.GRANTED--Martijn Brinkers.jpg,
> ASF.LICENSE.NOT.GRANTED--atest.pdf, ASF.LICENSE.NOT.GRANTED--test.pdf,
> test.unc.pdf
>
>
> Hello,
> I use PDFbox and are very pleased.
> For one PDF file however getNumberOfPages() returns the wrong number of pages
> (1 instead of 2 pages).
> Test code:
> File xx = new File("c:\\temp\\test.pdf");
> PDDocument pdoc = PDDocument.load(xx);
> int x = pdoc.getNumberOfPages();
> The PDF file could be provided.
> Thanks in advance.
> Regards
--
This message was sent by Atlassian JIRA
(v6.1#6144)