Lately I am facing some problems converting java string containing unicode HTML (containing hindi language) to PDF using jodconverter java library How to convert docx/odt to pdf/html with Java? This question comes up all the time in any forum like stackoverflow. So I decided to write an article about this topic. This page provides Java code examples for verter. ntFormat. The examples are extracted from open source Java .

Author: Faugal Bram
Country: Vietnam
Language: English (Spanish)
Genre: Education
Published (Last): 27 June 2004
Pages: 387
PDF File Size: 15.26 Mb
ePub File Size: 4.44 Mb
ISBN: 824-3-77057-902-2
Downloads: 91723
Price: Free* [*Free Regsitration Required]
Uploader: Nikolkis

All you need to do is to make a new file with extension. Examle up or log in Sign up using Google. I’m new to Open Office. JODConverter is working on Tomcat.

Yes it does, as least the latest version 4. From what I know you have two options:. How to build this in Java?

But I believe that the JODConverter library makes the process significantly easier, so you may want to look into that first. In the meanwhile I found class: You may take a look at documents4j if you need a library that uses Microsoft Office Word for better MSWord document conversion. Here is the script I found out years ago and still use in some cases.


Can you post more details about setup and Java code for Pdf generation, please? I found iText solutions, but i still haven’t made them to work. The script is not mine so I can’t take any credits.

From what I know you have two options: Other Open Source Projects. Stack Overflow works best with JavaScript enabled. I have a word file. Give it a try, it not only converts html but a lot more.

JODConverter | Angelo’s Blog

Any experience with this? By clicking “Post Your Answer”, you acknowledge jodcoverter you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. What are you trying to do exactly?

I’d pass the link, and expect page as a pdf document. I know that this answer is not what you expect but I just want to point out a solution of your problem that i am aware of.

But i don’t know weather it support from HTML to pdf. I set it up, but it’s not working for all websites Post as a guest Name. At least that’s the way I know, and doing it.


Similar Threads

Any experience with this approach? Ahmed Bilal 28 5. You could turn all your docx documents to LibreOffice and then export them to PDF without compatibility issues using the LibreOffice software or your external java library You could use the Microsoft Office Word to do the conversion from docx to pdf. Email Required, but never shown. Do you mean for arbitrary HTML? It’s the right thing to do. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

I suppose that I’m not the first who needs this