Commit 6bdd41cf authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Поправлены Gap у мат объектов

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62019 954022d7-b5bf-4e40-9824-e11837661b57
parent 87337d52
......@@ -102,9 +102,6 @@ CMathBase.prototype.NeedBreakContent = function(Number)
{
this.bCanBreak = true;
this.NumBreakContent = Number;
this.BrGapLeft = this.GapLeft;
this.BrGapRight = this.GapRight;
};
///////// RunPrp, CtrPrp
CMathBase.prototype.setCtrPrp = function(txtPrp) // выставляем ctrPrp на чтение
......@@ -1702,6 +1699,12 @@ CMathBase.prototype.Recalculate_Range = function(PRS, ParaPr, Depth)
var bOneLine = PRS.bMath_OneLine;
this.bOneLine = this.bCanBreak == false || PRS.bMath_OneLine == true;
if(this.kind !== MATH_DELIMITER)
{
this.BrGapLeft = this.GapLeft;
this.BrGapRight = this.GapRight;
}
if(this.bOneLine == true)
{
PRS.bMath_OneLine = this.bOneLine;
......
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