Commit 7b4026b1 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Исправлен баг с открытием граф.объектов, метрики к-х превышают размеры листа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49317 954022d7-b5bf-4e40-9824-e11837661b57
parent c023572e
......@@ -2688,6 +2688,20 @@ function DrawingObjects() {
var drawingObject = _this.cloneDrawingObject(currentSheet.model.Drawings[i]);
if ( !worksheet.cols[drawingObject.to.col] ) {
while ( !worksheet.cols[drawingObject.to.col] ) {
worksheet.expandColsOnScroll(true);
}
worksheet.expandColsOnScroll(true); // для colOff
}
if ( !worksheet.rows[drawingObject.to.row] ) {
while ( !worksheet.rows[drawingObject.to.row] ) {
worksheet.expandRowsOnScroll(true);
}
worksheet.expandRowsOnScroll(true); // для rowOff
}
if (drawingObject.graphicObject instanceof CChartAsGroup) {
_this.calcChartInterval(drawingObject.graphicObject.chart);
......
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