Bug https://issues.apache.org/jira/browse/PDFBOX-1067
Dave Smith Candata Ltd. 416-493-9020x2413 Direct: 416-855-2413 On Wed, Jun 13, 2012 at 8:02 AM, <[email protected]> wrote: > Sorry, > > apparently the pdf was not correctly attached to the previous mail, I > just zip it and re-attach it. > > Pierre Huttin > > On Wed, 13 Jun 2012 13:56:50 +0200, <[email protected]> wrote: > > Hello, > > > > I have some trouble with documents the library is not not able to > > retreive the number of pages and load them into the list using > > PDDocument.getDocumentCatalog().getAllPages() method. > > > > The pdf file and the java code to retreive the number of pages are > > attached to this mail. apparently it's look like the PDFParser do not > > read correctly the /Pages object the ref of pages are "8 0" and "19 > > 0". > > > > I open the document correctly with adobe reader and itextrups, both > > retrieve the correct number of pages : 2. > > > > I try to run my code using the version 1.7.0 of PDFBox > > > > Thanks in advance for your help. > > > > Best regards > > > > Pierre Huttin >
