You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Ruhong Cai <Ru...@smartbear.com> on 2015/08/31 22:50:59 UTC

FW: PDFBox 2.0.0 release


-----Original Message-----
From: Ruhong Cai 
Sent: Monday, July 06, 2015 1:31 PM
To: dev@pdfbox.apache.org
Subject: RE: PDFBox 2.0.0 release

Hi,

The following code could prove that there is a bug in getting the number of the pages 

PDDocument pdf1 = PDDocument.load("C:\\ms12_TIM.pdf");

int count = pdf1.getNumberOfPages();


count return “0” , the file has a page.

Thanks!


Ruhong

Re: FW: PDFBox 2.0.0 release

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 31.08.2015 um 22:50 schrieb Ruhong Cai:
>
> -----Original Message-----
> From: Ruhong Cai
> Sent: Monday, July 06, 2015 1:31 PM
> To: dev@pdfbox.apache.org
> Subject: RE: PDFBox 2.0.0 release
>
> Hi,
>
> The following code could prove that there is a bug in getting the number of the pages
>
> PDDocument pdf1 = PDDocument.load("C:\\ms12_TIM.pdf");
>
> int count = pdf1.getNumberOfPages();
>
>
> count return “0” , the file has a page.
>

Hi,

Could you please upload the file somewhere?

And is this really related to the 2.0 version, or did you just hop on an 
existing thread (in the wrong mailing list)?

Tilman



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org