Unplanned
Last Updated: 25 May 2018 07:16 by ADMIN
ADMIN
Tanya
Created on: 23 Feb 2018 15:09
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: Paragraphs that have exact line spacing, are placed in a Table and span on more than one page, are exported to PDF with wrong line spacing

The issue is reproducible only in a specific setup with a specific document. It is related to the calculations of the line spacing when the table row should be split between two pages. Workaround: Change the line spacing:

foreach (var paragraph in this.document.EnumerateChildrenOfType<Paragraph>())
{
    paragraph.Properties.LineSpacingType.LocalValue = HeightType.Auto;
    paragraph.Properties.LineSpacing.LocalValue = 1;
}

0 comments