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

Free Support Forum - aspose.com

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.

Testing Background

Testing Bordercolor

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.


<EMBED width=200 height=50 align=“middle”
src=" http://media.pearsoncmg.com/pegasus/audio/mp3Player.swf?aid=http://media.pearsoncmg.com/pegasus/audio/128_Kbps_Sample_MP3.mp3" quality=“high” bgcolor="#ffffff" type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer”>



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)