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

214 lines
7.6 KiB
C++
Raw Normal View History

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: SchXMLChartContext.hxx,v $
2000-09-18 16:07:07 +00:00
*
* $Revision: 1.15 $
2000-09-18 16:07:07 +00:00
*
* last change: $Author: hr $ $Date: 2007-06-27 14:47:35 $
2000-09-18 16:07:07 +00:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2000-09-18 16:07:07 +00:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2000-09-18 16:07:07 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
2000-09-18 16:07:07 +00:00
*
* This library 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 for more details.
2000-09-18 16:07:07 +00:00
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
2000-09-18 16:07:07 +00:00
*
************************************************************************/
#ifndef _SCH_XMLCHARTCONTEXT_HXX_
#define _SCH_XMLCHARTCONTEXT_HXX_
#ifndef _XMLOFF_XMLICTXT_HXX
#include <xmloff/xmlictxt.hxx>
2000-09-18 16:07:07 +00:00
#endif
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_H_
#include <com/sun/star/uno/Sequence.h>
#endif
#ifndef _COM_SUN_STAR_DRAWING_XSHAPE_HPP_
#include <com/sun/star/drawing/XShape.hpp>
#endif
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
#ifndef _COM_SUN_STAR_CHART_CHARTDATAROWSOURCE_HPP_
#include <com/sun/star/chart/ChartDataRowSource.hpp>
#endif
#ifndef _COM_SUN_STAR_CHART2_XCHARTDOCUMENT_HPP_
#include <com/sun/star/chart2/XChartDocument.hpp>
#endif
2000-09-18 16:07:07 +00:00
#include "transporttypes.hxx"
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
#include <list>
2000-09-18 16:07:07 +00:00
class SchXMLImport;
class SchXMLImportHelper;
namespace com { namespace sun { namespace star {
namespace chart {
class XChartDocument;
class XDiagram;
struct ChartSeriesAddress;
}
namespace util {
class XStringMapping;
}
namespace xml { namespace sax {
class XAttributeList;
}}
namespace drawing {
class XShapes;
}
}}}
2000-09-18 16:07:07 +00:00
// ----------------------------------------
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
struct SeriesDefaultsAndStyles
{
//default values for series:
::com::sun::star::uno::Any maSymbolTypeDefault;
::com::sun::star::uno::Any maDataCaptionDefault;
::com::sun::star::uno::Any maErrorIndicatorDefault;
::com::sun::star::uno::Any maErrorCategoryDefault;
::com::sun::star::uno::Any maConstantErrorLowDefault;
::com::sun::star::uno::Any maConstantErrorHighDefault;
::com::sun::star::uno::Any maPercentageErrorDefault;
::com::sun::star::uno::Any maErrorMarginDefault;
::com::sun::star::uno::Any maMeanValueDefault;
::com::sun::star::uno::Any maRegressionCurvesDefault;
::com::sun::star::uno::Any maStackedDefault;
::com::sun::star::uno::Any maPercentDefault;
::com::sun::star::uno::Any maDeepDefault;
::com::sun::star::uno::Any maStackedBarsConnectedDefault;
//additional information
::com::sun::star::uno::Any maLinesOnProperty;
//styles for series and datapoints
::std::list< DataRowPointStyle > maSeriesStyleList;
};
2000-09-18 16:07:07 +00:00
class SchXMLChartContext : public SvXMLImportContext
{
private:
SchXMLTable maTable;
SchXMLImportHelper& mrImportHelper;
2001-05-15 11:26:21 +00:00
::rtl::OUString maMainTitle, maSubTitle;
com::sun::star::awt::Point maMainTitlePos, maSubTitlePos, maLegendPos;
2000-09-18 16:07:07 +00:00
sal_Bool mbHasOwnTable;
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
sal_Bool mbAllRangeAddressesAvailable;
sal_Bool mbColHasLabels;
sal_Bool mbRowHasLabels;
::com::sun::star::chart::ChartDataRowSource meDataRowSource;
bool mbIsStockChart;
2000-09-18 16:07:07 +00:00
com::sun::star::uno::Sequence< com::sun::star::chart::ChartSeriesAddress > maSeriesAddresses;
2001-05-15 11:26:21 +00:00
::rtl::OUString msCategoriesAddress;
::rtl::OUString msChartAddress;
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
SeriesDefaultsAndStyles maSeriesDefaultsAndStyles;
tSchXMLLSequencesPerIndex maLSequencesPerIndex;
2000-09-18 16:07:07 +00:00
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > mxDrawPage;
::rtl::OUString msColTrans;
::rtl::OUString msRowTrans;
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
::rtl::OUString maChartTypeServiceName;
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
::com::sun::star::uno::Sequence< sal_Int32 > GetNumberSequenceFromString( const ::rtl::OUString& rStr, bool bAddOneToEachOldIndex );
void MergeSeriesForStockChart();
2000-09-18 16:07:07 +00:00
public:
SchXMLChartContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName );
virtual ~SchXMLChartContext();
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,
const com::sun::star::uno::Reference<
com::sun::star::xml::sax::XAttributeList >& xAttrList );
private:
/** @descr This method bundles some settings to the chart model and executes them with
a locked controller. This includes setting the draw page size and setting
the chart type.
@param aChartSize The size the draw page will be set to.
@param bDomainForDefaultDataNeeded This flag indicates wether the chart's data set
has to contain a domain value.
@param aServiceName The name of the service the diagram is initialized with.
@param bSetWitchData Indicates wether the data set takes it's data series from
rows or from columns.
*/
void InitChart (com::sun::star::awt::Size aChartSize,
sal_Bool bDomainForDefaultDataNeeded,
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
const ::rtl::OUString & rChartTypeServiceName,
sal_Bool bSetSwitchData);
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
void ChangeDiagramAccordingToTemplate(
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >& xNewDoc );
2000-09-18 16:07:07 +00:00
};
// ----------------------------------------
class SchXMLTitleContext : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
rtl::OUString& mrTitle;
com::sun::star::uno::Reference< com::sun::star::drawing::XShape > mxTitleShape;
rtl::OUString msAutoStyleName;
2000-09-18 16:07:07 +00:00
public:
SchXMLTitleContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName,
rtl::OUString& rTitle,
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xTitleShape );
2000-09-18 16:07:07 +00:00
virtual ~SchXMLTitleContext();
virtual void StartElement( const com::sun::star::uno::Reference<
com::sun::star::xml::sax::XAttributeList >& xAttrList );
2000-09-18 16:07:07 +00:00
virtual SvXMLImportContext *CreateChildContext(
USHORT nPrefix,
const rtl::OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
// ----------------------------------------
class SchXMLLegendContext : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
public:
SchXMLLegendContext( SchXMLImportHelper& rImpHelper,
INTEGRATION: CWS chart2mst3 (1.11.308); FILE MERGED 2007/01/29 14:20:30 bm 1.11.308.15: do not need table-number-list on import 2006/12/06 18:50:45 bm 1.11.308.14: #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/14 19:25:37 iha 1.11.308.13: #i71330# xy 'symbols only' get lines when loading older versions 2005/11/28 15:20:31 bm 1.11.308.12: implemented StackedBarsConnected property at Diagram 2005/11/04 17:01:12 iha 1.11.308.11: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/10/25 16:37:33 iha 1.11.308.10: support SequenceMapping 2005/10/09 08:05:50 bm 1.11.308.9: RESYNC: (1.12-1.13); FILE MERGED 2005/07/18 16:11:14 bm 1.11.308.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/06/30 14:24:09 bm 1.11.308.7: import of stacking mode fixed (old deprecated method removed) 2005/06/24 09:07:27 bm 1.11.308.6: stock chart 2005/06/23 14:44:05 iha 1.11.308.5: correct support for statistic properties 2005/06/22 08:17:02 iha 1.11.308.4: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:04 iha 1.11.308.3: set series and point properties after data is available 2005/06/17 17:03:41 bm 1.11.308.2: using new API for im-/export of data 2004/08/25 15:59:14 iha 1.11.308.1: View independent loading - smarter setting of legend & title position
2007-05-22 15:05:50 +00:00
SvXMLImport& rImport, const rtl::OUString& rLocalName );
2000-09-18 16:07:07 +00:00
virtual ~SchXMLLegendContext();
virtual void StartElement( const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
#endif // _SCH_XMLCHARTCONTEXT_HXX_