修复空段落不正常输出空行

This commit is contained in:
csh 2024-08-14 13:34:00 +08:00
parent 1cd72f6247
commit d0de1aa227
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ begin
{self.}SetPPr(paragraph_.PPr); {self.}SetPPr(paragraph_.PPr);
{self.}SetLvlText(); {self.}SetLvlText();
ppr := new PPrUnitDecorator(paragraph_.PPr); ppr := new PPrUnitDecorator(paragraph_.PPr);
if not ppr.RPr.Sz.Val then ppr.RPr.Sz.Val := docx_to_pdf_.Font.GetDefaultSz();
{self.}ResetCoordinates(ppr); {self.}ResetCoordinates(ppr);
{self.}EndX := {self.}StartX; {self.}EndX := {self.}StartX;
{self.}EndY := {self.}StartY; {self.}EndY := {self.}StartY;