Commit 8f82850f 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@55636 954022d7-b5bf-4e40-9824-e11837661b57
parent f4c94af2
...@@ -8174,7 +8174,7 @@ function Binary_oMathReader(stream) ...@@ -8174,7 +8174,7 @@ function Binary_oMathReader(stream)
props.aln = false; props.aln = false;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.aln = this.stream.GetBool(length); props.aln = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -8186,7 +8186,7 @@ function Binary_oMathReader(stream) ...@@ -8186,7 +8186,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.alnScr = this.stream.GetBool(length); props.alnScr = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -8910,7 +8910,7 @@ function Binary_oMathReader(stream) ...@@ -8910,7 +8910,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.brk = this.stream.GetBool(length); props.brk = this.stream.GetBool();
} }
else if (c_oSer_OMathBottomNodesValType.AlnAt === type) else if (c_oSer_OMathBottomNodesValType.AlnAt === type)
{ {
...@@ -9120,7 +9120,7 @@ function Binary_oMathReader(stream) ...@@ -9120,7 +9120,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.degHide = this.stream.GetBool(length); props.degHide = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -9132,7 +9132,7 @@ function Binary_oMathReader(stream) ...@@ -9132,7 +9132,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.diff = this.stream.GetBool(length); props.diff = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -9614,7 +9614,7 @@ function Binary_oMathReader(stream) ...@@ -9614,7 +9614,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.grow = this.stream.GetBool(length); props.grow = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -10467,7 +10467,7 @@ function Binary_oMathReader(stream) ...@@ -10467,7 +10467,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.noBreak = this.stream.GetBool(length); props.noBreak = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -10583,7 +10583,7 @@ function Binary_oMathReader(stream) ...@@ -10583,7 +10583,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.opEmu = this.stream.GetBool(length); props.opEmu = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -10697,7 +10697,7 @@ function Binary_oMathReader(stream) ...@@ -10697,7 +10697,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.plcHide = this.stream.GetBool(length); props.plcHide = this.stream.GetBool();
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -11352,7 +11352,7 @@ function Binary_oMathReader(stream) ...@@ -11352,7 +11352,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesType.AlnScr === type) if (c_oSer_OMathBottomNodesType.AlnScr === type)
{ {
res = this.bcr.Read1(length, function(t, l){ res = this.bcr.Read2(length, function(t, l){
return oThis.ReadMathAlnScr(t,l,props); return oThis.ReadMathAlnScr(t,l,props);
}); });
} }
......
...@@ -427,4 +427,8 @@ CPhantom.prototype.init = function(props) ...@@ -427,4 +427,8 @@ CPhantom.prototype.init = function(props)
CPhantom.prototype.getPropsForWrite = function() CPhantom.prototype.getPropsForWrite = function()
{ {
return this.props; return this.props;
}
CPhantom.prototype.getBase = function()
{
return this.elements[0][0];
} }
\ No newline at end of file
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