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

1237 lines
50 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
re-base on ALv2 code. Includes: Patches contributed by: Armin Le Grand. #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task. http://svn.apache.org/viewvc?view=revision&revision=1195906 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles http://svn.apache.org/viewvc?view=revision&revision=1293316 #119337# Solves the wrong get/setPropertyValue calls in SvxShapeText (and thus in SvxOle2Shape) http://svn.apache.org/viewvc?view=revision&revision=1344156 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117717#: remove wrong assertion http://svn.apache.org/viewvc?view=revision&revision=1172349 Patch contributed by Herbert Duerr goodbye Registration and License dialogs, don't let the door hit you http://svn.apache.org/viewvc?view=revision&revision=1172613 help gcc 4.6.0 on 32bit ubuntu 11.10" http://svn.apache.org/viewvc?view=revision&revision=1245357 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 Revert "sb140: #i117082# avoid unncessary static class data members commit 21d97438e2944861e26e4984195f959a0cce1e41. remove obsolete FreeBSD visibility special case. retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-12 17:21:24 +00:00
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
2000-09-18 16:07:07 +00:00
2000-09-18 16:07:07 +00:00
#include "SchXMLChartContext.hxx"
#include "SchXMLImport.hxx"
#include "SchXMLLegendContext.hxx"
2000-09-18 16:07:07 +00:00
#include "SchXMLPlotAreaContext.hxx"
#include "SchXMLParagraphContext.hxx"
#include "SchXMLTableContext.hxx"
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
#include "SchXMLSeriesHelper.hxx"
#include "SchXMLSeries2Context.hxx"
#include "SchXMLTools.hxx"
#include <comphelper/mediadescriptor.hxx>
2000-09-18 16:07:07 +00:00
#include <tools/debug.hxx>
#include "xmloff/xmlnmspe.hxx"
#include <xmloff/xmlement.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlstyle.hxx>
#include <xmloff/prstylei.hxx>
2000-09-18 16:07:07 +00:00
#include "vector"
2000-09-18 16:07:07 +00:00
#include <com/sun/star/chart/XChartDocument.hpp>
#include <com/sun/star/chart/XDiagram.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/util/XStringMapping.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
2001-03-26 14:37:47 +00:00
#include <com/sun/star/chart/ChartDataRowSource.hpp>
#include <com/sun/star/chart/ChartSeriesAddress.hpp>
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
#include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/XVisualObject.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/data/XDataSink.hpp>
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XTitled.hpp>
2000-09-18 16:07:07 +00:00
using namespace com::sun::star;
using namespace ::xmloff::token;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
using ::rtl::OUString;
using com::sun::star::uno::Reference;
using namespace ::SchXMLTools;
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
namespace
{
void lcl_setRoleAtLabeledSequence(
const uno::Reference< chart2::data::XLabeledDataSequence > & xLSeq,
const ::rtl::OUString &rRole )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// set role of sequence
uno::Reference< chart2::data::XDataSequence > xValues( xLSeq->getValues());
if( xValues.is())
{
uno::Reference< beans::XPropertySet > xProp( xValues, uno::UNO_QUERY );
if( xProp.is())
xProp->setPropertyValue(OUString( "Role" ), uno::makeAny( rRole ));
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
}
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
void lcl_MoveDataToCandleStickSeries(
const uno::Reference< chart2::data::XDataSource > & xDataSource,
const uno::Reference< chart2::XDataSeries > & xDestination,
const OUString & rRole )
{
try
{
uno::Sequence< uno::Reference< chart2::data::XLabeledDataSequence > > aLabeledSeq(
xDataSource->getDataSequences());
if( aLabeledSeq.getLength())
{
lcl_setRoleAtLabeledSequence( aLabeledSeq[0], rRole );
// add to data series
uno::Reference< chart2::data::XDataSource > xSource( xDestination, uno::UNO_QUERY_THROW );
// @todo: realloc only once outside this function
uno::Sequence< uno::Reference< chart2::data::XLabeledDataSequence > > aData( xSource->getDataSequences());
aData.realloc( aData.getLength() + 1);
aData[ aData.getLength() - 1 ] = aLabeledSeq[0];
uno::Reference< chart2::data::XDataSink > xSink( xDestination, uno::UNO_QUERY_THROW );
xSink->setData( aData );
}
}
2011-06-16 00:26:29 +01:00
catch(const uno::Exception&)
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
OSL_FAIL( "Exception caught while moving data to candlestick series" );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
}
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
void lcl_setRoleAtFirstSequence(
const uno::Reference< chart2::XDataSeries > & xSeries,
const ::rtl::OUString & rRole )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< chart2::data::XDataSource > xSource( xSeries, uno::UNO_QUERY );
if( xSource.is())
{
uno::Sequence< uno::Reference< chart2::data::XLabeledDataSequence > > aSeq( xSource->getDataSequences());
if( aSeq.getLength())
lcl_setRoleAtLabeledSequence( aSeq[0], rRole );
}
}
void lcl_removeEmptyChartTypeGroups( const uno::Reference< chart2::XChartDocument > & xDoc )
{
if( ! xDoc.is())
return;
uno::Reference< chart2::XDiagram > xDia( xDoc->getFirstDiagram());
if( ! xDia.is())
return;
try
{
// count all charttype groups to be able to leave at least one
sal_Int32 nRemainingGroups = 0;
uno::Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDia, uno::UNO_QUERY_THROW );
uno::Sequence< uno::Reference< chart2::XCoordinateSystem > >
aCooSysSeq( xCooSysCnt->getCoordinateSystems());
for( sal_Int32 nI = aCooSysSeq.getLength(); nI--; )
{
uno::Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nI], uno::UNO_QUERY_THROW );
nRemainingGroups += xCTCnt->getChartTypes().getLength();
}
// delete all empty groups, but leave at least group (empty or not)
for( sal_Int32 nI = aCooSysSeq.getLength(); nI-- && (nRemainingGroups > 1); )
{
uno::Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nI], uno::UNO_QUERY_THROW );
uno::Sequence< uno::Reference< chart2::XChartType > > aCTSeq( xCTCnt->getChartTypes());
for( sal_Int32 nJ=aCTSeq.getLength(); nJ-- && (nRemainingGroups > 1); )
{
uno::Reference< chart2::XDataSeriesContainer > xDSCnt( aCTSeq[nJ], uno::UNO_QUERY_THROW );
if( xDSCnt->getDataSeries().getLength() == 0 )
{
// note: iterator stays valid as we have a local sequence
xCTCnt->removeChartType( aCTSeq[nJ] );
--nRemainingGroups;
}
}
}
}
2011-06-16 00:26:29 +01:00
catch(const uno::Exception& ex)
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
2011-10-08 22:01:21 +01:00
rtl::OString aBStr(rtl::OUStringToOString(ex.Message, RTL_TEXTENCODING_ASCII_US));
OSL_TRACE( "Exception caught while removing empty chart types: %s", aBStr.getStr());
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
}
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
uno::Sequence< sal_Int32 > lcl_getNumberSequenceFromString( const ::rtl::OUString& rStr, bool bAddOneToEachOldIndex )
{
const sal_Unicode aSpace( ' ' );
// count number of entries
::std::vector< sal_Int32 > aVec;
sal_Int32 nLastPos = 0;
sal_Int32 nPos = 0;
while( nPos != -1 )
{
nPos = rStr.indexOf( aSpace, nLastPos );
if( nPos > nLastPos )
{
aVec.push_back( rStr.copy( nLastPos, (nPos - nLastPos) ).toInt32() );
}
if( nPos != -1 )
nLastPos = nPos + 1;
}
// last entry
if( nLastPos != 0 &&
rStr.getLength() > nLastPos )
{
aVec.push_back( rStr.copy( nLastPos, (rStr.getLength() - nLastPos) ).toInt32() );
}
const sal_Int32 nVecSize = aVec.size();
uno::Sequence< sal_Int32 > aSeq( nVecSize );
if(!bAddOneToEachOldIndex)
{
sal_Int32* pSeqArr = aSeq.getArray();
for( nPos = 0; nPos < nVecSize; ++nPos )
{
pSeqArr[ nPos ] = aVec[ nPos ];
}
}
else if( bAddOneToEachOldIndex )
{
aSeq.realloc( nVecSize+1 );
aSeq[0]=0;
sal_Int32* pSeqArr = aSeq.getArray();
for( nPos = 0; nPos < nVecSize; ++nPos )
{
pSeqArr[ nPos+1 ] = aVec[ nPos ]+1;
}
}
return aSeq;
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
} // anonymous namespace
2000-09-18 16:07:07 +00:00
// ----------------------------------------
SchXMLChartContext::SchXMLChartContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName ) :
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
mrImportHelper( rImpHelper ),
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
m_bHasRangeAtPlotArea( false ),
m_bHasTableElement( false ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
mbAllRangeAddressesAvailable( sal_True ),
mbColHasLabels( sal_False ),
mbRowHasLabels( sal_False ),
meDataRowSource( chart::ChartDataRowSource_COLUMNS ),
mbIsStockChart( false )
2000-09-18 16:07:07 +00:00
{
}
SchXMLChartContext::~SchXMLChartContext()
{}
void SchXMLChartContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
{
// parse attributes
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
const SvXMLTokenMap& rAttrTokenMap = mrImportHelper.GetChartAttrTokenMap();
uno::Reference< embed::XVisualObject > xVisualObject( mrImportHelper.GetChartDocument(), uno::UNO_QUERY);
DBG_ASSERT(xVisualObject.is(),"need xVisualObject for page size");
if( xVisualObject.is() )
maChartSize = xVisualObject->getVisualAreaSize( embed::Aspects::MSOLE_CONTENT ); //#i103460# take the size given from the parent frame as default
2001-03-26 14:37:47 +00:00
// this flag is necessarry for pie charts in the core
sal_Bool bSetSwitchData = sal_False;
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
::rtl::OUString sAutoStyleName;
::rtl::OUString aOldChartTypeName;
bool bHasAddin = false;
2000-09-18 16:07:07 +00:00
for( sal_Int16 i = 0; i < nAttrCount; i++ )
{
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
rtl::OUString aLocalName;
rtl::OUString aValue = xAttrList->getValueByIndex( i );
sal_uInt16 nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
2000-09-18 16:07:07 +00:00
switch( rAttrTokenMap.Get( nPrefix, aLocalName ))
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
case XML_TOK_CHART_HREF:
m_aXLinkHRefAttributeToIndicateDataProvider = aValue;
break;
2000-09-18 16:07:07 +00:00
case XML_TOK_CHART_CLASS:
{
rtl::OUString sClassName;
sal_uInt16 nClassPrefix =
GetImport().GetNamespaceMap().GetKeyByAttrName(
aValue, &sClassName );
if( XML_NAMESPACE_CHART == nClassPrefix )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
SchXMLChartTypeEnum eChartTypeEnum = SchXMLTools::GetChartTypeEnum( sClassName );
if( eChartTypeEnum != XML_CHART_CLASS_UNKNOWN )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
aOldChartTypeName = SchXMLTools::GetChartTypeByClassName( sClassName, true /* bUseOldNames */ );
maChartTypeServiceName = SchXMLTools::GetChartTypeByClassName( sClassName, false /* bUseOldNames */ );
switch( eChartTypeEnum )
{
2000-09-18 16:07:07 +00:00
case XML_CHART_CLASS_CIRCLE:
2001-03-26 14:37:47 +00:00
bSetSwitchData = sal_True;
2000-09-18 16:07:07 +00:00
break;
case XML_CHART_CLASS_STOCK:
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
mbIsStockChart = true;
2000-09-18 16:07:07 +00:00
break;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
default:
break;
}
2000-09-18 16:07:07 +00:00
}
}
else if( XML_NAMESPACE_OOO == nClassPrefix )
{
// service is taken from add-in-name attribute
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
bHasAddin = true;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
aOldChartTypeName = sClassName;
maChartTypeServiceName = sClassName;
}
2000-09-18 16:07:07 +00:00
}
break;
case XML_TOK_CHART_WIDTH:
GetImport().GetMM100UnitConverter().convertMeasureToCore(
maChartSize.Width, aValue );
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_HEIGHT:
GetImport().GetMM100UnitConverter().convertMeasureToCore(
maChartSize.Height, aValue );
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_STYLE_NAME:
sAutoStyleName = aValue;
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_COL_MAPPING:
msColTrans = aValue;
break;
case XML_TOK_CHART_ROW_MAPPING:
msRowTrans = aValue;
break;
}
}
if( aOldChartTypeName.isEmpty() )
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( "need a charttype to create a diagram" );
//set a fallback value:
::rtl::OUString aChartClass_Bar( GetXMLToken(XML_BAR ) );
aOldChartTypeName = SchXMLTools::GetChartTypeByClassName( aChartClass_Bar, true /* bUseOldNames */ );
maChartTypeServiceName = SchXMLTools::GetChartTypeByClassName( aChartClass_Bar, false /* bUseOldNames */ );
}
// Set the size of the draw page.
if( xVisualObject.is() )
xVisualObject->setVisualAreaSize( embed::Aspects::MSOLE_CONTENT, maChartSize );
InitChart( aOldChartTypeName, bSetSwitchData);
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( bHasAddin )
{
//correct charttype serveice name when having an addin
//and don't refresh addin during load
uno::Reference< beans::XPropertySet > xDocProp( mrImportHelper.GetChartDocument(), uno::UNO_QUERY );
if( xDocProp.is() )
{
try
{
xDocProp->getPropertyValue( ::rtl::OUString( "BaseDiagram" )) >>= aOldChartTypeName;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
maChartTypeServiceName = SchXMLTools::GetNewChartTypeName( aOldChartTypeName );
xDocProp->setPropertyValue( rtl::OUString( "RefreshAddInAllowed" ) , uno::makeAny( sal_False) );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
2011-06-16 00:26:29 +01:00
catch(const uno::Exception&)
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( "Exception during import SchXMLChartContext::StartElement" );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
}
}
// set auto-styles for Area
uno::Reference< beans::XPropertySet > xProp( mrImportHelper.GetChartDocument()->getArea(), uno::UNO_QUERY );
if( xProp.is())
{
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
if( pStylesCtxt )
{
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
mrImportHelper.GetChartFamilyID(), sAutoStyleName );
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp );
}
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
namespace
{
struct NewDonutSeries
{
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > m_xSeries;
::rtl::OUString msStyleName;
sal_Int32 mnAttachedAxis;
::std::vector< ::rtl::OUString > m_aSeriesStyles;
::std::vector< ::rtl::OUString > m_aPointStyles;
NewDonutSeries( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries, sal_Int32 nPointCount )
: m_xSeries( xSeries )
, mnAttachedAxis( 1 )
{
m_aPointStyles.resize(nPointCount);
m_aSeriesStyles.resize(nPointCount);
}
void setSeriesStyleNameToPoint( const ::rtl::OUString& rStyleName, sal_Int32 nPointIndex )
{
DBG_ASSERT(nPointIndex < static_cast<sal_Int32>(m_aSeriesStyles.size()),"donut point <-> series count mismatch");
if( nPointIndex < static_cast<sal_Int32>(m_aSeriesStyles.size()) )
m_aSeriesStyles[nPointIndex]=rStyleName;
}
void setPointStyleNameToPoint( const ::rtl::OUString& rStyleName, sal_Int32 nPointIndex )
{
DBG_ASSERT(nPointIndex < static_cast<sal_Int32>(m_aPointStyles.size()),"donut point <-> series count mismatch");
if( nPointIndex < static_cast<sal_Int32>(m_aPointStyles.size()) )
m_aPointStyles[nPointIndex]=rStyleName;
}
::std::list< DataRowPointStyle > creatStyleList()
{
::std::list< DataRowPointStyle > aRet;
DataRowPointStyle aSeriesStyle( DataRowPointStyle::DATA_SERIES
, m_xSeries, -1, 1, msStyleName, mnAttachedAxis );
aRet.push_back( aSeriesStyle );
sal_Int32 nPointIndex=0;
::std::vector< ::rtl::OUString >::iterator aPointIt( m_aPointStyles.begin() );
::std::vector< ::rtl::OUString >::iterator aPointEnd( m_aPointStyles.end() );
while( aPointIt != aPointEnd )
{
DataRowPointStyle aPointStyle( DataRowPointStyle::DATA_POINT
, m_xSeries, nPointIndex, 1, *aPointIt, mnAttachedAxis );
if( nPointIndex < static_cast<sal_Int32>(m_aSeriesStyles.size()) )
{
aPointStyle.msSeriesStyleNameForDonuts = m_aSeriesStyles[nPointIndex];
}
if( !aPointStyle.msSeriesStyleNameForDonuts.isEmpty()
|| !aPointStyle.msStyleName.isEmpty() )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
aRet.push_back( aPointStyle );
++aPointIt;
++nPointIndex;
}
return aRet;
}
};
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
void lcl_swapPointAndSeriesStylesForDonutCharts( ::std::list< DataRowPointStyle >& rStyleList
, const ::std::map< ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries> , sal_Int32 >& rSeriesMap )
{
::std::list< DataRowPointStyle >::iterator aIt(rStyleList.begin());
::std::list< DataRowPointStyle >::iterator aEnd(rStyleList.end());
//detect old series count
//and add old series to aSeriesMap
::std::map< ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >, sal_Int32 > aSeriesMap(rSeriesMap);
sal_Int32 nOldSeriesCount = 0;
{
sal_Int32 nMaxOldSeriesIndex = 0;
sal_Int32 nOldSeriesIndex = 0;
for( aIt = rStyleList.begin(); aIt != aEnd; ++aIt )
{
DataRowPointStyle aStyle(*aIt);
if(aStyle.meType == DataRowPointStyle::DATA_SERIES &&
aStyle.m_xSeries.is() )
{
nMaxOldSeriesIndex = nOldSeriesIndex;
if( aSeriesMap.end() == aSeriesMap.find(aStyle.m_xSeries) )
aSeriesMap[aStyle.m_xSeries] = nOldSeriesIndex;
nOldSeriesIndex++;
}
}
nOldSeriesCount = nMaxOldSeriesIndex+1;
}
//initialize new series styles
::std::map< Reference< chart2::XDataSeries >, sal_Int32 >::const_iterator aSeriesMapIt( aSeriesMap.begin() );
::std::map< Reference< chart2::XDataSeries >, sal_Int32 >::const_iterator aSeriesMapEnd( aSeriesMap.end() );
//sort by index
::std::vector< NewDonutSeries > aNewSeriesVector;
{
::std::map< sal_Int32, Reference< chart2::XDataSeries > > aIndexSeriesMap;
for( ; aSeriesMapIt != aSeriesMapEnd; ++aSeriesMapIt )
aIndexSeriesMap[aSeriesMapIt->second] = aSeriesMapIt->first;
::std::map< sal_Int32, Reference< chart2::XDataSeries > >::const_iterator aIndexIt( aIndexSeriesMap.begin() );
::std::map< sal_Int32, Reference< chart2::XDataSeries > >::const_iterator aIndexEnd( aIndexSeriesMap.end() );
for( ; aIndexIt != aIndexEnd; ++aIndexIt )
aNewSeriesVector.push_back( NewDonutSeries(aIndexIt->second,nOldSeriesCount) );
}
//overwrite attached axis information according to old series styles
for( aIt = rStyleList.begin(); aIt != aEnd; ++aIt )
{
DataRowPointStyle aStyle(*aIt);
if(aStyle.meType == DataRowPointStyle::DATA_SERIES )
{
aSeriesMapIt = aSeriesMap.find( aStyle.m_xSeries );
if( aSeriesMapIt != aSeriesMapEnd && aSeriesMapIt->second < static_cast<sal_Int32>(aNewSeriesVector.size()) )
aNewSeriesVector[aSeriesMapIt->second].mnAttachedAxis = aStyle.mnAttachedAxis;
}
}
//overwrite new series style names with old series style name information
for( aIt = rStyleList.begin(); aIt != aEnd; ++aIt )
{
DataRowPointStyle aStyle(*aIt);
if( aStyle.meType == DataRowPointStyle::DATA_SERIES )
{
aSeriesMapIt = aSeriesMap.find(aStyle.m_xSeries);
if( aSeriesMapEnd != aSeriesMapIt )
{
sal_Int32 nNewPointIndex = aSeriesMapIt->second;
::std::vector< NewDonutSeries >::iterator aNewSeriesIt( aNewSeriesVector.begin() );
::std::vector< NewDonutSeries >::iterator aNewSeriesEnd( aNewSeriesVector.end() );
for( ;aNewSeriesIt!=aNewSeriesEnd; ++aNewSeriesIt)
aNewSeriesIt->setSeriesStyleNameToPoint( aStyle.msStyleName, nNewPointIndex );
}
}
}
//overwrite new series style names with point style name information
for( aIt = rStyleList.begin(); aIt != aEnd; ++aIt )
{
DataRowPointStyle aStyle(*aIt);
if( aStyle.meType == DataRowPointStyle::DATA_POINT )
{
aSeriesMapIt = aSeriesMap.find(aStyle.m_xSeries);
if( aSeriesMapEnd != aSeriesMapIt )
{
sal_Int32 nNewPointIndex = aSeriesMapIt->second;
sal_Int32 nNewSeriesIndex = aStyle.m_nPointIndex;
sal_Int32 nRepeatCount = aStyle.m_nPointRepeat;
while( nRepeatCount && (nNewSeriesIndex>=0) && (nNewSeriesIndex< static_cast<sal_Int32>(aNewSeriesVector.size()) ) )
{
NewDonutSeries& rNewSeries( aNewSeriesVector[nNewSeriesIndex] );
rNewSeries.setPointStyleNameToPoint( aStyle.msStyleName, nNewPointIndex );
nRepeatCount--;
nNewSeriesIndex++;
}
}
}
}
//put information from aNewSeriesVector to output parameter rStyleList
rStyleList.clear();
::std::vector< NewDonutSeries >::iterator aNewSeriesIt( aNewSeriesVector.begin() );
::std::vector< NewDonutSeries >::iterator aNewSeriesEnd( aNewSeriesVector.end() );
for( ;aNewSeriesIt!=aNewSeriesEnd; ++aNewSeriesIt)
{
::std::list< DataRowPointStyle > aList( aNewSeriesIt->creatStyleList() );
rStyleList.insert(rStyleList.end(),aList.begin(),aList.end());
}
}
bool lcl_SpecialHandlingForDonutChartNeeded(
const ::rtl::OUString & rServiceName,
const SvXMLImport & rImport )
{
bool bResult = false;
if( rServiceName == "com.sun.star.chart2.DonutChartType" )
{
bResult = SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3( rImport.GetModel() );
}
return bResult;
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
} // anonymous namespace
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
static void lcl_ApplyDataFromRectangularRangeToDiagram(
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
const uno::Reference< chart2::XChartDocument >& xNewDoc
, const rtl::OUString& rRectangularRange
, ::com::sun::star::chart::ChartDataRowSource eDataRowSource
, bool bRowHasLabels, bool bColHasLabels
, bool bSwitchOnLabelsAndCategoriesForOwnData
, const rtl::OUString& sColTrans
, const rtl::OUString& sRowTrans )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
if( !xNewDoc.is() )
return;
uno::Reference< chart2::XDiagram > xNewDia( xNewDoc->getFirstDiagram());
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
uno::Reference< chart2::data::XDataProvider > xDataProvider( xNewDoc->getDataProvider() );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( !xNewDia.is() || !xDataProvider.is() )
return;
sal_Bool bFirstCellAsLabel =
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
(eDataRowSource==chart::ChartDataRowSource_COLUMNS)? bRowHasLabels : bColHasLabels;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
sal_Bool bHasCateories =
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
(eDataRowSource==chart::ChartDataRowSource_COLUMNS)? bColHasLabels : bRowHasLabels;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
if( bSwitchOnLabelsAndCategoriesForOwnData )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
bFirstCellAsLabel = true;
bHasCateories = true;
}
uno::Sequence< beans::PropertyValue > aArgs( 3 );
aArgs[0] = beans::PropertyValue(
::rtl::OUString( "CellRangeRepresentation" ),
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
-1, uno::makeAny( rRectangularRange ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
beans::PropertyState_DIRECT_VALUE );
aArgs[1] = beans::PropertyValue(
::rtl::OUString( "DataRowSource" ),
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
-1, uno::makeAny( eDataRowSource ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
beans::PropertyState_DIRECT_VALUE );
aArgs[2] = beans::PropertyValue(
::rtl::OUString( "FirstCellAsLabel" ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
-1, uno::makeAny( bFirstCellAsLabel ),
beans::PropertyState_DIRECT_VALUE );
if( !sColTrans.isEmpty() || !sRowTrans.isEmpty() )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
aArgs.realloc( aArgs.getLength() + 1 );
aArgs[ sal::static_int_cast<sal_uInt32>(aArgs.getLength()) - 1 ] = beans::PropertyValue(
::rtl::OUString( "SequenceMapping" ),
-1, uno::makeAny( !sColTrans.isEmpty()
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
? lcl_getNumberSequenceFromString( sColTrans, bHasCateories && !xNewDoc->hasInternalDataProvider() )
: lcl_getNumberSequenceFromString( sRowTrans, bHasCateories && !xNewDoc->hasInternalDataProvider() ) ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
beans::PropertyState_DIRECT_VALUE );
}
//work around wrong writer ranges ( see Issue 58464 )
{
rtl::OUString aChartOleObjectName;
uno::Reference< frame::XModel > xModel(xNewDoc, uno::UNO_QUERY );
if( xModel.is() )
{
comphelper::MediaDescriptor aMediaDescriptor( xModel->getArgs() );
comphelper::MediaDescriptor::const_iterator aIt(
aMediaDescriptor.find( rtl::OUString( "HierarchicalDocumentName" )));
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( aIt != aMediaDescriptor.end() )
{
aChartOleObjectName = (*aIt).second.get< ::rtl::OUString >();
}
}
if( !aChartOleObjectName.isEmpty() )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
aArgs.realloc( aArgs.getLength() + 1 );
aArgs[ sal::static_int_cast<sal_uInt32>(aArgs.getLength()) - 1 ] = beans::PropertyValue(
::rtl::OUString( "ChartOleObjectName" ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
-1, uno::makeAny( aChartOleObjectName ),
beans::PropertyState_DIRECT_VALUE );
}
}
uno::Reference< chart2::data::XDataSource > xDataSource(
xDataProvider->createDataSource( aArgs ));
aArgs.realloc( aArgs.getLength() + 2 );
aArgs[ sal::static_int_cast<sal_uInt32>(aArgs.getLength()) - 2 ] = beans::PropertyValue(
::rtl::OUString( "HasCategories" ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
-1, uno::makeAny( bHasCateories ),
beans::PropertyState_DIRECT_VALUE );
aArgs[ sal::static_int_cast<sal_uInt32>(aArgs.getLength()) - 1 ] = beans::PropertyValue(
::rtl::OUString("UseCategoriesAsX"),
-1, uno::makeAny( sal_False ),//categories in ODF files are not to be used as x values (independent from what is offered in our ui)
beans::PropertyState_DIRECT_VALUE );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
xNewDia->setDiagramData( xDataSource, aArgs );
2000-09-18 16:07:07 +00:00
}
void SchXMLChartContext::EndElement()
{
uno::Reference< chart::XChartDocument > xDoc = mrImportHelper.GetChartDocument();
uno::Reference< beans::XPropertySet > xProp( xDoc, uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< chart2::XChartDocument > xNewDoc( xDoc, uno::UNO_QUERY );
2000-09-18 16:07:07 +00:00
if( xProp.is())
{
if( !maMainTitle.isEmpty())
2000-09-18 16:07:07 +00:00
{
uno::Reference< beans::XPropertySet > xTitleProp( xDoc->getTitle(), uno::UNO_QUERY );
if( xTitleProp.is())
{
try
{
uno::Any aAny;
aAny <<= maMainTitle;
xTitleProp->setPropertyValue( rtl::OUString( "String" ), aAny );
}
2011-06-16 00:26:29 +01:00
catch(const beans::UnknownPropertyException&)
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( "Property String for Title not available" );
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
2000-09-18 16:07:07 +00:00
}
if( !maSubTitle.isEmpty())
2000-09-18 16:07:07 +00:00
{
uno::Reference< beans::XPropertySet > xTitleProp( xDoc->getSubTitle(), uno::UNO_QUERY );
if( xTitleProp.is())
{
try
{
uno::Any aAny;
aAny <<= maSubTitle;
xTitleProp->setPropertyValue( rtl::OUString( "String" ), aAny );
}
2011-06-16 00:26:29 +01:00
catch(const beans::UnknownPropertyException&)
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( "Property String for Title not available" );
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
2000-09-18 16:07:07 +00:00
}
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// cleanup: remove empty chart type groups
lcl_removeEmptyChartTypeGroups( xNewDoc );
// set stack mode before a potential chart type detection (in case we have a rectangular range)
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< chart::XDiagram > xDiagram( xDoc->getDiagram() );
uno::Reference< beans::XPropertySet > xDiaProp( xDiagram, uno::UNO_QUERY );
if( xDiaProp.is())
{
if( maSeriesDefaultsAndStyles.maStackedDefault.hasValue())
xDiaProp->setPropertyValue(::rtl::OUString("Stacked"),maSeriesDefaultsAndStyles.maStackedDefault);
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( maSeriesDefaultsAndStyles.maPercentDefault.hasValue())
xDiaProp->setPropertyValue(::rtl::OUString("Percent"),maSeriesDefaultsAndStyles.maPercentDefault);
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( maSeriesDefaultsAndStyles.maDeepDefault.hasValue())
xDiaProp->setPropertyValue(::rtl::OUString("Deep"),maSeriesDefaultsAndStyles.maDeepDefault);
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( maSeriesDefaultsAndStyles.maStackedBarsConnectedDefault.hasValue())
xDiaProp->setPropertyValue(::rtl::OUString("StackedBarsConnected"),maSeriesDefaultsAndStyles.maStackedBarsConnectedDefault);
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
//the OOo 2.0 implementation and older has a bug with donuts
bool bSpecialHandlingForDonutChart = lcl_SpecialHandlingForDonutChartNeeded(
maChartTypeServiceName, GetImport());
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// apply data
if(!xNewDoc.is())
return;
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bool bHasOwnData = false;
if( m_aXLinkHRefAttributeToIndicateDataProvider == "." ) //data comes from the chart itself
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bHasOwnData = true;
else if( m_aXLinkHRefAttributeToIndicateDataProvider == ".." ) //data comes from the parent application
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bHasOwnData = false;
else if( !m_aXLinkHRefAttributeToIndicateDataProvider.isEmpty() ) //not supported so far to get the data by sibling objects -> fall back to chart itself if data are available
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bHasOwnData = m_bHasTableElement;
else
bHasOwnData = !m_bHasRangeAtPlotArea;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( xNewDoc->hasInternalDataProvider())
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
{
if( !m_bHasTableElement && m_aXLinkHRefAttributeToIndicateDataProvider != "." )
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
{
//#i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area
bool bSwitchSuccessful = SchXMLTools::switchBackToDataProviderFromParent( xNewDoc, maLSequencesPerIndex );
bHasOwnData = !bSwitchSuccessful;
}
else
bHasOwnData = true;//e.g. in case of copy->paste from calc to impress
}
else if( bHasOwnData )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
xNewDoc->createInternalDataProvider( sal_False /* bCloneExistingData */ );
}
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
if( bHasOwnData )
msChartAddress = ::rtl::OUString( "all" );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bool bSwitchRangesFromOuterToInternalIfNecessary = false;
if( !bHasOwnData && mbAllRangeAddressesAvailable )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// special handling for stock chart (merge series together)
if( mbIsStockChart )
MergeSeriesForStockChart();
2000-09-18 16:07:07 +00:00
}
else if( !msChartAddress.isEmpty() )
2000-09-18 16:07:07 +00:00
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
//own data or only rectangular range available
if( xNewDoc->hasInternalDataProvider() )
SchXMLTableHelper::applyTableToInternalDataProvider( maTable, xNewDoc );
CWS-TOOLING: integrate CWS koheichart01 2009-05-15 06:32:38 +0200 hde r271925 : header fixed 2009-04-14 16:23:35 +0200 hde r270792 : #100231# 2009-04-14 16:13:48 +0200 hde r270790 : #100231# 2009-04-14 15:56:14 +0200 hde r270787 : #100231# 2009-04-14 14:28:40 +0200 hde r270767 : #100231# 2009-04-14 14:27:30 +0200 hde r270766 : #100231# 2009-04-14 09:43:07 +0200 hde r270749 : #100231# 2009-04-14 09:25:52 +0200 hde r270748 : #100231# 2009-03-25 16:18:26 +0100 iha r270034 : #i91578# removed compiler warning 2009-03-25 03:20:36 +0100 kohei r269992 : fixed a silly typo in in-line comment. 2009-03-24 17:03:57 +0100 kohei r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's hidden state. 2009-03-24 16:53:10 +0100 kohei r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled elsewhere. 2009-03-24 16:50:12 +0100 kohei r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more). 2009-03-24 16:47:56 +0100 kohei r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is false. Also avoid adding data cache when the cell is hidden. 2009-03-24 06:05:53 +0100 kohei r269909 : fixed the build breakage after the resync. 2009-03-24 06:05:34 +0100 kohei r269908 : fixed the build breakage after the resync. 2009-03-23 23:38:36 +0100 kohei r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk@269781 (milestone: DEV300:m44) 2009-03-17 13:11:40 +0100 iha r269597 : #i91578# import IncludeHiddenCells from xlsx 2009-03-17 12:56:09 +0100 iha r269594 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-17 12:49:13 +0100 iha r269592 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-16 17:03:55 +0100 iha r269561 : #i91578# remove unused variable 2009-03-16 10:22:30 +0100 iha r269509 : #i91578# changed wording 2009-03-04 17:07:16 +0100 iha r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:04:22 +0100 iha r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:03:43 +0100 iha r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 16:24:30 +0100 iha r268843 : #i91578# display of hidden cells - added missing property description 2009-03-04 15:13:04 +0100 iha r268835 : #i91578# display of hidden cells - remove unused code 2009-03-04 14:38:44 +0100 iha r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo 2009-03-04 13:42:10 +0100 iha r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:40:10 +0100 iha r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:37:05 +0100 iha r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-03 11:18:39 +0100 iha r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider 2009-03-02 17:41:37 +0100 kohei r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of problem during rebase. 2009-02-27 18:51:34 +0100 iha r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:45:48 +0100 iha r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:44:17 +0100 iha r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:35:09 +0100 iha r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste 2009-02-19 06:47:56 +0100 kohei r268257 : also, set the default value of a cached cell to NaN just in case. 2009-02-19 06:42:08 +0100 kohei r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value. This fixes the broken missing value treatment. 2009-02-18 20:16:30 +0100 iha r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore 2009-02-17 17:57:24 +0100 iha r268185 : #i91578# display of hidden cells - corrected range highlighting 2009-02-17 15:39:52 +0100 iha r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer 2009-02-17 11:21:00 +0100 iha r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-17 11:15:14 +0100 iha r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-16 16:48:10 +0100 iha r267826 : #i91578# display of hidden cells - group related ids and minimize changes 2009-02-16 14:32:11 +0100 iha r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file 2009-02-16 13:21:44 +0100 iha r267795 : #i91578# display of hidden cells - remove unused member 2009-02-16 13:13:40 +0100 iha r267794 : #i91578# display of hidden cells - remove unused methods 2009-02-16 13:00:10 +0100 iha r267792 : #i91578# display of hidden - avoid unnecessary data copy 2009-02-16 11:40:41 +0100 iha r267785 : #i91578# display of hidden - corrected typo 2009-02-16 11:28:39 +0100 iha r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells 2009-02-13 17:04:50 +0100 iha r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts 2009-02-13 15:30:17 +0100 iha r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells 2009-01-14 19:47:28 +0100 kohei r266330 : #i91578# Fixed the issue with incorrect tooltip category values. 2009-01-05 22:27:03 +0100 kohei r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates. 2008-12-24 17:01:15 +0100 kohei r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk@265758 (milestone: DEV300:m38) 2008-12-24 16:03:08 +0100 kohei r265799 : a little more code cleanup, mostly on tab to whitespace conversion on modified lines and removal of unnecessary 'using' statements. 2008-12-24 15:52:00 +0100 kohei r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells' options it false! I'm glad I caught this. 2008-12-24 07:41:23 +0100 kohei r265796 : replaced duplicated local functions with a single template function. 2008-12-24 06:37:15 +0100 kohei r265795 : reverted my last commit, because it was not the right approach. Instead of using the original data point index in the object name, leave that index alone, and remove hidden data in the tooltip text value lookup code. 2008-12-23 23:10:42 +0100 kohei r265793 : fixed the tooltips so that they would display correct values, taking into account the hidden data points (if any). 2008-12-20 05:26:07 +0100 kohei r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk@264807 (milestone: DEV300:m37) 2008-12-18 15:49:59 +0100 kohei r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578. 2008-12-05 20:27:24 +0100 kohei r264918 : removed a compiler warning. 2008-12-05 20:24:02 +0100 kohei r264917 : removed a compilar warning. 2008-12-03 17:06:22 +0100 kohei r264800 : recovered the original keyword file before it was stripped. 2008-12-01 22:00:24 +0100 kohei r264640 : by default, "include hidden cells" attribute is true. 2008-12-01 19:03:07 +0100 kohei r264628 : added accelerator for the plot hidden values check box. 2008-12-01 18:32:02 +0100 kohei r264626 : changed wording per Ingrid's suggestion. 2008-11-26 08:09:36 +0100 kohei r264341 : the 'Starnding angle' fixed line was 6 pixel short. 2008-11-26 08:02:47 +0100 kohei r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup. 2008-11-26 07:41:45 +0100 kohei r264339 : relocate the controls correctly for line chart types. 2008-11-26 07:14:26 +0100 kohei r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions. 2008-11-26 07:11:54 +0100 kohei r264336 : added "Include hidden cells" check box in the data series options tab page. 2008-11-25 21:04:58 +0100 kohei r264333 : don't check for the number of charts; when importing from xls, the count may be zero even when the document has charts. 2008-11-25 19:55:50 +0100 kohei r264332 : patch from ooo-build applied. This implements chart listener that listens on cells show/hide state for the chart's data areas. 2008-11-25 19:52:38 +0100 kohei r264331 : patch from ooo-build applied. 2008-11-25 19:29:54 +0100 kohei r264329 : new xml token for include-hidden-cells attribute.
2009-05-18 16:46:40 +00:00
bool bOlderThan2_3 = SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3( Reference< frame::XModel >( xNewDoc, uno::UNO_QUERY ));
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bool bOldFileWithOwnDataFromRows = (bOlderThan2_3 && bHasOwnData && (meDataRowSource==chart::ChartDataRowSource_ROWS)); // in this case there are range addresses that are simply wrong.
if( mbAllRangeAddressesAvailable && !bSpecialHandlingForDonutChart && !mbIsStockChart &&
!bOldFileWithOwnDataFromRows )
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
//bHasOwnData is true in this case!
//e.g. for normal files with own data or also in case of copy paste scenario (e.g. calc to impress)
bSwitchRangesFromOuterToInternalIfNecessary = true;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
else
2000-09-18 16:07:07 +00:00
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
//apply data from rectangular range
// create datasource from data provider with rectangular range parameters and change the diagram setDiagramData
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
try
2000-09-18 16:07:07 +00:00
{
CWS-TOOLING: integrate CWS koheichart01 2009-05-15 06:32:38 +0200 hde r271925 : header fixed 2009-04-14 16:23:35 +0200 hde r270792 : #100231# 2009-04-14 16:13:48 +0200 hde r270790 : #100231# 2009-04-14 15:56:14 +0200 hde r270787 : #100231# 2009-04-14 14:28:40 +0200 hde r270767 : #100231# 2009-04-14 14:27:30 +0200 hde r270766 : #100231# 2009-04-14 09:43:07 +0200 hde r270749 : #100231# 2009-04-14 09:25:52 +0200 hde r270748 : #100231# 2009-03-25 16:18:26 +0100 iha r270034 : #i91578# removed compiler warning 2009-03-25 03:20:36 +0100 kohei r269992 : fixed a silly typo in in-line comment. 2009-03-24 17:03:57 +0100 kohei r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's hidden state. 2009-03-24 16:53:10 +0100 kohei r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled elsewhere. 2009-03-24 16:50:12 +0100 kohei r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more). 2009-03-24 16:47:56 +0100 kohei r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is false. Also avoid adding data cache when the cell is hidden. 2009-03-24 06:05:53 +0100 kohei r269909 : fixed the build breakage after the resync. 2009-03-24 06:05:34 +0100 kohei r269908 : fixed the build breakage after the resync. 2009-03-23 23:38:36 +0100 kohei r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk@269781 (milestone: DEV300:m44) 2009-03-17 13:11:40 +0100 iha r269597 : #i91578# import IncludeHiddenCells from xlsx 2009-03-17 12:56:09 +0100 iha r269594 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-17 12:49:13 +0100 iha r269592 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-16 17:03:55 +0100 iha r269561 : #i91578# remove unused variable 2009-03-16 10:22:30 +0100 iha r269509 : #i91578# changed wording 2009-03-04 17:07:16 +0100 iha r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:04:22 +0100 iha r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:03:43 +0100 iha r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 16:24:30 +0100 iha r268843 : #i91578# display of hidden cells - added missing property description 2009-03-04 15:13:04 +0100 iha r268835 : #i91578# display of hidden cells - remove unused code 2009-03-04 14:38:44 +0100 iha r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo 2009-03-04 13:42:10 +0100 iha r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:40:10 +0100 iha r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:37:05 +0100 iha r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-03 11:18:39 +0100 iha r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider 2009-03-02 17:41:37 +0100 kohei r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of problem during rebase. 2009-02-27 18:51:34 +0100 iha r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:45:48 +0100 iha r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:44:17 +0100 iha r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:35:09 +0100 iha r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste 2009-02-19 06:47:56 +0100 kohei r268257 : also, set the default value of a cached cell to NaN just in case. 2009-02-19 06:42:08 +0100 kohei r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value. This fixes the broken missing value treatment. 2009-02-18 20:16:30 +0100 iha r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore 2009-02-17 17:57:24 +0100 iha r268185 : #i91578# display of hidden cells - corrected range highlighting 2009-02-17 15:39:52 +0100 iha r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer 2009-02-17 11:21:00 +0100 iha r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-17 11:15:14 +0100 iha r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-16 16:48:10 +0100 iha r267826 : #i91578# display of hidden cells - group related ids and minimize changes 2009-02-16 14:32:11 +0100 iha r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file 2009-02-16 13:21:44 +0100 iha r267795 : #i91578# display of hidden cells - remove unused member 2009-02-16 13:13:40 +0100 iha r267794 : #i91578# display of hidden cells - remove unused methods 2009-02-16 13:00:10 +0100 iha r267792 : #i91578# display of hidden - avoid unnecessary data copy 2009-02-16 11:40:41 +0100 iha r267785 : #i91578# display of hidden - corrected typo 2009-02-16 11:28:39 +0100 iha r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells 2009-02-13 17:04:50 +0100 iha r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts 2009-02-13 15:30:17 +0100 iha r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells 2009-01-14 19:47:28 +0100 kohei r266330 : #i91578# Fixed the issue with incorrect tooltip category values. 2009-01-05 22:27:03 +0100 kohei r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates. 2008-12-24 17:01:15 +0100 kohei r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk@265758 (milestone: DEV300:m38) 2008-12-24 16:03:08 +0100 kohei r265799 : a little more code cleanup, mostly on tab to whitespace conversion on modified lines and removal of unnecessary 'using' statements. 2008-12-24 15:52:00 +0100 kohei r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells' options it false! I'm glad I caught this. 2008-12-24 07:41:23 +0100 kohei r265796 : replaced duplicated local functions with a single template function. 2008-12-24 06:37:15 +0100 kohei r265795 : reverted my last commit, because it was not the right approach. Instead of using the original data point index in the object name, leave that index alone, and remove hidden data in the tooltip text value lookup code. 2008-12-23 23:10:42 +0100 kohei r265793 : fixed the tooltips so that they would display correct values, taking into account the hidden data points (if any). 2008-12-20 05:26:07 +0100 kohei r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk@264807 (milestone: DEV300:m37) 2008-12-18 15:49:59 +0100 kohei r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578. 2008-12-05 20:27:24 +0100 kohei r264918 : removed a compiler warning. 2008-12-05 20:24:02 +0100 kohei r264917 : removed a compilar warning. 2008-12-03 17:06:22 +0100 kohei r264800 : recovered the original keyword file before it was stripped. 2008-12-01 22:00:24 +0100 kohei r264640 : by default, "include hidden cells" attribute is true. 2008-12-01 19:03:07 +0100 kohei r264628 : added accelerator for the plot hidden values check box. 2008-12-01 18:32:02 +0100 kohei r264626 : changed wording per Ingrid's suggestion. 2008-11-26 08:09:36 +0100 kohei r264341 : the 'Starnding angle' fixed line was 6 pixel short. 2008-11-26 08:02:47 +0100 kohei r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup. 2008-11-26 07:41:45 +0100 kohei r264339 : relocate the controls correctly for line chart types. 2008-11-26 07:14:26 +0100 kohei r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions. 2008-11-26 07:11:54 +0100 kohei r264336 : added "Include hidden cells" check box in the data series options tab page. 2008-11-25 21:04:58 +0100 kohei r264333 : don't check for the number of charts; when importing from xls, the count may be zero even when the document has charts. 2008-11-25 19:55:50 +0100 kohei r264332 : patch from ooo-build applied. This implements chart listener that listens on cells show/hide state for the chart's data areas. 2008-11-25 19:52:38 +0100 kohei r264331 : patch from ooo-build applied. 2008-11-25 19:29:54 +0100 kohei r264329 : new xml token for include-hidden-cells attribute.
2009-05-18 16:46:40 +00:00
if( bOlderThan2_3 && xDiaProp.is() )//for older charts the hidden cells were removed by calc on the fly
xDiaProp->setPropertyValue(::rtl::OUString("IncludeHiddenCells"),uno::makeAny(false));
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
// note: mbRowHasLabels means the first row contains labels, that means we have "column-descriptions",
// (analogously mbColHasLabels means we have "row-descriptions")
lcl_ApplyDataFromRectangularRangeToDiagram( xNewDoc, msChartAddress, meDataRowSource, mbRowHasLabels, mbColHasLabels, bHasOwnData, msColTrans, msRowTrans );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
2011-06-16 00:26:29 +01:00
catch(const uno::Exception&)
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
//try to fallback to internal data
2011-03-01 19:07:44 +01:00
OSL_FAIL( "Exception during import SchXMLChartContext::lcl_ApplyDataFromRectangularRangeToDiagram try to fallback to internal data" );
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
if(!bHasOwnData)
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
bHasOwnData = true;
msChartAddress = ::rtl::OUString( "all" );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( !xNewDoc->hasInternalDataProvider() )
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
xNewDoc->createInternalDataProvider( sal_False /* bCloneExistingData */ );
SchXMLTableHelper::applyTableToInternalDataProvider( maTable, xNewDoc );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
try
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
lcl_ApplyDataFromRectangularRangeToDiagram( xNewDoc, msChartAddress, meDataRowSource, mbRowHasLabels, mbColHasLabels, bHasOwnData, msColTrans, msRowTrans );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
2011-06-16 00:26:29 +01:00
catch(const uno::Exception&)
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( "Exception during import SchXMLChartContext::lcl_ApplyDataFromRectangularRangeToDiagram fallback to internal data failed also" );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
}
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
}
}
else
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( " Must not get here" );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// now all series and data point properties are available and can be set
{
if( bSpecialHandlingForDonutChart )
{
uno::Reference< chart2::XDiagram > xNewDiagram( xNewDoc->getFirstDiagram() );
lcl_swapPointAndSeriesStylesForDonutCharts( maSeriesDefaultsAndStyles.maSeriesStyleList
, SchXMLSeriesHelper::getDataSeriesIndexMapFromDiagram(xNewDiagram) );
}
2000-09-18 16:07:07 +00:00
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
SchXMLSeries2Context::initSeriesPropertySets( maSeriesDefaultsAndStyles, uno::Reference< frame::XModel >(xDoc, uno::UNO_QUERY ) );
//set defaults from diagram to the new series:
//check whether we need to remove lines from symbol only charts
bool bSwitchOffLinesForScatter = false;
{
bool bLinesOn = true;
if( (maSeriesDefaultsAndStyles.maLinesOnProperty >>= bLinesOn) && !bLinesOn )
{
if( 0 == maChartTypeServiceName.reverseCompareTo( "com.sun.star.chart2.ScatterChartType" ) )
{
bSwitchOffLinesForScatter = true;
SchXMLSeries2Context::switchSeriesLinesOff( maSeriesDefaultsAndStyles.maSeriesStyleList );
}
}
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
SchXMLSeries2Context::setDefaultsToSeries( maSeriesDefaultsAndStyles );
// set autostyles for series and data points
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
const SvXMLStyleContext* pStyle = NULL;
::rtl::OUString sCurrStyleName;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( pStylesCtxt )
{
//iterate over data-series first
//don't set series styles for donut charts
if( !bSpecialHandlingForDonutChart )
{
SchXMLSeries2Context::setStylesToSeries( maSeriesDefaultsAndStyles
, pStylesCtxt, pStyle, sCurrStyleName, mrImportHelper, GetImport(), mbIsStockChart, maLSequencesPerIndex );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// ... then set attributes for statistics (after their existence was set in the series)
SchXMLSeries2Context::setStylesToStatisticsObjects( maSeriesDefaultsAndStyles
, pStylesCtxt, pStyle, sCurrStyleName );
}
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
//#i98319# call switchRangesFromOuterToInternalIfNecessary before the data point styles are applied, otherwise in copy->paste scenario the data point styles do get lost
if( bSwitchRangesFromOuterToInternalIfNecessary )
{
if( xNewDoc->hasInternalDataProvider() )
SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary( maTable, maLSequencesPerIndex, xNewDoc, meDataRowSource );
}
if( pStylesCtxt )
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// ... then iterate over data-point attributes, so the latter are not overwritten
SchXMLSeries2Context::setStylesToDataPoints( maSeriesDefaultsAndStyles
, pStylesCtxt, pStyle, sCurrStyleName, mrImportHelper, GetImport(), mbIsStockChart, bSpecialHandlingForDonutChart, bSwitchOffLinesForScatter );
2000-09-18 16:07:07 +00:00
}
}
2000-09-18 16:07:07 +00:00
if( xProp.is())
xProp->setPropertyValue( rtl::OUString( "RefreshAddInAllowed" ) , uno::makeAny( sal_True) );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
void SchXMLChartContext::MergeSeriesForStockChart()
{
OSL_ASSERT( mbIsStockChart );
try
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< chart::XChartDocument > xOldDoc( mrImportHelper.GetChartDocument());
uno::Reference< chart2::XChartDocument > xDoc( xOldDoc, uno::UNO_QUERY_THROW );
uno::Reference< chart2::XDiagram > xDiagram( xDoc->getFirstDiagram());
if( ! xDiagram.is())
return;
bool bHasJapaneseCandlestick = true;
uno::Reference< chart2::XDataSeriesContainer > xDSContainer;
uno::Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW );
uno::Sequence< uno::Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSystems());
for( sal_Int32 nCooSysIdx=0; nCooSysIdx<aCooSysSeq.getLength(); ++nCooSysIdx )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY_THROW );
uno::Sequence< uno::Reference< chart2::XChartType > > aChartTypes( xCTCnt->getChartTypes());
for( sal_Int32 nCTIdx=0; nCTIdx<aChartTypes.getLength(); ++nCTIdx )
2000-09-18 16:07:07 +00:00
{
if( aChartTypes[nCTIdx]->getChartType() == "com.sun.star.chart2.CandleStickChartType" )
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
xDSContainer.set( aChartTypes[nCTIdx], uno::UNO_QUERY_THROW );
uno::Reference< beans::XPropertySet > xCTProp( aChartTypes[nCTIdx], uno::UNO_QUERY_THROW );
xCTProp->getPropertyValue( ::rtl::OUString( "Japanese" )) >>= bHasJapaneseCandlestick;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
break;
}
2000-09-18 16:07:07 +00:00
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
}
if( xDSContainer.is())
{
// with japanese candlesticks: open, low, high, close
// otherwise: low, high, close
uno::Sequence< uno::Reference< chart2::XDataSeries > > aSeriesSeq( xDSContainer->getDataSeries());
const sal_Int32 nSeriesCount( aSeriesSeq.getLength());
const sal_Int32 nSeriesPerCandleStick = bHasJapaneseCandlestick ? 4: 3;
sal_Int32 nCandleStickCount = nSeriesCount / nSeriesPerCandleStick;
OSL_ASSERT( nSeriesPerCandleStick * nCandleStickCount == nSeriesCount );
uno::Sequence< uno::Reference< chart2::XDataSeries > > aNewSeries( nCandleStickCount );
for( sal_Int32 i=0; i<nCandleStickCount; ++i )
2000-09-18 16:07:07 +00:00
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
sal_Int32 nSeriesIndex = i*nSeriesPerCandleStick;
if( bHasJapaneseCandlestick )
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// open values
lcl_setRoleAtFirstSequence( aSeriesSeq[ nSeriesIndex ], OUString( "values-first" ));
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
aNewSeries[i] = aSeriesSeq[ nSeriesIndex ];
// low values
lcl_MoveDataToCandleStickSeries(
uno::Reference< chart2::data::XDataSource >( aSeriesSeq[ ++nSeriesIndex ], uno::UNO_QUERY_THROW ),
aNewSeries[i], OUString( "values-min" ));
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
else
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// low values
lcl_setRoleAtFirstSequence( aSeriesSeq[ nSeriesIndex ], OUString( "values-min" ));
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
aNewSeries[i] = aSeriesSeq[ nSeriesIndex ];
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// high values
lcl_MoveDataToCandleStickSeries(
uno::Reference< chart2::data::XDataSource >( aSeriesSeq[ ++nSeriesIndex ], uno::UNO_QUERY_THROW ),
aNewSeries[i], OUString( "values-max" ));
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// close values
lcl_MoveDataToCandleStickSeries(
uno::Reference< chart2::data::XDataSource >( aSeriesSeq[ ++nSeriesIndex ], uno::UNO_QUERY_THROW ),
aNewSeries[i], OUString( "values-last" ));
2000-09-18 16:07:07 +00:00
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
xDSContainer->setDataSeries( aNewSeries );
}
2000-09-18 16:07:07 +00:00
}
2011-06-16 00:26:29 +01:00
catch(const uno::Exception&)
{
2011-03-01 19:07:44 +01:00
OSL_FAIL( "Exception while merging series for stock chart" );
}
2000-09-18 16:07:07 +00:00
}
SvXMLImportContext* SchXMLChartContext::CreateChildContext(
sal_uInt16 nPrefix,
2000-09-18 16:07:07 +00:00
const rtl::OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >& xAttrList )
{
static const sal_Bool bTrue = sal_True;
static const uno::Any aTrueBool( &bTrue, ::getBooleanCppuType());
2000-09-18 16:07:07 +00:00
SvXMLImportContext* pContext = 0;
const SvXMLTokenMap& rTokenMap = mrImportHelper.GetChartElemTokenMap();
uno::Reference< chart::XChartDocument > xDoc = mrImportHelper.GetChartDocument();
uno::Reference< beans::XPropertySet > xProp( xDoc, uno::UNO_QUERY );
2000-09-18 16:07:07 +00:00
switch( rTokenMap.Get( nPrefix, rLocalName ))
{
case XML_TOK_CHART_PLOT_AREA:
pContext = new SchXMLPlotAreaContext( mrImportHelper, GetImport(), rLocalName,
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
m_aXLinkHRefAttributeToIndicateDataProvider,
msCategoriesAddress,
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
msChartAddress, m_bHasRangeAtPlotArea, mbAllRangeAddressesAvailable,
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
mbColHasLabels, mbRowHasLabels,
meDataRowSource,
maSeriesDefaultsAndStyles,
maChartTypeServiceName,
maLSequencesPerIndex, maChartSize );
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_TITLE:
if( xDoc.is())
{
if( xProp.is())
{
xProp->setPropertyValue( rtl::OUString( "HasMainTitle" ), aTrueBool );
}
uno::Reference< drawing::XShape > xTitleShape( xDoc->getTitle(), uno::UNO_QUERY );
pContext = new SchXMLTitleContext( mrImportHelper, GetImport(),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
rLocalName, maMainTitle, xTitleShape );
}
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_SUBTITLE:
if( xDoc.is())
{
if( xProp.is())
{
xProp->setPropertyValue( rtl::OUString( "HasSubTitle" ), aTrueBool );
}
uno::Reference< drawing::XShape > xTitleShape( xDoc->getSubTitle(), uno::UNO_QUERY );
pContext = new SchXMLTitleContext( mrImportHelper, GetImport(),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
rLocalName, maSubTitle, xTitleShape );
}
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_LEGEND:
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
pContext = new SchXMLLegendContext( mrImportHelper, GetImport(), rLocalName );
2000-09-18 16:07:07 +00:00
break;
case XML_TOK_CHART_TABLE:
{
SchXMLTableContext * pTableContext =
new SchXMLTableContext( mrImportHelper, GetImport(), rLocalName, maTable );
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
m_bHasTableElement = true;
// #i85913# take into account column- and row- mapping for
// charts with own data only for those which were not copied
// from a place where they got data from the container. Note,
// that this requires the plot-area been read before the table
// (which is required in the ODF spec)
// Note: For stock charts and donut charts with special handling
// the mapping must not be applied!
if( msChartAddress.isEmpty() && !mbIsStockChart &&
!lcl_SpecialHandlingForDonutChartNeeded(
maChartTypeServiceName, GetImport()))
{
if( !msColTrans.isEmpty() )
{
OSL_ASSERT( msRowTrans.isEmpty() );
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
pTableContext->setColumnPermutation( lcl_getNumberSequenceFromString( msColTrans, true ));
msColTrans = OUString();
}
else if( !msRowTrans.isEmpty() )
{
CWS-TOOLING: integrate CWS chart39 2009-06-30 16:55:46 +0200 iha r273522 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-30 16:45:59 +0200 iha r273521 : #i102701# apply patch for P1 issue on dev300m50 to be able to save again 2009-06-30 16:32:32 +0200 iha r273520 : #i103209# im-/export attribute xlink:href at chart:chart element + some cleanup in naming 2009-06-29 10:04:34 +0200 iha r273454 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-26 19:31:16 +0200 iha r273437 : #i103147# ODF, workaround broken files with a missing table:cell-range-address at the plot-area 2009-06-25 10:36:28 +0200 iha r273367 : #i101968# text values in data range cause incorrect x values 2009-06-24 17:34:18 +0200 iha r273357 : #i102428# x values are wrong in xy-scatter-chart with own data table if empty cells are contained in x values 2009-06-24 10:16:25 +0200 iha r273317 : #i99915# wrong matrix translation causes broken chart display for small values 2009-06-19 17:20:06 +0200 iha r273174 : #i78025# charts own borders are not completely visible 2009-06-19 17:18:41 +0200 iha r273172 : #i102950# don't paint additional borders for charts 2009-06-11 16:27:54 +0200 iha r272884 : CWS-TOOLING: rebase CWS chart39 to trunk@272827 (milestone: DEV300:m50) 2009-06-09 17:50:10 +0200 iha r272790 : #i97222# when converting a chart via API to 3D categories get lost and for line,area&xy the stacking mode is wrong 2009-06-09 16:00:27 +0200 iha r272775 : #i98319# data point properties get lost while copying charts from calc to impress 2009-06-09 10:26:51 +0200 iha r272755 : #i98392# correct orienation of gradient fillings on 3D walls 2009-05-29 10:35:16 +0200 iha r272436 : #i100529# Plot missing values - leave gap fails for smoothed lines 2009-05-04 18:20:31 +0200 iha r271478 : #i99841# Title with Vertically stacked attribute is wrong after editing 2009-05-04 18:03:01 +0200 iha r271477 : #i101050# avoid a corner in closed lines, which are smoothed by spline 2009-05-04 16:45:18 +0200 iha r271472 : #i101050# avoid crash in case the normals sequence has less points than the polygon
2009-07-28 10:25:31 +00:00
pTableContext->setRowPermutation( lcl_getNumberSequenceFromString( msRowTrans, true ));
msRowTrans = OUString();
}
}
pContext = pTableContext;
}
2000-09-18 16:07:07 +00:00
break;
default:
// try importing as an additional shape
if( ! mxDrawPage.is())
{
uno::Reference< drawing::XDrawPageSupplier > xSupp( xDoc, uno::UNO_QUERY );
if( xSupp.is())
mxDrawPage = uno::Reference< drawing::XShapes >( xSupp->getDrawPage(), uno::UNO_QUERY );
DBG_ASSERT( mxDrawPage.is(), "Invalid Chart Page" );
}
if( mxDrawPage.is())
pContext = GetImport().GetShapeImport()->CreateGroupChildContext(
GetImport(), nPrefix, rLocalName, xAttrList, mxDrawPage );
break;
2000-09-18 16:07:07 +00:00
}
if( ! pContext )
pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
return pContext;
}
/*
With a locked controller the following is done here:
1. Hide title, subtitle, and legend.
2. Set the size of the draw page.
3. Set a (logically) empty data set.
4. Set the chart type.
*/
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
void SchXMLChartContext::InitChart(
const OUString & rChartTypeServiceName, // currently the old service name
sal_Bool /* bSetSwitchData */ )
{
uno::Reference< chart::XChartDocument > xDoc = mrImportHelper.GetChartDocument();
DBG_ASSERT( xDoc.is(), "No valid document!" );
uno::Reference< frame::XModel > xModel (xDoc, uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
// Remove Title and Diagram ("De-InitNew")
uno::Reference< chart2::XChartDocument > xNewDoc( mrImportHelper.GetChartDocument(), uno::UNO_QUERY );
if( xNewDoc.is())
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
xNewDoc->setFirstDiagram( 0 );
uno::Reference< chart2::XTitled > xTitled( xNewDoc, uno::UNO_QUERY );
if( xTitled.is())
xTitled->setTitleObject( 0 );
}
// Set the chart type via setting the diagram.
if( !rChartTypeServiceName.isEmpty() && xDoc.is())
{
uno::Reference< lang::XMultiServiceFactory > xFact( xDoc, uno::UNO_QUERY );
if( xFact.is())
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< chart::XDiagram > xDia( xFact->createInstance( rChartTypeServiceName ), uno::UNO_QUERY );
if( xDia.is())
xDoc->setDiagram( xDia );
}
}
}
2000-09-18 16:07:07 +00:00
// ----------------------------------------
SchXMLTitleContext::SchXMLTitleContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport,
const rtl::OUString& rLocalName,
rtl::OUString& rTitle,
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
uno::Reference< drawing::XShape >& xTitleShape ) :
2000-09-18 16:07:07 +00:00
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
mrImportHelper( rImpHelper ),
mrTitle( rTitle ),
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
mxTitleShape( xTitleShape )
2000-09-18 16:07:07 +00:00
{
}
SchXMLTitleContext::~SchXMLTitleContext()
{}
void SchXMLTitleContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
{
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
com::sun::star::awt::Point maPosition;
bool bHasXPosition=false;
bool bHasYPosition=false;
for( sal_Int16 i = 0; i < nAttrCount; i++ )
{
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
rtl::OUString aLocalName;
rtl::OUString aValue = xAttrList->getValueByIndex( i );
sal_uInt16 nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
if( nPrefix == XML_NAMESPACE_SVG )
{
if( IsXMLToken( aLocalName, XML_X ) )
{
GetImport().GetMM100UnitConverter().convertMeasureToCore(
maPosition.X, aValue );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
bHasXPosition = true;
}
else if( IsXMLToken( aLocalName, XML_Y ) )
{
GetImport().GetMM100UnitConverter().convertMeasureToCore(
maPosition.Y, aValue );
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
bHasYPosition = true;
}
}
else if( nPrefix == XML_NAMESPACE_CHART )
{
if( IsXMLToken( aLocalName, XML_STYLE_NAME ) )
msAutoStyleName = aValue;
}
}
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( mxTitleShape.is())
{
INTEGRATION: CWS chart2mst3 (1.29.28); FILE MERGED 2007/02/15 15:41:52 bm 1.29.28.64: assertion removed in EndElement: at that place we do not always have internal data 2007/01/29 14:20:30 bm 1.29.28.63: do not need table-number-list on import 2006/12/12 19:16:49 bm 1.29.28.62: use applyTableSimple instead of applyTable for stock charts with own data 2006/12/12 18:08:35 iha 1.29.28.61: correct loading of old donuts after clipboard impl 2006/12/07 16:32:06 bm 1.29.28.60: #i64497# some more fixes for clipboard 2006/12/06 18:50:45 bm 1.29.28.59: #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/17 14:08:29 iha 1.29.28.58: fallback to internal data table for wrong files with wrong range strings see issue i59297, example document e.g. issue 16280 2006/11/14 19:25:37 iha 1.29.28.57: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/27 11:10:33 iha 1.29.28.56: removed warning error 2006/10/26 19:36:49 iha 1.29.28.55: correct order of series when importing old style donuts 2006/10/20 09:50:39 bm 1.29.28.54: warnings removed 2006/10/19 16:21:35 bm 1.29.28.53: warnings removed 2006/10/19 09:59:00 bm 1.29.28.52: RESYNC: (1.32-1.34); FILE MERGED 2006/08/25 18:29:00 iha 1.29.28.51: #i58457# cope with wrong files for donuts from older versions and also with corrected ones 2006/08/08 15:03:39 iha 1.29.28.50: don't refresh addin when loading is not finished 2006/08/01 09:27:52 iha 1.29.28.49: use correct charttype for series creation when having addin 2006/08/01 09:25:37 iha 1.29.28.48: helping methods for chart im- and export 2006/06/22 14:49:38 bm 1.29.28.47: correct loading of data table for charts with own data and empty msChartAddress 2006/06/17 16:11:05 bm 1.29.28.46: const removed on error 2006/06/07 14:59:12 bm 1.29.28.45: #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/05/15 11:56:08 bm 1.29.28.44: legend has fill-style NONE per default, although in the model the default is SOLID 2006/05/15 09:46:02 bm 1.29.28.43: #i64497# allow loading charts with external data references in containers that do not support those (like Impress) for clipboard from Calc to Impress to work. 2006/04/22 10:54:51 iha 1.29.28.42: park unused categories in scale with AxisType not being CATEGORY( own data has always categories) 2006/02/03 19:52:10 iha 1.29.28.41: remove series index dependency 2005/12/21 21:34:21 iha 1.29.28.40: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/29 18:05:59 iha 1.29.28.39: #i58464# work around wrong writer ranges in file 2005/11/28 15:20:30 bm 1.29.28.38: implemented StackedBarsConnected property at Diagram 2005/11/05 11:34:00 iha 1.29.28.37: fixed loading of donut styles also if old series count is less than old point count 2005/11/05 01:26:15 iha 1.29.28.36: fix loading of donut series and point styles - work around of OOo 2.0 and older 2005/11/04 17:01:23 iha 1.29.28.35: cleanup moced code to new method ChangeDiagramAccordingToTemplate 2005/11/03 18:22:39 iha 1.29.28.34: fix sequence mapping for internal data 2005/11/02 22:54:09 iha 1.29.28.33: don't clone data if creating internal dataprovider 2005/11/02 22:52:37 iha 1.29.28.32: correct sequence mapping 2005/10/29 09:42:20 iha 1.29.28.31: support SequenceMapping also for chart local data 2005/10/28 12:18:03 iha 1.29.28.30: enhanced exception message 2005/10/25 16:38:11 iha 1.29.28.29: support SequenceMapping 2005/10/24 10:45:02 iha 1.29.28.28: coordinate system restructure 2005/10/13 17:37:22 iha 1.29.28.27: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/09 08:05:36 bm 1.29.28.26: RESYNC: (1.31-1.32); FILE MERGED 2005/09/08 15:46:08 iha 1.29.28.25: lock controller for binary loading already before the dataprovider gets attached 2005/08/30 16:54:29 iha 1.29.28.24: lock controllers only once starting the import and unlock after all was imported -> necessary to get no update notifications during import of binary files 2005/08/29 16:24:11 bm 1.29.28.23: clean chart properly before loading (binfilter uses flat XML which calls InitNew. The default data must be removed) 2005/08/19 16:10:22 bm 1.29.28.22: chart2::XChartDocument: getDiagram -> getFirstDiagram 2005/08/15 13:09:11 bm 1.29.28.21: applyTableSimple: gets the data directly. This eases filling the internal data provider 2005/08/03 13:34:46 bm 1.29.28.20: bug on import of stock charts (wrong series reused) 2005/07/22 11:00:18 bm 1.29.28.19: set stack mode before a potential template detection (in case we have a rectangular range) 2005/07/22 08:35:47 bm 1.29.28.18: remove empty chart type groups before a potential template detection for changing the diagram data 2005/07/19 17:02:26 bm 1.29.28.17: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:14 bm 1.29.28.16: 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:15 iha 1.29.28.15: change from series index to series identifier 2005/07/01 16:18:50 bm 1.29.28.14: remove empty chart type groups 2005/06/30 14:24:08 bm 1.29.28.13: import of stacking mode fixed (old deprecated method removed) 2005/06/24 13:07:12 bm 1.29.28.12: stock chart 2005/06/24 09:07:27 bm 1.29.28.11: stock chart 2005/06/23 14:44:26 iha 1.29.28.10: correct support for statistic properties 2005/06/22 08:17:59 iha 1.29.28.9: load property DataCaption at diagram, series and data point correctly 2005/06/21 15:18:38 iha 1.29.28.8: set series and point properties after data is available 2005/06/17 17:03:40 bm 1.29.28.7: using new API for im-/export of data 2005/06/01 16:06:05 iha 1.29.28.6: use visarea for page size 2005/04/19 17:54:39 iha 1.29.28.5: remove unused property ExportData 2005/03/17 11:21:00 bm 1.29.28.4: RESYNC: (1.29-1.30); FILE MERGED 2004/08/26 15:39:29 iha 1.29.28.3: View independent loading - different setting of page size 2004/08/25 16:47:51 iha 1.29.28.2: removed unused code 2004/08/25 16:00:43 iha 1.29.28.1: View independent loading - smarter setting of legend & title and diagram position
2007-05-22 15:05:37 +00:00
if( bHasXPosition && bHasYPosition )
mxTitleShape->setPosition( maPosition );
uno::Reference< beans::XPropertySet > xProp( mxTitleShape, uno::UNO_QUERY );
if( xProp.is())
{
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
if( pStylesCtxt )
{
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
mrImportHelper.GetChartFamilyID(), msAutoStyleName );
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xProp );
}
}
}
}
2000-09-18 16:07:07 +00:00
SvXMLImportContext* SchXMLTitleContext::CreateChildContext(
sal_uInt16 nPrefix,
2000-09-18 16:07:07 +00:00
const rtl::OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >& )
2000-09-18 16:07:07 +00:00
{
SvXMLImportContext* pContext = 0;
if( nPrefix == XML_NAMESPACE_TEXT &&
IsXMLToken( rLocalName, XML_P ) )
2000-09-18 16:07:07 +00:00
{
pContext = new SchXMLParagraphContext( GetImport(), rLocalName, mrTitle );
2000-09-18 16:07:07 +00:00
}
else
pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
return pContext;
}
// ----------------------------------------
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */