Kaydet (Commit) 1a964584 authored tarafından Björn Milcke's avatar Björn Milcke

no special handling any more for DataRowSource

üst de808082
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: PropertyMap.hxx,v $ * $RCSfile: PropertyMap.hxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: bm $ $Date: 2001-05-11 18:17:55 $ * last change: $Author: bm $ $Date: 2001-05-11 18:33:24 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -167,7 +167,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] = ...@@ -167,7 +167,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] =
MAP_ENTRY( "StackedBarsConnected", CHART, connect_bars, XML_TYPE_BOOL ), MAP_ENTRY( "StackedBarsConnected", CHART, connect_bars, XML_TYPE_BOOL ),
// plot-area properties // plot-area properties
MAP_SPECIAL( "DataRowSource", CHART, series_source, XML_SCH_TYPE_DATAROWSOURCE, DATA_ROW_SOURCE ), MAP_ENTRY( "DataRowSource", CHART, series_source, XML_SCH_TYPE_DATAROWSOURCE ),
// axis properties // axis properties
MAP_ENTRY( "DisplayLabels", CHART, display_label, XML_TYPE_BOOL ), MAP_ENTRY( "DisplayLabels", CHART, display_label, XML_TYPE_BOOL ),
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: PropertyMaps.cxx,v $ * $RCSfile: PropertyMaps.cxx,v $
* *
* $Revision: 1.20 $ * $Revision: 1.21 $
* *
* last change: $Author: bm $ $Date: 2001-05-11 18:17:55 $ * last change: $Author: bm $ $Date: 2001-05-11 18:32:30 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -350,15 +350,6 @@ void XMLChartExportPropertyMapper::handleSpecialItem( ...@@ -350,15 +350,6 @@ void XMLChartExportPropertyMapper::handleSpecialItem(
SvXMLUnitConverter::convertDouble( sValueBuffer, fVal ); SvXMLUnitConverter::convertDouble( sValueBuffer, fVal );
} }
break; break;
case XML_SCH_CONTEXT_SPECIAL_DATA_ROW_SOURCE:
{
chart::ChartDataRowSource eRowSource;
cppu::any2enum< chart::ChartDataRowSource >( eRowSource, rProperty.maValue );
SvXMLUnitConverter::convertBool( sValueBuffer,
( eRowSource == chart::ChartDataRowSource_ROWS ));
}
break;
case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER: case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER:
{ {
rProperty.maValue >>= nValue; rProperty.maValue >>= nValue;
...@@ -474,16 +465,6 @@ sal_Bool XMLChartImportPropertyMapper::handleSpecialItem( ...@@ -474,16 +465,6 @@ sal_Bool XMLChartImportPropertyMapper::handleSpecialItem(
rProperty.maValue <<= nValue; rProperty.maValue <<= nValue;
} }
break; break;
case XML_SCH_CONTEXT_SPECIAL_DATA_ROW_SOURCE:
{
SvXMLUnitConverter::convertBool( bValue, rValue );
if( bValue ) // ie data in rows is true
{
chart::ChartDataRowSource eRowSource( chart::ChartDataRowSource_ROWS );
rProperty.maValue <<= eRowSource;
}
}
break;
case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER: case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER:
{ {
// modify old value // modify old value
......
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