Commit bb996ad8 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

проверка на существование objectRenderer

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56082 954022d7-b5bf-4e40-9824-e11837661b57
parent cdd624cf
...@@ -5209,6 +5209,7 @@ ...@@ -5209,6 +5209,7 @@
this.handlers.trigger("onDocumentPlaceChanged"); this.handlers.trigger("onDocumentPlaceChanged");
this.cellCommentator.drawCommentCells(); this.cellCommentator.drawCommentCells();
//ToDo this.drawDepCells(); //ToDo this.drawDepCells();
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges(); this.objectRender.drawingArea.reinitRanges();
this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollVertical, rangeGraphic)); this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollVertical, rangeGraphic));
return this; return this;
...@@ -5305,6 +5306,8 @@ ...@@ -5305,6 +5306,8 @@
this.handlers.trigger("onDocumentPlaceChanged"); this.handlers.trigger("onDocumentPlaceChanged");
this.cellCommentator.drawCommentCells(); this.cellCommentator.drawCommentCells();
//ToDo this.drawDepCells(); //ToDo this.drawDepCells();
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges(); this.objectRender.drawingArea.reinitRanges();
this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollHorizontal, rangeGraphic)); this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollHorizontal, rangeGraphic));
return this; return this;
...@@ -9476,6 +9479,8 @@ ...@@ -9476,6 +9479,8 @@
} }
t._calcColumnWidths(/*fullRecalc*/2); t._calcColumnWidths(/*fullRecalc*/2);
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges(); this.objectRender.drawingArea.reinitRanges();
return (nLastCols !== this.nColsCount || bIsMaxCols); return (nLastCols !== this.nColsCount || bIsMaxCols);
}; };
...@@ -9513,6 +9518,7 @@ ...@@ -9513,6 +9518,7 @@
} }
t._calcRowHeights(/*fullRecalc*/2); t._calcRowHeights(/*fullRecalc*/2);
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges(); this.objectRender.drawingArea.reinitRanges();
return (nLastRows !== this.nRowsCount || bIsMaxRows); return (nLastRows !== this.nRowsCount || bIsMaxRows);
}; };
......
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