We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert a piece of HTML into a piece of Word 2003 XML format - Aspose word java

Please help me
Convert a piece of HTML into a piece of Word 2003 XML format by Aspose word java

Hi,


Thanks for your inquiry.

To be able to learn how to insert HTML mark-up into word document, I would suggest you to please read the following article:
http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.documentbuilder.inserthtml.html

Moreover, with the help of Aspose.Words you can convert HTML files to DOC/DOCX documents. Please see the sample code below:

Document
htmlDoc = new Document(@“C:\temp\in.html”);
htmlDoc.Save(@“C:\temp\out.docx”, SaveFormat.Docx);
Please let us know if you need more information, We are always glad to help you.

Best Regards,