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

Add asc_getChart for min.version

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49244 954022d7-b5bf-4e40-9824-e11837661b57
parent def7168d
...@@ -8,7 +8,7 @@ function CChartAsGroup(drawingBase, drawingObjects) ...@@ -8,7 +8,7 @@ function CChartAsGroup(drawingBase, drawingObjects)
this.vAxisTitle = null; this.vAxisTitle = null;
this.hAxisTitle = null; this.hAxisTitle = null;
this.chart = new CChartData(true); this.chart = new asc_CChart();
this.brush = new CBlipFill(); this.brush = new CBlipFill();
this.spPr = new CSpPr(); this.spPr = new CSpPr();
...@@ -47,6 +47,11 @@ function CChartAsGroup(drawingBase, drawingObjects) ...@@ -47,6 +47,11 @@ function CChartAsGroup(drawingBase, drawingObjects)
CChartAsGroup.prototype = CChartAsGroup.prototype =
{ {
asc_getChart: function()
{
return this.chart;
},
calculateAfterOpen10: function() calculateAfterOpen10: function()
{ {
this.init(); this.init();
...@@ -54,8 +59,6 @@ CChartAsGroup.prototype = ...@@ -54,8 +59,6 @@ CChartAsGroup.prototype =
this.recalculateTransform(); this.recalculateTransform();
}, },
getArrayWrapPolygons: function() getArrayWrapPolygons: function()
{ {
if(this.spPr.geometry) if(this.spPr.geometry)
...@@ -1819,7 +1822,20 @@ CChartAsGroup.prototype = ...@@ -1819,7 +1822,20 @@ CChartAsGroup.prototype =
break; break;
} }
} }
} },
getChartBinary: function()
{
return "_chart_";
},
setChartBinary: function(binary)
{
}
}; };
window["Asc"].CChartAsGroup = CChartAsGroup;
window["Asc"]["CChartAsGroup"] = CChartAsGroup;
prot = CChartAsGroup.prototype;
prot["asc_getChart"] = prot.asc_getChart;
\ No newline at end of file
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