File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 39547
    
  27
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 - updated with new look and Ping home screen widget
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
Welcome Frank Cohen!
How to store the PDF file in the server side?
Using jsp we cant export to pdf
PDF Byte Array to video output stream
send data from servlet to printer