Hi,
I am using Aspose.words for java 3.2.0. When I try to insert HTML table without border at bookmark position, it is working fine in Word 2007 but in Word 2003 the left and right borders are shown.
I have tested with the below code:
doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
String html = "Table With Border " +
"<table border=\"1\">" +
" <tr><td>Column1</td><td>Column2</td></tr>" +
"</table>" +
"Table Without Border" +
"<table border=\"0\">" +
" <tr><td>Column1</td><td>Column2</td></tr>" +
"</table>";
builder.insertHtml(html);
doc.save("C:\\Temp\\out.doc", SaveFormat.DOC);
When I open out.doc in Word 2007 the second table is without border but with Word 2003 it shows borders.
Attached the out.doc for your reference.
Thanks,
Nalini