Files
libreoffice/xmloff/source/chart/SchXMLPlotAreaContext.hxx

338 lines
13 KiB
C++
Raw Normal View History

2000-09-18 16:07:07 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 16:07:07 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2000-09-18 16:07:07 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:07:07 +00:00
*
* $RCSfile: SchXMLPlotAreaContext.hxx,v $
* $Revision: 1.26 $
2000-09-18 16:07:07 +00:00
*
* This file is part of OpenOffice.org.
2000-09-18 16:07:07 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-09-18 16:07:07 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-09-18 16:07:07 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-09-18 16:07:07 +00:00
*
************************************************************************/
#ifndef _SCH_XMLPLOTAREACONTEXT_HXX_
#define _SCH_XMLPLOTAREACONTEXT_HXX_
#include "SchXMLImport.hxx"
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
#include "SchXMLChartContext.hxx"
#include <xmloff/xmlictxt.hxx>
#include <xmloff/shapeimport.hxx>
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
#include <com/sun/star/uno/Sequence.hxx>
2000-09-18 16:07:07 +00:00
#include <com/sun/star/chart/ChartSeriesAddress.hpp>
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
#include <com/sun/star/chart/ChartDataRowSource.hpp>
2000-09-18 16:07:07 +00:00
#include "transporttypes.hxx"
class SvXMLImport;
namespace com { namespace sun { namespace star {
namespace chart {
class XDiagram;
2001-01-15 07:58:30 +00:00
class X3DDisplay;
class XStatisticDisplay;
2000-09-18 16:07:07 +00:00
}
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
namespace chart2 {
class XChartDocument;
}
2000-09-18 16:07:07 +00:00
namespace xml { namespace sax {
class XAttributeList;
}}}}}
// ----------------------------------------
class SchXML3DSceneAttributesHelper : public SdXML3DSceneAttributesHelper
{
public:
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
SchXML3DSceneAttributesHelper( SvXMLImport& rImporter );
virtual ~SchXML3DSceneAttributesHelper();
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
void getCameraDefaultFromDiagram( const ::com::sun::star::uno::Reference< com::sun::star::chart::XDiagram >& xDiagram );
private:
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
SchXML3DSceneAttributesHelper();
};
2000-09-18 16:07:07 +00:00
class SchXMLPlotAreaContext : public SvXMLImportContext
{
public:
SchXMLPlotAreaContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName,
::com::sun::star::uno::Sequence<
::com::sun::star::chart::ChartSeriesAddress >& rSeriesAddresses,
::rtl::OUString& rCategoriesAddress,
::rtl::OUString& rChartAddress,
sal_Bool & rHasOwnTable,
sal_Bool & rAllRangeAddressesAvailable,
sal_Bool & rColHasLabels,
sal_Bool & rRowHasLabels,
::com::sun::star::chart::ChartDataRowSource & rDataRowSource,
SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles,
const ::rtl::OUString& aChartTypeServiceName,
tSchXMLLSequencesPerIndex & rLSequencesPerIndex,
const ::com::sun::star::awt::Size & rChartSize );
virtual ~SchXMLPlotAreaContext();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual SvXMLImportContext* CreateChildContext(
USHORT nPrefix,
const rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual void EndElement();
2000-09-18 16:07:07 +00:00
private:
SchXMLImportHelper& mrImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< com::sun::star::chart::XDiagram > mxDiagram;
::com::sun::star::uno::Reference< com::sun::star::chart2::XChartDocument > mxNewDoc;
::std::vector< SchXMLAxis > maAxes;
::com::sun::star::uno::Sequence< ::com::sun::star::chart::ChartSeriesAddress >& mrSeriesAddresses;
2000-09-18 16:07:07 +00:00
rtl::OUString& mrCategoriesAddress;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
SeriesDefaultsAndStyles& mrSeriesDefaultsAndStyles;
sal_Int32 mnNumOfLinesProp;
sal_Int32 mnNumOfLinesReadBySeries;
sal_Bool mbStockHasVolume;
sal_Int32 mnSeries;
sal_Int32 mnMaxSeriesLength;
SchXML3DSceneAttributesHelper maSceneImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::awt::Size maSize;
::com::sun::star::awt::Point maPosition;
bool mbHasSize;
bool mbHasPosition;
bool mbPercentStacked;
::rtl::OUString msAutoStyleName;
::rtl::OUString& mrChartAddress;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
sal_Bool & mrHasOwnTable;
sal_Bool & mrAllRangeAddressesAvailable;
sal_Bool & mrColHasLabels;
sal_Bool & mrRowHasLabels;
::com::sun::star::chart::ChartDataRowSource & mrDataRowSource;
::rtl::OUString maFirstFirstDomainAddress;
sal_Int32 mnFirstFirstDomainIndex;
::rtl::OUString maChartTypeServiceName;
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex;
sal_Int32 mnCurrentDataIndex;
bool mbGlobalChartTypeUsedBySeries;
::com::sun::star::awt::Size maChartSize;
2000-09-18 16:07:07 +00:00
};
// ----------------------------------------
class SchXMLAxisContext : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::chart::XDiagram > mxDiagram;
2000-09-18 16:07:07 +00:00
SchXMLAxis maCurrentAxis;
std::vector< SchXMLAxis >& maAxes;
rtl::OUString msAutoStyleName;
rtl::OUString& mrCategoriesAddress;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
bool mbAddMissingXAxisForNetCharts; //to correct errors from older versions
bool mbAdaptWrongPercentScaleValues; //to correct errors from older versions
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > getTitleShape();
2000-11-29 13:18:44 +00:00
void CreateGrid( ::rtl::OUString sAutoStyleName, sal_Bool bIsMajor );
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
void CreateAxis();
void SetAxisTitle();
2000-09-18 16:07:07 +00:00
public:
SchXMLAxisContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::chart::XDiagram > xDiagram,
std::vector< SchXMLAxis >& aAxes,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::rtl::OUString& rCategoriesAddress,
bool bAddMissingXAxisForNetCharts,
bool bAdaptWrongPercentScaleValues );
2000-09-18 16:07:07 +00:00
virtual ~SchXMLAxisContext();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual void EndElement();
virtual SvXMLImportContext* CreateChildContext(
USHORT nPrefix,
const rtl::OUString& rLocalName,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
2000-09-18 16:07:07 +00:00
};
//----------------------------------------
class SchXMLDataPointContext : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::std::list< DataRowPointStyle >& mrStyleList;
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > m_xSeries;
2000-09-18 16:07:07 +00:00
sal_Int32& mrIndex;
bool mbSymbolSizeForSeriesIsMissingInFile;
2000-09-18 16:07:07 +00:00
public:
SchXMLDataPointContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::std::list< DataRowPointStyle >& rStyleList,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries, sal_Int32& rIndex,
bool bSymbolSizeForSeriesIsMissingInFile );
2000-09-18 16:07:07 +00:00
virtual ~SchXMLDataPointContext();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
// ----------------------------------------
class SchXMLCategoriesDomainContext : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
rtl::OUString& mrAddress;
public:
SchXMLCategoriesDomainContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
rtl::OUString& rAddress );
virtual ~SchXMLCategoriesDomainContext();
2000-09-18 16:07:07 +00:00
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
2001-01-15 07:58:30 +00:00
// ----------------------------------------
class SchXMLWallFloorContext : public SvXMLImportContext
{
public:
enum ContextType
{
CONTEXT_TYPE_WALL,
CONTEXT_TYPE_FLOOR
};
private:
SchXMLImportHelper& mrImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::chart::X3DDisplay > mxWallFloorSupplier;
2001-01-15 07:58:30 +00:00
ContextType meContextType;
public:
SchXMLWallFloorContext( SchXMLImportHelper& rImportHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::chart::XDiagram >& xDiagram,
2001-01-15 07:58:30 +00:00
ContextType eContextType );
virtual ~SchXMLWallFloorContext();
2001-01-15 07:58:30 +00:00
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
// ----------------------------------------
class SchXMLStockContext : public SvXMLImportContext
{
public:
enum ContextType
{
CONTEXT_TYPE_GAIN,
CONTEXT_TYPE_LOSS,
CONTEXT_TYPE_RANGE
};
private:
SchXMLImportHelper& mrImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::chart::XStatisticDisplay > mxStockPropProvider;
ContextType meContextType;
public:
SchXMLStockContext( SchXMLImportHelper& rImportHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::chart::XDiagram >& xDiagram,
ContextType eContextType );
virtual ~SchXMLStockContext();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
// ----------------------------------------
class SchXMLStatisticsObjectContext : public SvXMLImportContext
{
public:
enum ContextType
{
CONTEXT_TYPE_MEAN_VALUE_LINE,
CONTEXT_TYPE_REGRESSION_CURVE,
CONTEXT_TYPE_ERROR_INDICATOR
};
SchXMLStatisticsObjectContext(
SchXMLImportHelper& rImportHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::std::list< DataRowPointStyle >& rStyleList,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries,
ContextType eContextType,
const ::com::sun::star::awt::Size & rChartSize );
virtual ~SchXMLStatisticsObjectContext();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual SvXMLImportContext* CreateChildContext(
USHORT nPrefix,
const rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
private:
SchXMLImportHelper & mrImportHelper;
INTEGRATION: CWS chart2mst3 (1.16.28); FILE MERGED 2007/04/19 09:51:09 bm 1.16.28.23: #i75530# import explicit chart types at data series in correct order 2007/01/29 14:20:30 bm 1.16.28.22: do not need table-number-list on import 2006/12/06 18:50:46 bm 1.16.28.21: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/30 15:37:00 iha 1.16.28.20: #59288# correct save and load of axis scale values for percent stacked charts 2006/08/16 14:53:12 iha 1.16.28.19: #124495# categories for net chart are not displayed when loading old files 2006/08/02 12:56:22 iha 1.16.28.18: removed unused DomainOffset 2006/06/09 16:31:24 iha 1.16.28.17: worked around wrong camera default in old chart for compatibility 2005/12/21 21:34:24 iha 1.16.28.16: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:53:07 iha 1.16.28.15: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/09 08:07:02 bm 1.16.28.14: RESYNC: (1.19-1.20); FILE MERGED 2005/08/30 16:17:28 bm 1.16.28.13: set axis title content in axis::EndElement (instead of StartElement), because it is not known earlier 2005/07/19 09:30:51 iha 1.16.28.12: create axis before axis title to load axis title 2005/07/18 16:11:15 bm 1.16.28.11: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.16.28.10: change from series index to series identifier 2005/07/04 16:00:24 bm 1.16.28.9: use two member for number of lines: the property at the plot-area and the number of series that have a line class. This way we can deal with both variants 2005/06/30 14:24:12 bm 1.16.28.8: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:29 bm 1.16.28.7: stock chart 2005/06/21 15:19:21 iha 1.16.28.6: set series and point properties after data is available 2005/06/21 12:55:21 iha 1.16.28.5: set correct symbol type defaults to series 2005/06/17 17:03:43 bm 1.16.28.4: using new API for im-/export of data 2004/09/20 17:23:02 bm 1.16.28.3: set stackmode in EndElement, because in StartElement there are no series to set the mode at 2004/08/30 17:13:00 bm 1.16.28.2: RESYNC: (1.16-1.18); FILE MERGED 2004/08/25 16:10:11 iha 1.16.28.1: View independent loading - smarter setting of axis title position and diagram size & position
2007-05-22 15:06:52 +00:00
::std::list< DataRowPointStyle > & mrStyleList;
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > m_xSeries;
ContextType meContextType;
::com::sun::star::awt::Size maChartSize;
};
// ----------------------------------------
class SchXMLEquationContext : public SvXMLImportContext
{
public:
SchXMLEquationContext(
SchXMLImportHelper& rImportHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries,
const ::com::sun::star::awt::Size & rChartSize,
DataRowPointStyle & rRegressionStyle );
virtual ~SchXMLEquationContext();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
private:
SchXMLImportHelper & mrImportHelper;
DataRowPointStyle & mrRegressionStyle;
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > m_xSeries;
::com::sun::star::awt::Size maChartSize;
};
2000-09-18 16:07:07 +00:00
#endif // _SCH_XMLPLOTAREACONTEXT_HXX_