| View previous topic :: View next topic |
| Author |
Message |
hijam General User

Joined: 30 Jan 2008 Posts: 10
|
Posted: Wed Jan 30, 2008 7:46 am Post subject: How I can Merge PDF files using Open Office API?? |
|
|
Hi All,
I am new to OpenOffice, How I can merge multiple PDF file into a single PDF file using Java? Urgent help required
Thanks,
Jam |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Wed Jan 30, 2008 9:50 am Post subject: Re: How I can Merge PDF files using Open Office API?? |
|
|
| hijam wrote: | | How I can merge multiple PDF file into a single PDF file using Java |
You cannot merge PDF files by using the OOo API. But you can try iText for this task: http://www.lowagie.com/iText/. I'm using it for that myself. |
|
| Back to top |
|
 |
hijam General User

Joined: 30 Jan 2008 Posts: 10
|
Posted: Wed Jan 30, 2008 12:03 pm Post subject: |
|
|
| Thank you very much. Using iText we can create , merge, updated PDF doc easily. but the problem in iText is we can't convert other doc type to PDF, correct me if I am wrong. |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3531 Location: Hamburg, Germany
|
Posted: Wed Jan 30, 2008 1:47 pm Post subject: |
|
|
| hijam wrote: | | Using iText we can create , merge, updated PDF doc easily. |
Yes, correct.
| hijam wrote: | | but the problem in iText is we can't convert other doc type to PDF |
That's absolutely correct, too. BUT, that was not the question you asked in your previous post in this thread. Anyway, do it like I do it: Load your DOC documents, insert data as you like (I insert text at several bookmarks), save your documents separately as PDF files. Use OOo's UNO API for all these steps. Finally merge all the separate PDF files into one PDF file with iText. |
|
| Back to top |
|
 |
|