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,7 +5209,8 @@
this.handlers.trigger("onDocumentPlaceChanged");
this.cellCommentator.drawCommentCells();
//ToDo this.drawDepCells();
this.objectRender.drawingArea.reinitRanges();
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges();
this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollVertical, rangeGraphic));
return this;
};
......@@ -5305,7 +5306,9 @@
this.handlers.trigger("onDocumentPlaceChanged");
this.cellCommentator.drawCommentCells();
//ToDo this.drawDepCells();
this.objectRender.drawingArea.reinitRanges();
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges();
this.objectRender.showDrawingObjects(false, new GraphicOption(this, c_oAscGraphicOption.ScrollHorizontal, rangeGraphic));
return this;
};
......@@ -9476,7 +9479,9 @@
}
t._calcColumnWidths(/*fullRecalc*/2);
this.objectRender.drawingArea.reinitRanges();
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges();
return (nLastCols !== this.nColsCount || bIsMaxCols);
};
......@@ -9513,7 +9518,8 @@
}
t._calcRowHeights(/*fullRecalc*/2);
this.objectRender.drawingArea.reinitRanges();
if(this.objectRender && this.objectRender.drawingArea)
this.objectRender.drawingArea.reinitRanges();
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