Commit 472f3c46 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

вставка формулы в формулу

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53022 954022d7-b5bf-4e40-9824-e11837661b57
parent d1a0d7bb
...@@ -7691,11 +7691,12 @@ ParaMath.prototype = ...@@ -7691,11 +7691,12 @@ ParaMath.prototype =
this.Math.AddLetter( 0x0020 ); this.Math.AddLetter( 0x0020 );
else if ( para_Math === Type ) else if ( para_Math === Type )
{ {
var oCorContent = this.Math.CurrentContent; var oCurContent = this.Math.CurrentContent;
var rPr = oCorContent.getRpr(); var rPr = oCurContent.getCurrRunPrp();
Item.Root.setRPrp(rPr); Item.Math.Root.setRPrp(rPr);
oCorContent.AddContentToContent(Item.Math.Root); oCurContent.addToContent_2(Item.Math.Root);
oCorContent.verifyRPrp_MC_2(rPr); //Item.Measure(g_oTextMeasurer, rPr);
oCurContent.verifyRPrp_MC_2(rPr);
} }
}, },
......
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