Am 13.06.2012 14:02, schrieb [email protected]:
Sorry,

apparently the pdf was not correctly attached to the previous mail, I
just zip it and re-attach it.

Pierre Huttin

With resolving PDFBOX-1099 (https://issues.apache.org/jira/browse/PDFBOX-1099) the page count is correct with both parsers (NonSequentialPDFParser and PDFParser).

For testing purposes it would be helpful to have your example PDF associated with PDFBOX-1099. Could you upload it to this issue (and tick the 'Grant license to ASF for inclusion in ASF works (as per the Apache License §5)' or give permission to do so with your file attached to previous email with license grant?


Best regards,
Timo


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


--

 Timo Boehme
 OntoChem GmbH
 H.-Damerow-Str. 4
 06120 Halle/Saale
 T: +49 345 4780474
 F: +49 345 4780471
 [email protected]

_____________________________________________________________________

 OntoChem GmbH
 Geschäftsführer: Dr. Lutz Weber
 Sitz: Halle / Saale
 Registergericht: Stendal
 Registernummer: HRB 215461
_____________________________________________________________________

Reply via email to