Commit 8210ed7c 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@58687 954022d7-b5bf-4e40-9824-e11837661b57
parent 1e5cb8e3
......@@ -1908,8 +1908,6 @@ function Binary_oMathWriter(memory, oMathPara)
this.WriteMRun = function(oMRun)
{
var oThis = this;
//var oText = {Text: ""};
//oMRun.Get_Text(oText);
var props = oMRun.getPropsForWrite();
var oText = "";
var ContentLen = oMRun.Content.length;
......@@ -2001,9 +1999,10 @@ function Binary_oMathWriter(memory, oMathPara)
}
this.WriteBegChr = function(BegChr)
{
var str = String.fromCharCode(BegChr);
this.memory.WriteByte(c_oSer_OMathBottomNodesValType.Val);
this.memory.WriteByte(c_oSerPropLenType.Variable);
this.memory.WriteString2(BegChr);
this.memory.WriteString2(str);
}
this.WriteBorderBox = function(oBorderBox)
{
......@@ -2081,9 +2080,10 @@ function Binary_oMathWriter(memory, oMathPara)
}
this.WriteChr = function(Chr)
{
var str = String.fromCharCode(Chr);
this.memory.WriteByte(c_oSer_OMathBottomNodesValType.Val);
this.memory.WriteByte(c_oSerPropLenType.Variable);
this.memory.WriteString2(Chr);
this.memory.WriteString2(str);
}
this.WriteCount = function(Count)
{
......@@ -2149,9 +2149,10 @@ function Binary_oMathWriter(memory, oMathPara)
}
this.WriteEndChr = function(EndChr)
{
var str = String.fromCharCode(EndChr);
this.memory.WriteByte(c_oSer_OMathBottomNodesValType.Val);
this.memory.WriteByte(c_oSerPropLenType.Variable);
this.memory.WriteString2(EndChr);
this.memory.WriteString2(str);
}
this.WriteEqArr = function(oEqArr)
{
......@@ -2626,9 +2627,10 @@ function Binary_oMathWriter(memory, oMathPara)
}
this.WriteSepChr = function(SepChr)
{
var str = String.fromCharCode(SepChr);
this.memory.WriteByte(c_oSer_OMathBottomNodesValType.Val);
this.memory.WriteByte(c_oSerPropLenType.Variable);
this.memory.WriteString2(SepChr);
this.memory.WriteString2(str);
}
this.WriteShow = function(Show)
{
......
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