Commit 8afbc966 authored by Anna.Pavlova's avatar Anna.Pavlova

к rev 66499

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66500 954022d7-b5bf-4e40-9824-e11837661b57
parent a7ff4aea
......@@ -1162,7 +1162,6 @@ CMathContent.prototype.private_CorrectContent = function()
EmptyRun = new ParaRun(null, true);
EmptyRun.Set_RFont_ForMathRun();
//this.Apply_TextPrForRunEmpty(EmptyRun, Current);
RPr = Current.Get_CtrPrp(false);
EmptyRun.Apply_Pr(RPr);
this.Internal_Content_Add(CurrPos, EmptyRun);
......@@ -1202,7 +1201,6 @@ CMathContent.prototype.private_CorrectContent = function()
EmptyRun = new ParaRun(null, true);
EmptyRun.Set_RFont_ForMathRun();
//this.Apply_TextPrForRunEmpty(EmptyRun, this.Content[len - 1]);
RPr = this.Content[len - 1].Get_CtrPrp(false);
EmptyRun.Apply_Pr(RPr);
this.Internal_Content_Add(CurrPos, EmptyRun);
......@@ -1210,21 +1208,7 @@ CMathContent.prototype.private_CorrectContent = function()
}
};
/*CMathContent.prototype.Apply_TextPrForRunEmpty = function(emptyRun, Composition)
{
var ctrPrp = Composition.Get_CtrPrp();
var mathPrp = new CMPrp();
mathPrp.SetStyle(ctrPrp.Bold, ctrPrp.Italic);
emptyRun.Set_MathPr(mathPrp);
ctrPrp.Bold = undefined;
ctrPrp.Italic = undefined;
emptyRun.Set_Pr(ctrPrp);
};*/
CMathContent.prototype.Correct_Content = function(bInnerCorrection)
{
if (true === bInnerCorrection)
......
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