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

Добавлены функции для пересчета формул на Undo/Redo.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58688 954022d7-b5bf-4e40-9824-e11837661b57
parent 8210ed7c
......@@ -5568,6 +5568,9 @@ ParaRun.prototype.Undo = function(Data)
this.RecalcInfo.Measure = true;
this.Paragraph.RecalcInfo.Set_Type_0_Spell( pararecalc_0_Spell_All );
if (para_Math_Run === this.Type && undefined !== this.Parent && null !== this.Parent && null !== this.Parent.ParaMath)
this.Parent.ParaMath.SetNeedResize();
break;
}
......@@ -5583,6 +5586,9 @@ ParaRun.prototype.Undo = function(Data)
this.RecalcInfo.Measure = true;
this.Paragraph.RecalcInfo.Set_Type_0_Spell( pararecalc_0_Spell_All );
if (para_Math_Run === this.Type && undefined !== this.Parent && null !== this.Parent && null !== this.Parent.ParaMath)
this.Parent.ParaMath.SetNeedResize();
break;
}
......@@ -5941,6 +5947,9 @@ ParaRun.prototype.Redo = function(Data)
this.RecalcInfo.Measure = true;
this.Paragraph.RecalcInfo.Set_Type_0_Spell( pararecalc_0_Spell_All );
if (para_Math_Run === this.Type && undefined !== this.Parent && null !== this.Parent && null !== this.Parent.ParaMath)
this.Parent.ParaMath.SetNeedResize();
break;
}
......@@ -5952,6 +5961,9 @@ ParaRun.prototype.Redo = function(Data)
this.RecalcInfo.Measure = true;
this.Paragraph.RecalcInfo.Set_Type_0_Spell( pararecalc_0_Spell_All );
if (para_Math_Run === this.Type && undefined !== this.Parent && null !== this.Parent && null !== this.Parent.ParaMath)
this.Parent.ParaMath.SetNeedResize();
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