File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes word to pdf conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "word to pdf conversion" Watch "word to pdf conversion" New topic

word to pdf conversion

rambabu bandam

Joined: Aug 31, 2008
Posts: 4
iam trying to convert a given word document to pdf using java api.I need the exact replica of thr word in the pdf.The word will also contain images.
Can anybody help me out..

Thanks in advance
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11955

we use EasyPDF at my office for some things.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3381

If you have OpenOffice and open the .doc file in it, it has an option called 'Export to PDF' (you can click on the pdf icon on the top menus).

OR try some thing like Cute Pdf Writer, pdf 999 etc., Searching in Google for these will give you the website links to download!

Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
rambabu bandam

Joined: Aug 31, 2008
Posts: 4
But raghavan,
for me i need to write the code for this conversion of this word to pdf in my EJB.So is it possible to use any open office for this conversion or we had to use java api...?, i prefer java api because that's how the requirement was informed to me by my superiors..
please help me out..
zett ucu

Joined: Jan 15, 2009
Posts: 4
check middle page here:

Code examples for HTML to PDF with PHP, Java or ASP.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46362
Welcome to JavaRanch, zett ucu

Sounds like more complicated a question than we usually see on beginners'. Moving.
Pawel Nowacki
Ranch Hand

Joined: Nov 14, 2008
Posts: 67
Check out OpenOffice API . Provides nice API for everything OpenOffice application provides .
Now, in OpenOffice Writer you can open or create document and convert it to PDF. You can make it through this Java API respectively.
I agree. Here's the link:
subject: word to pdf conversion
It's not a secret anymore!