Re: changing pdf document in order it could be printed as book

2011-03-16 Thread Adam
Check out PageExtractor.java in org\apache\pdfbox\util. I think you will find it's just the code you were looking for. Thanks, Adam From: Eugeny Melamud To: "users@pdfbox.apache.org" Date: 03/16/2011 06:56 Subject: changing pdf document in order it could be printed as book Hi all

Re: OFF TOPIC -- Extracting PDF tables by selecting them?

2011-03-16 Thread Adam
I know you can extract text based on a region, and I also remember seeing many e-mails about improvements in preserving spacing in text extraction. If you haven't already, search the mailing list archives and see if any of those e-mails help you. I haven't done any text extraction myself, but I

OFF TOPIC -- Extracting PDF tables by selecting them?

2011-03-16 Thread Kevin Brown
Sorry, I understand pdfbox probably won't be able to do this but perhaps it can? :) We use this software from BCL called Jade that allowed you to select a 'zone' on a PDF page and extract it to text in such a way that the spacing and line breaking was preserved. It did (and does!) a better job

Re: Unable to convert valid pdf to html

2011-03-16 Thread varun bhansaly
Hi Thomas, It opens fine with acrobat X on Win7 X86_64, acrobat 9 on ubuntu X86_64, evince on ubuntu X86_64. I was actually more surprised by the trace error message "java.io.IOException: Expected='null' actual='nullnullnull'". Anyways, thanks for looking into it. On Wed, Mar 16, 2011 at 1:10 PM,

Re: Bookmarknode does not open with Acrobat Reader

2011-03-16 Thread Julien PLÉE
Hello Oliver, For making bookmarks visible on all reader software, you must open the root node before saving the document. Julien. Le 16 mars 2011 à 15:36, Oliver Frahm a écrit : > Hello PdfBox Team, > > First i want to thank you for the nice libary. Working with the pdfbox is > very easy. >

Bookmarknode does not open with Acrobat Reader

2011-03-16 Thread Oliver Frahm
Hello PdfBox Team, First i want to thank you for the nice libary. Working with the pdfbox is very easy. But i have problems with creating bookmarks. I created a pdf document by merging some pdf-files and then i want to create bookmarks for each page. Creating bookmarks is works fine. At home

changing pdf document in order it could be printed as book

2011-03-16 Thread Eugeny Melamud
Hi all, I'm getting a pdf. I need to changed i so that it could be printed as a book. i.e. if I have pdf with 6 pages, I want to get pdf with 3 pages where we have pages 1 and 6 on page 1 of new pdf, 2 and 5 on page 2 of new pdf and pages 3-4 on page 3 of new pdf. Can someone provide an exampl

Re: Unable to convert valid pdf to html

2011-03-16 Thread Thomas Fischer
Hi Varun, whatever it is, there is something wrong with this file. On my Mac, Acrobat Reader 6, Preview and Skim can't open the file, and Acrobat Reader 9 starts with the message "The document is damaged but will be repaired." (translated from German) JHOVE claims it is well-formed and valid. But