How to export HTML to word?

Hi ,


I have latest version (free) 13.1 Aspose.Words .Net

I want to create .doc file from HTML string which have like structure

style contains CSS

I used bulder.Inserthtml(HTML string) most of CSS properties not get applied in word

Please see attached file “Demo.html” which is in “Demo.zip” file

below text is from “Demo.html” file

e.g. ‘123’ ‘342’ font,color, size not get applied background color of that TD also not get applied
same background-color problem is for ‘One’ ‘ABC’ ‘Count’ ‘%’ text, and for ‘header’ , ‘Text’ , ‘123 [2 ABC]’ also

What about this bug WORDSNET-7695


And one more thing
I have created on cover page in which I have kept some “mergefileds” which I replace them using mailmerge which works fine after this I insert HTML

but if I apply breakType.sectioncontinue then Font formatting wont get cleared last mergefileds font properties get applied to entire document . I want new fonts which are in HTML that should get applied . but incase breaktype.page break then it works fine ,I Want section break because page-setup margin and all that is different for other pages .

Regards ,

Jeevan Joshi.
Hi Jeevan,

Thanks for your inquiry.
jeevanjosh:
e.g. '123' '342' font,color, size not get applied background color of that TD also not get applied
same background-color problem is for 'One' 'ABC' 'Count' '%' text, and for 'header' , 'Text' , '123 [2 ABC]' also
Unfortunately, HTML table styling is currently not supported by Aspose.Words. I have linked your request to the appropriate feature (i.e. WORDSNET-3163) in our issue tracking system. You will be notified via this forum thread once this feature is available. Please read list of table features supported on HTML import/export here:

Moreover, please read list of style features supported on HTML import/export.
jeevanjosh:
What about this bug WORDSNET-7695
I am afraid your issue WORDSNET-7695 has now been postponed till a later date due to some other important issues and new features. We will inform you as soon as there are any further developments.

We apologize for your inconvenience.
jeevanjosh:
I have created on cover page in which I have kept some "mergefileds" which I replace them using mailmerge which works fine after this I insert HTML
It would be great if you please share your input template/html contents along with code snippet which cause the issue. I will investigate the issue on my side and provide you more information.





The issues you have found earlier (filed as WORDSNET-3163) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(62)