Commit 98570cc8 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с ускорением пересчета таблиц.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64242 954022d7-b5bf-4e40-9824-e11837661b57
parent ed4716fe
...@@ -16281,10 +16281,9 @@ CTable.prototype = ...@@ -16281,10 +16281,9 @@ CTable.prototype =
if ( (0 === Cell.Row.Index && 0 === CurPage) || Cell.Row.Index > FirstRow ) if ( (0 === Cell.Row.Index && 0 === CurPage) || Cell.Row.Index > FirstRow )
{ {
Cell.PagesCount = 1;
Cell.Content.Set_StartPage( CurPage ); Cell.Content.Set_StartPage( CurPage );
if ( true === this.Is_Inline() && 1 === Cell.Content.Pages.length && true != this.RecalcInfo.Check_Cell( Cell ) ) if ( true === this.Is_Inline() && 1 === Cell.PagesCount && 1 === Cell.Content.Pages.length && true != this.RecalcInfo.Check_Cell( Cell ) )
{ {
var X_content_start_old = Cell.Content.Pages[0].X; var X_content_start_old = Cell.Content.Pages[0].X;
var X_content_end_old = Cell.Content.Pages[0].XLimit; var X_content_end_old = Cell.Content.Pages[0].XLimit;
...@@ -16298,6 +16297,7 @@ CTable.prototype = ...@@ -16298,6 +16297,7 @@ CTable.prototype =
} }
} }
Cell.PagesCount = 1;
Cell.Content.Reset( X_content_start, Y_content_start, X_content_end, Y_content_end ); Cell.Content.Reset( X_content_start, Y_content_start, X_content_end, Y_content_end );
} }
......
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