Not able to get table background image and border color

Hi
We are trying to insert below HTML contents to word document using “InsertHtml” method.But not getting the background and bordercolor .Are we missing any thing.Please suggest.

<TABLE border=1 cellPadding=10 background=http://www.asbrusoft.com/logo.gif fontname="" Arial"">
    <TBODY>
        <TR><TD>Testing Background</TD></TR>
    </TBODY>
</TABLE>
<BR>
<TABLE border=1 cellPadding=10 borderColor=#cc0000 fontname="" Arial"">
    <TBODY>
        <TR><TD>Testing Bordercolor</TD></TR>
    </TBODY>
</TABLE>

Thanks & Regards
Ganapati.Bhagwat

Hi
Thanks for your request. In MS Word documents you cannot specify an image as background of a table. MS Word just does not support such feature. That is why this cannot be exported to Word document.
Best regards,

Thanks for your response.

I clear about background image, but what about border color.Border color can be set in MS word rt ? Please suggest!!

Thanks & Regards
Ganapati Bhagwat

One more query is,whether flash objects can be printed.Content is like below.When we use below code in HTML page it is display audio player.

Please help!!

Hi
Thanks for your request. The problem with borders occurs because Aspose.Words does not support inheriting styles from parent elements. Try using HTML like the following:

<html>
<body>
    <TABLE border="1" cellspacing="0">
        <TBODY>
            <TR>
                <TD style="border-color:#cc0000;">Testing Bordercolor</TD>
            </TR>
        </TBODY>
    </TABLE>
</body>
</html>

No there is no way to import OBJECT into MS Word document from HTML using Aspose.Words.
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.
(44)