Unplanned
Last Updated: 22 Dec 2016 13:03 by ADMIN
ADMIN
Todor
Created on: 09 May 2016 12:50
Category: WordsProcessing
Type: Bug Report
3
WordsProcessing: Table cell spacing value is doubled when a document is exported to docx or RTF
If the Table's TableCellSpacing property is not divided by 2 when the document is exported to Docx or Rtf, this leads to incorrect rendering after the exported document is opened with another editor (RadRichTextBox, MS Word).

Workaround: Divide by two the Table's table cell spacing property value before export to Docx, RTF formats:
foreach (Table table in document.EnumerateChildrenOfType<Table>())
{
    table.TableCellSpacing /= 2;   
}
0 comments