Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
Hi, I can reproduce the error. Your file is malformed. Please open it with NOTEPAD++ and go to the end: xref 1 7 00 65535 f 09 0 n 358745 0 n 358842 0 n 359029 0 n 359087 0 n 359138 0 n trailer The first number (1) means the number o

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
I meant, send me (tilman at snafu dot de) the file that makes trouble. Tilman Am 11.02.2015 um 08:24 schrieb Tilman Hausherr: You forgot the attachment Tilman Am 11.02.2015 um 08:21 schrieb Kevin Morin: Hi, I am sorry, it seems that I did not send you the right file... Actually, I was test

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
You forgot the attachment Tilman Am 11.02.2015 um 08:21 schrieb Kevin Morin: Hi, I am sorry, it seems that I did not send you the right file... Actually, I was testing the wrong file on linux from the begining also. The file is displaying blank also on linux and on java 7 or 8... Here is th

Re: Error on PDDocument.load

2015-02-10 Thread Kevin Morin
Hi, I am sorry, it seems that I did not send you the right file... Actually, I was testing the wrong file on linux from the begining also. The file is displaying blank also on linux and on java 7 or 8... Here is the right file. I am sorry to make you work for nothing... BR Kevin On 10/02

Re: Error on PDDocument.load

2015-02-10 Thread Tilman Hausherr
So we e-mailed and the result is - you're really working on W2008 with the file that you sent me - you get the same error on W2008 with the app (and I don't) I have analysed that file and did some debug traces. If loading that on W2008 is a no-no, you'd have to build from source and I'll tell yo

Re: Outline and outline items count

2015-02-10 Thread Tilman Hausherr
You're right: https://forums.adobe.com/thread/507079?tstart=0 https://wwwimages2.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_archives/pdf_17_errata.pdf I was working with the 1.7 document :-( Tilman Am 10.02.2015 um 17:13 schrieb Andrea Vacondio: Hmm... I haven't tested your

Re: Outline and outline items count

2015-02-10 Thread Andrea Vacondio
>Hmm... I haven't tested your code, but I wonder why root.getOpenCount() always gets negative >numbers (= closed), and outline positive ones ( = open)? Outline has always positives because according to table 152 Count is "Total number of visible outline items at all levels of the outline. The value

Re: Tamil PDF file read Issue

2015-02-10 Thread Maruan Sahyoun
Hi, if copy and paste or Save As text from Adobe Reader hive you the same result than this is because of wrong mappings in the PDF. Unfortunately there is nothing we can do as technically the result you are getting is OK although not what you expected. You might want to upload your PDF to a pub

Fwd: Tamil PDF file read Issue

2015-02-10 Thread Thamizh Thomas
​Hi All, I have a requirement to read PDF file which is in tamil. I read page by page. But it only return junk characters which is unreadable. Also when copy the texts from the PDF and paste in some other file it also returns the same. Please help me to resolve this issue. I have also attached the