Hi,

yes, there were some changes regarding such files (incremental save). Please 
use the latest version [1] and load your documents using 
PDDocument.loadNonSeq() [2]. You can use null for the scratchFile parameter.

BR
Maruan

[1] http://pdfbox.apache.org/download.cgi
[2] 
http://pdfbox.apache.org/docs/1.8.9/javadocs/org/apache/pdfbox/pdmodel/PDDocument.html#loadNonSeq(java.io.File,%20org.apache.pdfbox.io.RandomAccess)

> Am 20.05.2015 um 06:18 schrieb 정승연 <[email protected]>:
> 
> 
> 
> 
> 
> Dear. Developers
> My name is Park, Joon Ho. I am a programer and I work for Scourt in R.O.K
> I use pdfbox 0.8.0 version.
> I get number of PDF File page From "pdfdoc.getNumberOfPages();" function.
> But, i get wrong pagecount for some special case PDF File.
> there are many exist "%%EOF" and "starxref" (more than two of them)
> For example, the actual page number are 20 pages , but it returens only 12 
> pages.
> So, How can I get correct page numbers.
> If you have any idea for this case. can you please tell me what to do.
> I am useing jdk1.4  and PDFBOX 0.8.0 
> would upgrading Pdfbox version solve this problem?
> Finally, Which pdfbox version does JDK 1.6 supports?
> I am looking forward to seeing your reply soon, thank you in advance.
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to