Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to convert HTML to DOCX file on linux. I tried Converting HTML to odt, doc, docx, but did not find the right way to handle CSS while converting to DOCX.

share|improve this question
add comment

migrated from stackoverflow.com May 15 '12 at 10:23

This question came from our site for professional and enthusiast programmers.

1 Answer

If you are happy to use Java, you can convert your HTML to XHTML, and then use docx4j to import it. The import is CSS aware.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.