Hi!
I've converted an HTML <table> to docx using XHTMLImporter, but no table borders are displayed in the resulting document. Is there a way to specify the border in html so that docx4j honors it? I've tried various approaches.
String xhtml= "<div>" +
"<p>The <b>quick</b> <span style=\"font-size: 14pt;\">brown</span> fox...</p>" +
"<p>Paragraph 2</p><table border=\"1\" style=\""+
"display:table; table-layout:fixed; border-color: #600; border-style: solid; border-width: 0 0 1px 1px; border-spacing: 0; border-collapse: collapse;"+
"\"><tr><td>foo</td></tr></table>" +
"</div>";
...
WordprocessingMLPackage mlPackage = (WordprocessingMLPackage) loader.get(getClass().getResourceAsStream("/brevmal.docx"));
...
mlPackage.getMainDocumentPart().getContent().addAll(XHTMLImporter.convert( xhtml, null, mlPackage));