Fix calculation of the position of the continuous section break
This commit is contained in:
Ilya Kirillov
2026-01-16 13:27:55 +03:00
parent c94bbac623
commit 3270acc485

View File

@ -92,6 +92,18 @@
this.YLimit2 = oFrame.Bottom;
this.Index = nSectionIndex;
this.SectPr = oSectPr;
this.ResetBottomLimitCalculation();
};
DocumentPageSection.prototype.ResetBottomLimitCalculation = function()
{
this.IterationsCount = 0;
this.CurrentY = 0;
this.RecalculateBottomLine = true;
this.CanDecrease = true;
this.WasIncrease = false;
this.IterationStep = 10;
this.IterationDirection = 0;
};
DocumentPageSection.prototype.GetIndex = function()
{