Commit 9920fc79 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

исправлено добавление букв для нового Run

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58372 954022d7-b5bf-4e40-9824-e11837661b57
parent db7f8b02
...@@ -9,6 +9,13 @@ function MathMenu (type) ...@@ -9,6 +9,13 @@ function MathMenu (type)
this.Type = para_Math; this.Type = para_Math;
this.Menu = type; this.Menu = type;
} }
MathMenu.prototype =
{
Get_Type : function()
{
return this.Type;
}
}
function ParaMath() function ParaMath()
{ {
this.Id = g_oIdCounter.Get_NewId(); this.Id = g_oIdCounter.Get_NewId();
...@@ -162,7 +169,7 @@ ParaMath.prototype = ...@@ -162,7 +169,7 @@ ParaMath.prototype =
if ( para_Text === Type) if ( para_Text === Type)
{ {
var oText = new CMathText(false); var oText = new CMathText(false);
oText.addTxt(Item.Value); oText.add(Item.Value);
oStartContent.Add(oText, true); oStartContent.Add(oText, true);
} }
else if ( para_Space === Type ) else if ( para_Space === Type )
......
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