This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Pdf conversion. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Pdf conversion." Watch "Pdf conversion." New topic
Author

Pdf conversion.

Angelino Dolce
Greenhorn

Joined: Jul 26, 2005
Posts: 24
Hi all!
I've to solve this problem: There is a server side Java application with a web user interface, that insert and extract ofice documents to and from an oracle DB as blob. The client has requested to transform the doc files to PDF. What is a recommendable and integrable server side product to adapt?
Thank You in advance.
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
Hi Angelino,

You could try iText open source solution to achive this.

Just google it.

Regards
Naveen
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
While iText can create PDF files, I think the bigger problem will be reading DOC files. The POI library can help with that, but probably not to the extent you need. If you're on Windows, have a look at WordApi.exe. The best bet may be to use the OpenOffice Java API; OO can open Word files, and save to PDF. Thus it should be possible to achieve what you're looking for.

Links to the above-mentioned libraries can be found on the AccessingFileFormats wiki page.


Ping & DNS - my free Android networking tools app
Angelino Dolce
Greenhorn

Joined: Jul 26, 2005
Posts: 24
Thank You Ulf!
Yes, this is dhe problem. I need to convert a .doc file to a .pdf file, conserving all; fonts, formats, links ecc. I don't know if there is a library or a product (server side) that can do this at 100%.

Veri.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pdf conversion.
 
Similar Threads
send data from servlet to printer
Using jsp we cant export to pdf
How to store the PDF file in the server side?
Welcome Frank Cohen!
PDF Byte Array to video output stream