Hello.
I’m creating a Word document with Aspose.Words by inserting html text (InsertHtml) that has been generated by the RenderControl method of a web control.
First I save the html rendered text into a temp file (temp.html). Then I create a new Document, open the temp.html file and InsertHtml from that temp file into the Word document. Finally I save the document to a .doc file.
When I browse the temp.html in IE I get exactly what I want (it looks like it was in the orginal web page). When I open the .doc file the layout is totally different (table size and cell width are different, indentation is different, etc).
Does this mean that there is an incompatibilty between Word HTML and IE HTML ? Does Aspose.Words filter the html code ?
I have attached the two files (temp.html and temp.doc).
Can you have a look and tell me what I should do ?
Thanks for your help
Regards
Augusto