diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-15 11:34:52 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-15 11:34:52 +0000 |
commit | 8e5651cdcce1768a99f5d659d566d016fa45e260 (patch) | |
tree | 9d17c2054ead63dfe4b6f2b220125b17b2561c26 /xmloff/source/chart | |
parent | 0be72c99ad72c32d73a45d2102c500cec62cf674 (diff) |
INTEGRATION: CWS schoasis02 (1.74.64); FILE MERGED
2004/11/03 17:12:22 bm 1.74.64.1: #i36581# chart axis class -> dimension
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index a10d1682ad7f..7d84c6422038 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SchXMLExport.cxx,v $ * - * $Revision: 1.75 $ + * $Revision: 1.76 $ * - * last change: $Author: hr $ $Date: 2004-11-09 18:29:14 $ + * last change: $Author: obo $ $Date: 2004-11-15 12:34:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1967,13 +1967,9 @@ void SchXMLExportHelper::exportAxes( uno::Reference< chart::XDiagram > xDiagram, } if( bExportContent ) { - mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_CLASS, (mnDomainAxes > 0) - ? XML_DOMAIN // scatter (or bubble) chart - : XML_CATEGORY ); - + mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_DIMENSION, XML_X ); mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_NAME, XML_PRIMARY_X ); - // write style name AddAutoStyleAttribute( aPropertyStates ); @@ -2099,10 +2095,7 @@ void SchXMLExportHelper::exportAxes( uno::Reference< chart::XDiagram > xDiagram, } if( bExportContent ) { - mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_CLASS, (mnDomainAxes > 0) - ? XML_DOMAIN // scatter (or bubble) chart - : XML_CATEGORY ); - + mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_DIMENSION, XML_X ); mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_NAME, XML_SECONDARY_X ); AddAutoStyleAttribute( aPropertyStates ); pAxis = new SvXMLElementExport( mrExport, XML_NAMESPACE_CHART, XML_AXIS, sal_True, sal_True ); @@ -2148,7 +2141,7 @@ void SchXMLExportHelper::exportAxes( uno::Reference< chart::XDiagram > xDiagram, } if( bExportContent ) { - mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_CLASS, XML_VALUE ); + mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_DIMENSION, XML_Y ); mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_NAME, XML_PRIMARY_Y ); AddAutoStyleAttribute( aPropertyStates ); pAxis = new SvXMLElementExport( mrExport, XML_NAMESPACE_CHART, XML_AXIS, sal_True, sal_True ); @@ -2255,7 +2248,7 @@ void SchXMLExportHelper::exportAxes( uno::Reference< chart::XDiagram > xDiagram, } if( bExportContent ) { - mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_CLASS, XML_VALUE ); + mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_DIMENSION, XML_Y ); mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_NAME, XML_SECONDARY_Y ); AddAutoStyleAttribute( aPropertyStates ); pAxis = new SvXMLElementExport( mrExport, XML_NAMESPACE_CHART, XML_AXIS, sal_True, sal_True ); @@ -2298,7 +2291,7 @@ void SchXMLExportHelper::exportAxes( uno::Reference< chart::XDiagram > xDiagram, } if( bExportContent ) { - mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_CLASS, XML_SERIES ); + mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_DIMENSION, XML_Z ); mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_NAME, XML_PRIMARY_Z ); AddAutoStyleAttribute( aPropertyStates ); |