Unplanned
Last Updated: 23 Dec 2019 10:49 by ADMIN
Jesse
Created on: 23 Dec 2019 10:47
Category: WordsProcessing
Type: Bug Report
1
WordsProcessing: HtmlFormatProvider: Wrong evaluation of table width when table width is set to fixed width
 When exporting to HTML file, the table width is wrongly evaluated when the table width (in the original document) is set to fixed width.

Workaround: 
IEnumerable<Table> tables = this.document.EnumerateChildrenOfType<Table>();
foreach (Table table in tables)
{
table.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Auto);
}

IEnumerable<Paragraph> paragraphs = this.document.EnumerateChildrenOfType<Paragraph>();
foreach (Paragraph paragraph in paragraphs)
{
paragraph.Spacing.SpacingAfter = 0;
}
0 comments