InsertHTML : table footer style

Hello,

We use insertHTML() to insert tables in Aspose documents.

elements contain a “class” attribute to apply table styles, defined in a Word template.
Here is the Java code (see the attached file “model.dot” for the template) :

com.aspose.words.Document doc = new com.aspose.words.Document();
DocumentBuilder builder = new DocumentBuilder(doc);
String html = “.table-style {}”
+ “<table class=“table-style”>”
+ “”
+ “”
+ “
Table header
Table content
Table footer
”;
builder.insertHtml(html, true);
doc.setAutomaticallyUpdateSyles(true);
doc.setAttachedTemplate(“model.dot”);
doc.save(“footer.doc”);

The header row is correctly shaded according to the style “table-style” defined in the Word template, but it’s not the case for the footer row : cells background remain white, instead of red.
Could you please fix that issue ?

Thanks a lot !

Alexis

Hi Alexis,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-12135. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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


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