mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Fix bug #76886
Fix calculation of the position of the continuous section break
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user