Commit 19f76af1 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27467

Запись текста шла через функцию WriteItem, которая записывала в начало текста его длину.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59567 954022d7-b5bf-4e40-9824-e11837661b57
parent 825c9bc1
......@@ -1933,7 +1933,11 @@ function Binary_oMathWriter(memory, oMathPara)
this.bs.WriteItem(c_oSer_OMathContentType.RPr, function(){oThis.brPrs.Write_rPr(props.wRPrp);}); // w:rPr
this.bs.WriteItem(c_oSer_OMathContentType.MRPr, function(){oThis.WriteMRPr(props.mathRPrp);}); // m:rPr
this.bs.WriteItem(c_oSer_OMathContentType.MText, function(){ oThis.memory.WriteString2(oText);});
if ("" != oText)
{
this.memory.WriteByte(c_oSer_OMathContentType.MText);
this.memory.WriteString2(oText.toString());
}
}
this.WriteAcc = function(oAcc)
{
......@@ -9846,7 +9850,7 @@ function Binary_oMathReader(stream)
res = this.bcr.Read1(length, function(t, l){
return oThis.ReadMathCtrlPr(t,l,props);
});
oParent.content[oParent.content.length-1].setCtrPrp(props.ctrPrp);
oParent.Content[oParent.Content.length-1].setCtrPrp(props.ctrPrp);
}
else
res = c_oSerConstants.ReadUnknown;
......
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