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

Free Support Forum - aspose.com

While converting .docx to HTML- HTML view is different from the content in the .docx

I am using Aspose.Word (version 5.2.2.0) with license. I am converting 2007 .docx word content to HTML using (document.Save(ddd,saveformat.HTML);) This is to produce an HTML preview in the web application before publishing the content in PDF. In almost all the cases, the HTML is the same as that given in the .docx content. But when the whole text is divided into columns, the HTML preview doesn’t render this. It renders as a single column. This makes the HTML preview different from the content.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Could you suggest a resolution to this issue as the client requires the exact preview in HTML for the word content that we give.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. HTML does not support text columns. If you convert your document to HTML using MS Word you will get the same result as Aspose.Words produced.

It is impossible to get output HTML 100% exact to the original MS Word document.

Best regards.