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

139 lines
5.6 KiB
C++
Raw Normal View History

2010-10-27 13:11:31 +01:00
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
*
* This file is part of OpenOffice.org.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +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.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +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).
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +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.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
*
************************************************************************/
#ifndef XMLOFF_SCHXMLSERIES2CONTEXT_HXX
#define XMLOFF_SCHXMLSERIES2CONTEXT_HXX
#include "transporttypes.hxx"
#include "SchXMLChartContext.hxx"
#include <xmloff/xmlictxt.hxx>
#include <xmloff/SchXMLImportHelper.hxx>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
// header for class SvXMLStyleContext
#include <xmloff/xmlstyle.hxx>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
#include <vector>
#include <list>
namespace com { namespace sun { namespace star {
namespace chart2 {
class XChartDocument;
class XDataSeries;
}
namespace awt {
struct Size;
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
}}}
// class for child contexts: series, data point and statistics objects
class SchXMLSeries2Context : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > mxNewDoc;
::std::vector< SchXMLAxis >& mrAxes;
::std::list< DataRowPointStyle >& mrStyleList;
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > m_xSeries;
sal_Int32 mnSeriesIndex;
sal_Int32 mnDataPointIndex;
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Bool m_bStockHasVolume;
GlobalSeriesImportInfo& m_rGlobalSeriesImportInfo;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
SchXMLAxis* mpAttachedAxis;
sal_Int32 mnAttachedAxis;
::rtl::OUString msAutoStyleName;
::std::vector< ::rtl::OUString > maDomainAddresses;
::rtl::OUString maGlobalChartTypeName;
::rtl::OUString maSeriesChartTypeName;
::rtl::OUString m_aSeriesRange;
::rtl::OUString m_aSeriesLabelRange;
bool m_bHasDomainContext;
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex;
tSchXMLLSequencesPerIndex maPostponedSequences;
bool& mrGlobalChartTypeUsedBySeries;
bool mbSymbolSizeIsMissingInFile;
::com::sun::star::awt::Size maChartSize;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
public:
SchXMLSeries2Context( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > & xNewDoc,
std::vector< SchXMLAxis >& rAxes,
::std::list< DataRowPointStyle >& rStyleList,
sal_Int32 nSeriesIndex,
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Bool bStockHasVolume,
GlobalSeriesImportInfo& rGlobalSeriesImportInfo,
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
const ::rtl::OUString & aGlobalChartTypeName,
tSchXMLLSequencesPerIndex & rLSequencesPerIndex,
bool& rGlobalChartTypeUsedBySeries,
const ::com::sun::star::awt::Size & rChartSize );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
virtual ~SchXMLSeries2Context();
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual SvXMLImportContext* CreateChildContext(
sal_uInt16 nPrefix,
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
const rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
virtual void EndElement();
static void initSeriesPropertySets( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xChartModel );
static void setDefaultsToSeries( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles );
static void setStylesToSeries( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, ::rtl::OUString& rCurrStyleName
, SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart
, tSchXMLLSequencesPerIndex & rInOutLSequencesPerIndex );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
static void setStylesToStatisticsObjects( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, ::rtl::OUString& rCurrStyleName );
static void setStylesToDataPoints( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, ::rtl::OUString& rCurrStyleName
, SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart, bool bIsDonutChart, bool bSwitchOffLinesForScatter );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:10 bm 1.1.2.16: #i75530# import explicit chart types at data series in correct order 2006/12/06 18:50:46 bm 1.1.2.15: #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:38 iha 1.1.2.14: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 09:50:40 bm 1.1.2.13: warnings removed 2006/08/02 12:55:15 iha 1.1.2.12: removed unused DomainOffset 2006/08/02 12:26:41 iha 1.1.2.11: read wrongly created files properly while having addin with basediagram xy 2006/06/07 14:59:13 bm 1.1.2.10: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:23 iha 1.1.2.9: wrong include path 2006/02/03 19:52:44 iha 1.1.2.8: remove series index dependency 2005/12/21 21:34:26 iha 1.1.2.7: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/01 12:52:16 iha 1.1.2.6: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/11 11:52:30 bm 1.1.2.5: license header change 2005/07/15 21:00:17 iha 1.1.2.4: change from series index to series identifier 2005/06/24 09:07:30 bm 1.1.2.3: stock chart 2005/06/20 12:35:31 bm 1.1.2.2: scatter chart 2005/06/17 17:03:18 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:11 +00:00
static void switchSeriesLinesOff( ::std::list< DataRowPointStyle >& rSeriesStyleList );
};
// XMLOFF_SCHXMLSERIES2CONTEXT_HXX
#endif
2010-10-27 13:11:31 +01:00
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */