• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

word to pdf conversion

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
lowercase baba
Posts: 12765
51
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we use EasyPDF at my office for some things.
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
rambabu bandam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check middle page here: http://www.dancrintea.ro/html-to-pdf/

Code examples for HTML to PDF with PHP, Java or ASP.
 
Marshal
Posts: 65755
250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, zett ucu

Sounds like more complicated a question than we usually see on beginners'. Moving.
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 love a woman who dresses in stainless steel ... and carries tiny ads:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!