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

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

баг с матрицами

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56985 954022d7-b5bf-4e40-9824-e11837661b57
parent fbacb3c1
......@@ -9320,18 +9320,24 @@ function Binary_oMathReader(stream)
{
res = this.bcr.Read1(length, function(t, l){
return oThis.ReadMathMPr(t,l,props);
});
oMatr.row = 0;
oMatr.column = 0;
});
var oMatrix = new CMathMatrix(props);
if (oParent)
oParent.addElementToContent(oMatrix);
oMatr.content = oMatrix;
oMatr.content.row = 0;
oMatr.content.column = 0;
var column = 0;
for (var i=0; i<props.mcs.length; i++)
column += props.mcs[i].count;
for(var i=0; i<props.row; i++)
{
arrContent[i] = [];
for(var j=0; j<props.mcs[i].count; j++)
for(var j=0; j<column; j++)
arrContent[i][j] = oMatrix.getElement(i,j);
}
}
......
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