Hey,
is there a way to go from a xhtml file to docx so that the Table Headers repeat to multiple pages?
My current implementation of the xhtml importer seems to strip the <thead> and <tbody> tags while doing the conversion.
ImportXHTMLProperties.setProperty("docx4j-ImportXHTML.Element.Heading.MapToStyle", true);
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage(PageSizePaper.LETTER, false);
// Settings Styles and Numberings from Template to new Docx
StyleDefinitionsPart stylesPart = new StyleDefinitionsPart();
stylesPart.setContents(getStyleFromDocx(templateName).getContents());
wordMLPackage.getMainDocumentPart()
.addTargetPart(stylesPart);
NumberingDefinitionsPart numberingPart = new NumberingDefinitionsPart();
numberingPart.setContents(getNumberingFromDocx(templateName).getContents());
wordMLPackage.getMainDocumentPart()
.addTargetPart(numberingPart); ...