Commit 1d8dc902 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

в объект chart добавлен worksheet

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47508 954022d7-b5bf-4e40-9824-e11837661b57
parent 6abbca64
......@@ -2009,8 +2009,10 @@ function DrawingObjects() {
currentSheet.model.Drawings[i].worksheet = worksheet;
aObjects[i] = _this.cloneDrawingObject(currentSheet.model.Drawings[i]);
if (aObjects[i].isChart())
if (aObjects[i].isChart()) {
_this.calcChartInterval(aObjects[i].chart);
aObjects[i].chart.worksheet = worksheet;
}
if (aObjects[i].isImage())
imageLoader.addImage(aObjects[i].image.src);
......@@ -2863,6 +2865,7 @@ function DrawingObjects() {
copyObject.size.coeff = obj.size.coeff;
copyObject.chart = new asc_CChart(obj.chart);
copyObject.chart.worksheet = obj.chart.worksheet;
return copyObject;
}
......
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