Is this possible?
Edit:
This is my current css which works for iText documents:
- Code: Select all
.pagebottom {
position:absolute;
bottom:0;
width:100%;
height:35px;
}
It is currently Wed Nov 27, 2024 5:29 pm
.pagebottom {
position:absolute;
bottom:0;
width:100%;
height:35px;
}
<html>
<body>
<table width=\"100%\">
<tr>
<td width=\"33%\">aaa</td>
<td width=\"33%\">aaa</td>
<td width=\"33%\">aaa</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
XHTMLImporterImpl XHTMLImporter = new XHTMLImporterImpl(docxOut);
XHTMLImporter.setParagraphFormatting(FormattingOption.CLASS_PLUS_OTHER);
XHTMLImporter.setRunFormatting(FormattingOption.CLASS_PLUS_OTHER);
XHTMLImporter.setTableFormatting(FormattingOption.IGNORE_CLASS);
XHTMLImporter.setHyperlinkStyle("Hyperlink");
final List<Object> parsedHtml = XHTMLImporter.convert(htmlString, null);
docxOut.getMainDocumentPart().getContent().addAll(parsedHtml);
Total posts 10111 • Total topics 2842 • Total members 2074