支持段前分页

This commit is contained in:
csh 2024-11-04 16:00:06 +08:00
parent 2d6632895b
commit 222577dd74
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,9 @@ begin
{self.}DynamicHeight += ppr_unit_decorator_.Spacing.Before; {self.}DynamicHeight += ppr_unit_decorator_.Spacing.Before;
{self.}SetLvlText(); {self.}SetLvlText();
if paragraph_.PPr.PageBreakBefore then
{self.}CheckAndAddPage({self.}LowerBound, 1);
elements := paragraph_.Elements(); elements := paragraph_.Elements();
empty_flag := true; empty_flag := true;
bookmark_id := ''; bookmark_id := '';