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

Bug #31826 - [Formula][Open/Save] Не поддерживаются параметры в MathSettings

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68672 954022d7-b5bf-4e40-9824-e11837661b57
parent 671f8a35
...@@ -4842,8 +4842,8 @@ function BinarySettingsTableWriter(memory, doc) ...@@ -4842,8 +4842,8 @@ function BinarySettingsTableWriter(memory, doc)
this.WriteMathWrapRight = function(WrapRight) this.WriteMathWrapRight = function(WrapRight)
{ {
this.memory.WriteByte(c_oSer_OMathBottomNodesValType.Val); this.memory.WriteByte(c_oSer_OMathBottomNodesValType.Val);
this.memory.WriteByte(c_oSerPropLenType.Double); this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteDouble(WrapRight); this.memory.WriteBool(WrapRight);
} }
this.WriteColorSchemeMapping = function() this.WriteColorSchemeMapping = function()
{ {
...@@ -11815,6 +11815,7 @@ function Binary_SettingsTableReader(doc, oReadResult, stream) ...@@ -11815,6 +11815,7 @@ function Binary_SettingsTableReader(doc, oReadResult, stream)
} }
else if (c_oSer_MathPrType.SmallFrac === type) else if (c_oSer_MathPrType.SmallFrac === type)
{ {
props.smallFrac = true;
res = this.bcr.Read2(length, function(t, l){ res = this.bcr.Read2(length, function(t, l){
return oThis.ReadMathSmallFrac(t,l,props); return oThis.ReadMathSmallFrac(t,l,props);
}); });
...@@ -11827,6 +11828,7 @@ function Binary_SettingsTableReader(doc, oReadResult, stream) ...@@ -11827,6 +11828,7 @@ function Binary_SettingsTableReader(doc, oReadResult, stream)
} }
else if (c_oSer_MathPrType.WrapRight === type) else if (c_oSer_MathPrType.WrapRight === type)
{ {
props.wrapRight = true;
res = this.bcr.Read2(length, function(t, l){ res = this.bcr.Read2(length, function(t, l){
return oThis.ReadMathWrapRight(t,l,props); return oThis.ReadMathWrapRight(t,l,props);
}); });
......
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