Commit 15a47dea authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

(2.0.0.146): AVSOfficeDocxFile2

добавлены на чтение диаграммы с типами  Area3DChart, Pie3DChart, SurfaceChart, Surface3DChart.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50817 954022d7-b5bf-4e40-9824-e11837661b57
parent 3af69845
...@@ -901,7 +901,11 @@ var EChartBasicTypes = ...@@ -901,7 +901,11 @@ var EChartBasicTypes =
chartbasicScatterChart: 7, chartbasicScatterChart: 7,
chartbasicRadarChart: 8, chartbasicRadarChart: 8,
chartbasicDoughnutChart: 9, chartbasicDoughnutChart: 9,
chartbasicStockChart: 10 chartbasicStockChart: 10,
chartbasicArea3DChart: 11,
chartbasicPie3DChart: 12,
chartbasicSurfaceChart: 13,
chartbasicSurface3DChart: 14
}; };
/** @enum */ /** @enum */
var EChartBarDerection = var EChartBarDerection =
...@@ -1739,12 +1743,16 @@ function Binary_ChartReader(stream, chart, chartAsGroup) ...@@ -1739,12 +1743,16 @@ function Binary_ChartReader(stream, chart, chartAsGroup)
switch(byteType) switch(byteType)
{ {
case EChartBasicTypes.chartbasicBarChart: case EChartBasicTypes.chartbasicBarChart:
case EChartBasicTypes.chartbasicBar3DChart: this.chartType = c_oAscChartType.hbar;break; case EChartBasicTypes.chartbasicBar3DChart:
case EChartBasicTypes.chartbasicSurfaceChart:
case EChartBasicTypes.chartbasicSurface3DChart: this.chartType = c_oAscChartType.hbar;break;
case EChartBasicTypes.chartbasicAreaChart: case EChartBasicTypes.chartbasicAreaChart:
case EChartBasicTypes.chartbasicArea3DChart:
case EChartBasicTypes.chartbasicRadarChart: this.chartType = c_oAscChartType.area;break; case EChartBasicTypes.chartbasicRadarChart: this.chartType = c_oAscChartType.area;break;
case EChartBasicTypes.chartbasicLineChart: case EChartBasicTypes.chartbasicLineChart:
case EChartBasicTypes.chartbasicLine3DChart: this.chartType = c_oAscChartType.line;break; case EChartBasicTypes.chartbasicLine3DChart: this.chartType = c_oAscChartType.line;break;
case EChartBasicTypes.chartbasicPieChart: case EChartBasicTypes.chartbasicPieChart:
case EChartBasicTypes.chartbasicPie3DChart: this.chartType = c_oAscChartType.pie;break;
case EChartBasicTypes.chartbasicDoughnutChart: this.chartType = c_oAscChartType.pie;break; case EChartBasicTypes.chartbasicDoughnutChart: this.chartType = c_oAscChartType.pie;break;
case EChartBasicTypes.chartbasicBubbleChart: case EChartBasicTypes.chartbasicBubbleChart:
case EChartBasicTypes.chartbasicScatterChart: this.chartType = c_oAscChartType.scatter;break; case EChartBasicTypes.chartbasicScatterChart: this.chartType = c_oAscChartType.scatter;break;
......
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