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”>” + “
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 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.