Commit b8859a32 authored by Sergey Luzyanin's avatar Sergey Luzyanin

to bug 32783

parent a893d380
...@@ -3180,8 +3180,8 @@ function CBinaryFileWriter() ...@@ -3180,8 +3180,8 @@ function CBinaryFileWriter()
fMaxBottomBorder = oBorders.Bottom.Size; fMaxBottomBorder = oBorders.Bottom.Size;
} }
} }
}
oThis._WriteInt1(0, ( (row.Pr.Height.Value + fMaxBottomMargin + fMaxTopMargin + fMaxTopBorder + fMaxBottomBorder) * 36000) >> 0); oThis._WriteInt1(0, ( (row.Pr.Height.Value + fMaxBottomMargin + fMaxTopMargin + fMaxTopBorder + fMaxBottomBorder) * 36000) >> 0);
}
oThis.WriteUChar(g_nodeAttributeEnd); oThis.WriteUChar(g_nodeAttributeEnd);
......
...@@ -1393,7 +1393,7 @@ CPresentation.prototype = ...@@ -1393,7 +1393,7 @@ CPresentation.prototype =
var oMargins = FirstCell.Get_Margins(); var oMargins = FirstCell.Get_Margins();
if(oMargins) if(oMargins)
{ {
ResultHeight -= (oMargins.Top + oMargins.Bottom); ResultHeight -= (oMargins.Top.W + oMargins.Bottom.W);
} }
} }
content[i].Set_Height(ResultHeight, Asc.linerule_AtLeast ); content[i].Set_Height(ResultHeight, Asc.linerule_AtLeast );
......
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