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

Free Support Forum - aspose.com

HTML with inline CSS does not convert to RTF correctly

I have a simple HTML file that has inline CSS. The table is enclosed in a DIV that has a style that applies a back-ground color (blue). A cell inside the table has a style that sets the font to WHITE.


On converting this to RTF, the blue color does not apply correctly. Instead it chooses white background color. But the font is also white making the text impossible to read.

The HTML comes from a 3rd party database and I have no control over it.

This issue is preventing me from recommending my company to purchase ASPOSE.word. If this can be solved, we are planning an buying an OEM license.

Thanks,
Sprash

Please see the zipped HTML attached with the original post

Hi

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

Thanks for your request. The problem occurs because, currently, Aspose.Words does not support inheriting styles from parent elements.

Currently, Aspose.Words expects that font formatting is set in element, formatting of paragraph – in

or

elements etc…

I linked your request to the appropriate issue, you will be notified as soon as it is resolved.

Best regards.

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


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