Commit 3a19478a authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33144 Fixed an issue with rebuliding a table grid after moving a table ruler.

parent 53b159b6
...@@ -12740,21 +12740,6 @@ CTable.prototype = ...@@ -12740,21 +12740,6 @@ CTable.prototype =
return []; return [];
}, },
private_SetTableLayoutFixedAndUpdateCellsWidth : function(nExceptColNum)
{
if (tbllayout_AutoFit === this.Get_CompiledPr(false).TablePr.TableLayout)
{
this.Set_TableLayout(tbllayout_Fixed);
// Обновляем ширины ячеек
for (var nColIndex = 0; nColIndex < nColsCount; nColIndex++)
{
if (nColIndex != nExceptColNum)
this.Internal_UpdateCellW(nColIndex);
}
}
},
private_UpdateTableRulerOnBorderMove : function(Pos) private_UpdateTableRulerOnBorderMove : function(Pos)
{ {
if (null != this.Selection.Data2.Min) if (null != this.Selection.Data2.Min)
...@@ -13561,6 +13546,21 @@ CTable.prototype.private_CorrectVerticalMerge = function() ...@@ -13561,6 +13546,21 @@ CTable.prototype.private_CorrectVerticalMerge = function()
} }
} }
}; };
CTable.prototype.private_SetTableLayoutFixedAndUpdateCellsWidth = function(nExceptColNum)
{
if (tbllayout_AutoFit === this.Get_CompiledPr(false).TablePr.TableLayout)
{
this.Set_TableLayout(tbllayout_Fixed);
// Обновляем ширины ячеек
var nColsCount = this.TableGrid.length;
for (var nColIndex = 0; nColIndex < nColsCount; nColIndex++)
{
if (nColIndex != nExceptColNum)
this.Internal_UpdateCellW(nColIndex);
}
}
};
//---------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------
// Класс CTableLook // Класс CTableLook
//---------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------
......
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