Borders are not correctly imported from HTML.
Workaround: Set borders in code:
var tables = document.EnumerateChildrenOfType<Table>();
var border = new Border(1, BorderStyle.Single, new ThemableColor(Colors.Black));
foreach (var table in tables)
{
table.Borders = new TableBorders(border);
foreach (var row in table.Rows)
{
foreach (var cell in row.Cells)
{
cell.Borders = new TableCellBorders(border);
}
}
}
Hello,
we are describing a reproducable problem (WordProcessing demo page), where DOCX footnotes are not imported as expected.
Current behaviour:
Upon converting a custom DOCX (including footnotes) into a DOCX again, using the WordProcessing demo, the converted document does no longer contain any footnotes.
Expected behaviour:
The downloaded DOCX should still contain all footnotes from the uploaded DOCX after converting it.
How to reproduce:
Is there anything that can be done as a workaround until this has been resolved?
Thank you in advance.
Kind Regards,
Dominik
Revisions in WordprocessingML provide a mechanism for storing information about the evolution of the
document (i.e. the set of modifications made to a document by one or more authors).
Converting some DocX files to PDF format with page numbering leads to incorrect formatting in the exported PDF:
Input DocX:
Output PDF: