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

для старых формул добавлено выравнивание для EqArray

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63148 954022d7-b5bf-4e40-9824-e11837661b57
parent b604f51f
......@@ -8743,7 +8743,12 @@ function Binary_oMathReader(stream)
var arrContent = [];
res = this.bcr.Read1(length, function(t, l){
return oThis.ReadMathEqArr(t,l,props,oElem,arrContent);
});
});
if (props.mcJc)
{
var oEqArr = oElem.Content[oElem.Content.length-1];
oEqArr.setJustification(props.mcJc);
}
}
else if (c_oSer_OMathContentType.Fraction === type)
{
......@@ -9339,7 +9344,7 @@ function Binary_oMathReader(stream)
if (!props.ctrPrp)
props.ctrPrp = new CTextPr();
props.counter = 0;
var oEqArr = new CEqArray(props);
var oEqArr = new CEqArray(props);
oElem.addElementToContent(oEqArr);
for (var i=0; i<props.row; i++)
arrContent[i] = oEqArr.getElement(i);
......@@ -9383,6 +9388,12 @@ function Binary_oMathReader(stream)
res = this.bcr.Read2(length, function(t, l){
return oThis.ReadMathMaxDist(t,l,props);
});
}
else if (c_oSer_OMathBottomNodesType.McJc === type)
{
res = this.bcr.Read2(length, function(t, l){
return oThis.ReadMathMcJc(t,l,props);
});
}
else if (c_oSer_OMathBottomNodesType.ObjDist === type)
{
......
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