Commit d4fe4cad authored by Ilya Kirillov's avatar Ilya Kirillov Committed by Alexander.Trofimov

Bug #32026 Исправлен баг с расчетом висячих строк с учетом колонок.

parent 2d9a943d
......@@ -1976,6 +1976,9 @@ CDocument.prototype =
var StartIndex = this.FullRecalc.StartIndex;
var bResetStartElement = this.FullRecalc.ResetStartElement;
//console.log("Page " + PageIndex + " Section " + SectionIndex + " Column " + ColumnIndex + " Element " + StartIndex);
//console.log(this.RecalcInfo);
var StartPos = this.Get_PageContentStartPos2(PageIndex, ColumnIndex, 0, StartIndex);
var X = StartPos.X;
......
......@@ -1299,7 +1299,7 @@ Paragraph.prototype.private_RecalculateLineBottomBound = function(CurLine, CurPa
&& true === ParaPr.WidowControl
&& CurLine - this.Pages[CurPage].StartLine <= 1
&& CurLine >= 1 && true != PRS.BreakPageLine
&& ( 0 === RealCurPage && null != this.Get_DocumentPrev() ) )
&& ( 0 === CurPage && null != this.Get_DocumentPrev() ) )
{
// Вызываем данную функцию для удаления картинок с предыдущей страницы
this.Recalculate_Drawing_AddPageBreak(0, 0, true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment