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

Сделано, чтобы пересчет начинался с нормальной координатой по Y для многострочных формул.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60988 954022d7-b5bf-4e40-9824-e11837661b57
parent 3372c016
......@@ -457,7 +457,7 @@ Paragraph.prototype.private_RecalculateFastRange = function(CurRange, CurL
return this.Get_StartPage_Absolute() + CurPage;
};
Paragraph.prototype.private_RecalculatePage = function(CurPage)
Paragraph.prototype.private_RecalculatePage = function(CurPage, bResetPrevLineInfo)
{
var PRS = this.m_oPRSW;
......@@ -490,7 +490,9 @@ Paragraph.prototype.private_RecalculatePage = function(CurPage)
// Изначально обнуляем промежутки обтекания и наличие переноса строки
PRS.Reset_Ranges();
PRS.Reset_PageBreak();
PRS.Reset_PrevLineRecalcInfo();
if (false !== bResetPrevLineInfo)
PRS.Reset_PrevLineRecalcInfo();
var RecalcResult;
while (true)
......@@ -517,7 +519,7 @@ Paragraph.prototype.private_RecalculatePage = function(CurPage)
PRS.Restore_RunRecalcInfo();
else
{
RecalcResult = this.private_RecalculatePage(CurPage);
RecalcResult = this.private_RecalculatePage(CurPage, false);
break;
}
}
......
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