Commit faf9a9a8 authored by Ilya Kirillov's avatar Ilya Kirillov

Bug #32129 Исправлен баг с рассчетом высоты строки в таблицах.

parent 6f395ea9
......@@ -2382,6 +2382,9 @@ CTable.prototype.private_RecalculatePage = function(CurPage)
// В данном значении не учитываются маргины
RowHValue = RowH.Value + this.MaxBotMargin[CurRow] + MaxTopMargin;
if (null === CellSpacing)
RowHValue -= this.MaxTopBorder[CurRow];
if ((heightrule_AtLeast === RowH.HRule || heightrule_Exact == RowH.HRule) && Y + RowHValue > Y_content_end && ((0 === CurRow && 0 === CurPage && (null !== this.Get_DocumentPrev() || true === this.Parent.Is_TableCellContent())) || CurRow != FirstRow))
{
bNextPage = true;
......
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