office-gobmx/chart2/source/inc/DiagramHelper.hxx

331 lines
13 KiB
C++
Raw Normal View History

2003-11-04 08:35:09 -06:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-11-04 08:35:09 -06:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2003-11-04 08:35:09 -06:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-11-04 08:35:09 -06:00
*
* This file is part of OpenOffice.org.
2003-11-04 08:35:09 -06:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2003-11-04 08:35:09 -06:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2003-11-04 08:35:09 -06:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2003-11-04 08:35:09 -06:00
*
************************************************************************/
#ifndef CHART2_DIAGRAMHELPER_HXX
#define CHART2_DIAGRAMHELPER_HXX
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
#include "StackMode.hxx"
CWS-TOOLING: integrate CWS sb102 2008-12-11 16:18:12 +0100 sb r265332 : #i95065# cleanup, to make Windows linking work 2008-12-11 16:16:03 +0100 sb r265331 : #i95065# missing SAL_DLLPUBLIC_EXPORT 2008-12-09 17:40:28 +0100 sb r265122 : #i94469# move CJK specific configuration data to brand layer 2008-12-09 16:09:08 +0100 sb r265112 : #i96959# use PTHREAD_MUTEX_RECURSIVE on all platforms 2008-12-09 15:54:31 +0100 sb r265110 : #i95065# do not derive apphelper::LifeTimeGuard from osl::ResettableMutexGuard to avoid problems with VISIBILITY_HIDDEN=TRUE on MSC 2008-12-09 15:40:51 +0100 sb r265104 : #i95065# add VISIBILITY_HIDDEN=TRUE to connectivity/source/drivers/mozab 2008-12-09 15:36:21 +0100 sb r265102 : #i95501# updated SDK_HOME 2008-12-09 15:31:46 +0100 sb r265099 : typo (temppath vs. tmppath) 2008-12-08 11:48:08 +0100 sb r264979 : #i95065# removed spurious ExplicitCategoriesProvider.obj (ExplicitCategoriesProvider.cxx is not in this directory) 2008-12-07 19:41:07 +0100 sb r264960 : #i96994# erroneously doubled backslash caused visibility feature to be disabled for all GCC versions on Mac OS X 2008-12-06 23:54:49 +0100 sb r264948 : changes from trunk that CWS-TOOLING's rebase to DEV300:m37 (r264891) had missed, as files had been moved around on this CWS 2008-12-05 20:29:23 +0100 sb r264919 : #i85508# versions of flex apparently differ in whether input() resp. yyinput() returns zero or EOF upon end of file 2008-12-05 15:37:23 +0100 sb r264908 : #i95315# removed obsolete jut 2008-12-05 15:34:59 +0100 sb r264907 : #i95531# removed empty obsolete directories 2008-12-05 10:09:23 +0100 sb r264891 : CWS-TOOLING: rebase CWS sb102 to trunk@264807 (milestone: DEV300:m37) 2008-12-04 14:50:20 +0100 sb r264845 : #i95065# introduced VISIBILITY_HIDDEN makefile flag to reduce duplications; made additional libraries use VISIBILITY_HIDDEN=TRUE to avoid warnings with recent GCC 4 versions (had to split certain code directories to make changes that would otherwise erroneously affect multiple libraries built in the same makefile); changed connectivity::ORefVector to no longer derive from std::vector, as that caused problems with the MSC implementation of VISIBILITY_HIDDEN=TRUE; replaced uses of JNIEXPORT with SAL_DLLPUBLIC_EXPORT, as the former does not expand to visibility attributes on some platforms where the latter does 2008-12-03 11:29:38 +0100 sb r264759 : #i94583# remove unnecessary (and wrong) assertion check for rtl_getAppCommandArg return value (which is guaranteed to return osl_Process_E_None or not return at all) 2008-12-02 17:18:31 +0100 sb r264724 : #i96809# silenced GCC 4.3.2 warning 2008-12-02 13:29:34 +0100 sb r264695 : #i96797# make get_tmp_dir fail less often 2008-11-28 17:19:24 +0100 sb r264566 : #i95691# inadvertently missing from -c 264564 2008-11-28 17:07:50 +0100 sb r264564 : #i95691# only structs of exactly 1, 2, 4, or 8 bytes are returned through registers 2008-11-25 13:28:08 +0100 sb r264291 : #i96427# support for SAL_EXCEPTION_DLLPUBLIC_EXPORT (patch by np) 2008-11-21 14:45:22 +0100 sb r264140 : #i95428# added SAL_EXCEPTION_DLLPUBLIC_EXPORT and SAL_EXCEPTION_DLLPRIVATE 2008-11-19 13:19:37 +0100 sb r263984 : #i95525# removed erroneous application/octet-stream svn:mime-type properties
2008-12-30 07:32:01 -06:00
#include "charttoolsdllapi.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
#include <com/sun/star/chart2/XChartTypeTemplate.hpp>
#include <com/sun/star/chart2/XCoordinateSystem.hpp>
#include <com/sun/star/chart2/InterpretedData.hpp>
#include <com/sun/star/chart2/StackingDirection.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <utility>
#include <vector>
2003-11-04 08:35:09 -06:00
namespace chart
{
CWS-TOOLING: integrate CWS sb102 2008-12-11 16:18:12 +0100 sb r265332 : #i95065# cleanup, to make Windows linking work 2008-12-11 16:16:03 +0100 sb r265331 : #i95065# missing SAL_DLLPUBLIC_EXPORT 2008-12-09 17:40:28 +0100 sb r265122 : #i94469# move CJK specific configuration data to brand layer 2008-12-09 16:09:08 +0100 sb r265112 : #i96959# use PTHREAD_MUTEX_RECURSIVE on all platforms 2008-12-09 15:54:31 +0100 sb r265110 : #i95065# do not derive apphelper::LifeTimeGuard from osl::ResettableMutexGuard to avoid problems with VISIBILITY_HIDDEN=TRUE on MSC 2008-12-09 15:40:51 +0100 sb r265104 : #i95065# add VISIBILITY_HIDDEN=TRUE to connectivity/source/drivers/mozab 2008-12-09 15:36:21 +0100 sb r265102 : #i95501# updated SDK_HOME 2008-12-09 15:31:46 +0100 sb r265099 : typo (temppath vs. tmppath) 2008-12-08 11:48:08 +0100 sb r264979 : #i95065# removed spurious ExplicitCategoriesProvider.obj (ExplicitCategoriesProvider.cxx is not in this directory) 2008-12-07 19:41:07 +0100 sb r264960 : #i96994# erroneously doubled backslash caused visibility feature to be disabled for all GCC versions on Mac OS X 2008-12-06 23:54:49 +0100 sb r264948 : changes from trunk that CWS-TOOLING's rebase to DEV300:m37 (r264891) had missed, as files had been moved around on this CWS 2008-12-05 20:29:23 +0100 sb r264919 : #i85508# versions of flex apparently differ in whether input() resp. yyinput() returns zero or EOF upon end of file 2008-12-05 15:37:23 +0100 sb r264908 : #i95315# removed obsolete jut 2008-12-05 15:34:59 +0100 sb r264907 : #i95531# removed empty obsolete directories 2008-12-05 10:09:23 +0100 sb r264891 : CWS-TOOLING: rebase CWS sb102 to trunk@264807 (milestone: DEV300:m37) 2008-12-04 14:50:20 +0100 sb r264845 : #i95065# introduced VISIBILITY_HIDDEN makefile flag to reduce duplications; made additional libraries use VISIBILITY_HIDDEN=TRUE to avoid warnings with recent GCC 4 versions (had to split certain code directories to make changes that would otherwise erroneously affect multiple libraries built in the same makefile); changed connectivity::ORefVector to no longer derive from std::vector, as that caused problems with the MSC implementation of VISIBILITY_HIDDEN=TRUE; replaced uses of JNIEXPORT with SAL_DLLPUBLIC_EXPORT, as the former does not expand to visibility attributes on some platforms where the latter does 2008-12-03 11:29:38 +0100 sb r264759 : #i94583# remove unnecessary (and wrong) assertion check for rtl_getAppCommandArg return value (which is guaranteed to return osl_Process_E_None or not return at all) 2008-12-02 17:18:31 +0100 sb r264724 : #i96809# silenced GCC 4.3.2 warning 2008-12-02 13:29:34 +0100 sb r264695 : #i96797# make get_tmp_dir fail less often 2008-11-28 17:19:24 +0100 sb r264566 : #i95691# inadvertently missing from -c 264564 2008-11-28 17:07:50 +0100 sb r264564 : #i95691# only structs of exactly 1, 2, 4, or 8 bytes are returned through registers 2008-11-25 13:28:08 +0100 sb r264291 : #i96427# support for SAL_EXCEPTION_DLLPUBLIC_EXPORT (patch by np) 2008-11-21 14:45:22 +0100 sb r264140 : #i95428# added SAL_EXCEPTION_DLLPUBLIC_EXPORT and SAL_EXCEPTION_DLLPRIVATE 2008-11-19 13:19:37 +0100 sb r263984 : #i95525# removed erroneous application/octet-stream svn:mime-type properties
2008-12-30 07:32:01 -06:00
class OOO_DLLPUBLIC_CHARTTOOLS DiagramHelper
2003-11-04 08:35:09 -06:00
{
public:
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
typedef ::std::pair<
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartTypeTemplate >,
::rtl::OUString >
tTemplateWithServiceName;
/** tries to find a template in the chart-type manager that matches the
given diagram.
@param rPreferredTemplateName
Check this template first. This may speed up searching, if the
caller assumes a certain template as most likely to be the one that
matches.
@return
A pair containing a template with the correct properties set as
first entry and the service name of the templateas second entry. If
no template was found both elements are empty.
*/
static tTemplateWithServiceName
getTemplateForDiagram(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::lang::XMultiServiceFactory > & xChartTypeManager,
const ::rtl::OUString & rPreferredTemplateName = ::rtl::OUString());
/** Sets the "SwapXAndYAxis" property at all coordinate systems found in the
given diagram.
"vertical==true" for bar charts, "vertical==false" for column charts
*/
static void setVertical( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
bool bVertical = true );
/** Gets the "SwapXAndYAxis" property at all coordinate systems found in the
given diagram.
"vertical==true" for bar charts, "vertical==false" for column charts
*/
static bool getVertical( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
bool& rbOutFoundResult, bool& rbOutAmbiguousResult );
static StackMode getStackMode(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
bool& rbFound, bool& rbAmbiguous
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
);
/** @param bOnlyAtFirstChartType
If </TRUE>, the stacking mode is only set at the series found inside
the first chart type. This is the standard for all current
templates (the only template that has more than one chart-type and
allows stacking is bar/line combi, and for this the stacking only
applies to the first chart type/the bars)
*/
static void setStackMode(
2003-11-04 08:35:09 -06:00
const ::com::sun::star::uno::Reference<
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
::com::sun::star::chart2::XDiagram > & xDiagram,
StackMode eStackMode,
bool bOnlyAtFirstChartType = true
2003-11-04 08:35:09 -06:00
);
/** Retrieves the stackmode of the first DataSeries or none. If the series have differing stack
modes, rbAmbiguous is set to true. If no series is there rbFound is set to false.
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
@param xCorrespondingCoordinateSystem
The coordinate system in which the given chart type xChartType is
located. (This is needed for determining percent stacking. If
omitted, the result will just indicate "not stacked", "stacked" or
"ambiguous")
*/
static StackMode getStackModeFromChartType(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType > & xChartType,
bool& rbFound, bool& rbAmbiguous,
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem =
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XCoordinateSystem >()
);
/** Returns the dimension found for all chart types in the tree. If the
dimension is not unique, 0 is returned.
*/
static sal_Int32 getDimension(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram );
/** Sets the dimension of the diagram given.
1. Sets the dimension of all used ChartTypes
2. Adapts the DataSeriesTree to reflect the new dimension
3. If new coordinate-systems have to be created, adapts the
XCoordinateSystemContainer of the diagram.
*/
static void setDimension(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
sal_Int32 nNewDimensionCount );
/** Replaces all occurences of xCooSysToReplace in the tree with
xReplacement in the diagram's tree
*/
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 04:41:18 -05:00
SAL_DLLPRIVATE static void replaceCoordinateSystem(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem > & xCooSysToReplace,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem > & xReplacement );
static bool isSeriesAttachedToMainAxis(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xDataSeries );
static bool attachSeriesToAxis( bool bMainAxis,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > & xContext,
bool bAdaptAxes=true );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
static ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XAxis > getAttachedAxis(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram );
static ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType >
getChartTypeOfSeries(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries );
static ::std::vector<
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > >
getDataSeriesFromDiagram(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram );
/** return all data series in this diagram grouped by chart-types
*/
static ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > > >
getDataSeriesGroups(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram );
static bool isCategoryDiagram(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram );
static void setCategoriesToDiagram(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::data::XLabeledDataSequence >& xCategories,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram,
bool bSetAxisType = false, // when this flag is true ...
bool bCategoryAxis = true);// set the AxisType to CATEGORY or back to REALNUMBER
static ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XLabeledDataSequence >
getCategoriesFromDiagram(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram );
static ::com::sun::star::uno::Sequence< rtl::OUString >
getExplicitSimpleCategories(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > & xChartDoc );
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 04:41:18 -05:00
SAL_DLLPRIVATE static ::com::sun::star::uno::Sequence< rtl::OUString >
generateAutomaticCategoriesFromCooSys(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem > & xCooSys );
static ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType >
getChartTypeByIndex( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram, sal_Int32 nIndex );
static ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType > >
getChartTypesFromDiagram(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram );
CWS-TOOLING: integrate CWS chart37 2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly 2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem 2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties 2009-04-27 15:26:05 +0200 hde r271276 : #i100987 2009-04-27 15:24:42 +0200 hde r271273 : #i100987 2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings 2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels 2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties 2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts 2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator 2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator 2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records 2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records 2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports 2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids 2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties 2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts 2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings 2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes 2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes 2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings 2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports 2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports 2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too 2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels 2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type) 2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover -> 2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover -> 2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code 2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code 2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports 2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports 2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44) 2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports 2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code 2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string 2009-03-24 15:44:04 +0100 iha r269961 : remove unused code 2009-03-24 15:22:45 +0100 iha r269959 : remove unused code 2009-03-24 15:17:17 +0100 iha r269957 : remove unused code 2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels 2009-03-09 12:10:25 +0100 hde r269076 : #i99300# 2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data 2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build 2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build 2009-02-13 09:39:03 +0100 ufi r267693 : i96999 2009-02-11 15:12:35 +0100 iha r267604 : removed unused string 2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination' 2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string 2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems 2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels 2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file 2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements 2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements 2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 04:41:18 -05:00
SAL_DLLPRIVATE static bool areChartTypesCompatible( const ::com::sun::star::uno::Reference<
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
::com::sun::star::chart2::XChartType >& xFirstType,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType >& xSecondType );
/**
* Test if a series can be moved.
*
* @param xDiagram
* Reference to the diagram that contains the series.
*
* @param xGivenDataSeries
* Reference to the series that should be tested for moving.
*
* @param bForward
* Direction of the move to be checked.
*
* @returns </TRUE> if the series can be moved.
*
*/
static bool isSeriesMoveable(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xGivenDataSeries,
bool bForward );
/**
* Move a series forward or backward.
*
* @param xDiagram
* Reference to the diagram that contains the series.
*
* @param xGivenDataSeries
* Reference to the series that should be moved.
*
* @param bForward
* Direction in which the series should be moved.
*
* @returns </TRUE> if the series was moved successfully.
*
*/
static bool moveSeries(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xGivenDataSeries,
bool bForward );
static bool isSupportingFloorAndWall( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram );
static bool isPieOrDonutChart( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram );
static sal_Int32 getGeometry3D(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
bool& rbFound, bool& rbAmbiguous );
static void setGeometry3D(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
sal_Int32 nNewGeometry );
//returns integer from constant group ::com::sun::star::chart::MissingValueTreatment
static sal_Int32 getCorrectedMissingValueTreatment(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram > & xDiagram,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType >& xChartType );
2003-11-04 08:35:09 -06:00
private:
// not implemented
DiagramHelper();
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/04/20 08:08:49 iha 1.2.4.51: #i75393# Connect Bars per diagram not per series 2007/04/19 16:10:53 iha 1.2.4.50: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/01 13:54:29 iha 1.2.4.49: #i71167 & i74564# keep charttype properties if possible when switching charttypes 2007/02/09 17:29:18 bm 1.2.4.48: XChartDocument::createInternalDataProvider() works like expected now 2007/01/10 12:39:25 bm 1.2.4.47: extra qualifier removed 2006/12/07 23:17:54 iha 1.2.4.46: #i67833# simple 3D look - bring light to front 2006/08/21 16:13:59 iha 1.2.4.45: #i46521# replace modal x value sorting dialog by a checkbox in the chartwizard; perform sorting in view only and not in the cached chart data (as there is no cached data in the model anymore) 2006/08/09 17:40:26 iha 1.2.4.44: #i63017# disable/enable menu Format->Arrangement 2006/06/30 22:20:19 iha 1.2.4.43: correct 3D pie rotation: different default camera for pies 2006/06/24 18:30:02 iha 1.2.4.42: don't show wall nor floor for pies and donuts until older files can be detected 2006/06/18 19:27:41 iha 1.2.4.41: implement camera distance 2006/06/09 15:30:20 iha 1.2.4.40: concentrated helping method for getting and setting rotation of diagram - don't touch the camera rotation but take it into account 2006/04/22 11:12:44 iha 1.2.4.39: park unused categories in scale with AxisType not being CATEGORY 2006/04/10 12:25:08 iha 1.2.4.38: api restructure axis, grids, scales and increments 2006/01/16 12:08:57 bm 1.2.4.37: also reset diagram rotation in rearrange function 2005/12/21 21:29:13 iha 1.2.4.36: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:35:40 bm 1.2.4.35: BarConnectors implemented the old way (all series at once) but model offers the property ConnectDataPoints for each series independently 2005/11/23 15:14:04 iha 1.2.4.34: support BarOverlap and GapWidth 2005/11/08 14:55:50 iha 1.2.4.33: set and remove categories also to and from secondary scales 2005/11/07 20:55:47 iha 1.2.4.32: implement changing series order 2005/11/02 19:16:18 iha 1.2.4.31: enable load of stock chart with japanese boxes 2005/11/02 16:09:43 bm 1.2.4.30: removed unused function getInterpretedDataFromDiagram 2005/11/02 13:49:20 bm 1.2.4.29: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/11/01 13:05:56 iha 1.2.4.28: support sequence mapping 2005/10/24 11:06:40 iha 1.2.4.27: coordinate system restructure 2005/10/13 17:38:50 iha 1.2.4.26: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/11 12:51:23 bm 1.2.4.25: +removeUnusedCoordinateSystems 2005/10/07 11:40:06 bm 1.2.4.24: RESYNC: (1.2-1.3); FILE MERGED 2005/09/22 16:56:15 iha 1.2.4.23: automatic categories for pie legend 2005/09/16 16:50:10 iha 1.2.4.22: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/07/14 14:51:10 bm 1.2.4.21: function for creating dummy categories (preliminary, not localized yet) 2005/05/09 09:51:04 bm 1.2.4.20: moved parts of API to data namespace 2005/05/04 12:51:51 iha 1.2.4.19: added methods isSeriesAttachedToMainAxis(), attachSeriesToAxis(), getChartTypeOfSeries(), getCoordinateSystemOfChartType(), clearCoordinateSystem() 2005/04/19 14:34:07 bm 1.2.4.18: +getScaleHoldingCategoriesFromDiagram 2005/04/11 11:32:45 iha 1.2.4.17: changed parameter for methods set/getVertical() for old api 2004/09/20 17:25:48 bm 1.2.4.16: add parameter to setStackMode that only sets the mode at the first chart-type 2004/09/16 14:43:48 iha 1.2.4.15: implement api redesign 2004/09/16 12:21:56 bm 1.2.4.14: API simplification 2004/09/15 17:06:29 bm 1.2.4.13: +getStackModeFromChartType 2004/09/15 14:32:04 iha 1.2.4.12: implement api redesign 2004/09/15 14:30:19 bm 1.2.4.11: API simplification 2004/09/15 11:48:43 iha 1.2.4.10: implement api redesign 2004/09/15 11:21:11 bm 1.2.4.9: API simplification 2004/06/29 12:42:44 bm 1.2.4.8: +getInterpretedDataFromDiagram 2004/05/27 17:28:26 bm 1.2.4.7: +bTreatBarsAsVertical flag in get/setVertical methods 2004/05/13 09:51:53 bm 1.2.4.6: getTemplateForDiagram() supports a parameter rPreferredTemplateName for faster access in case the template didn't change 2004/04/01 16:03:01 bm 1.2.4.5: some more fixes for setDimension() for old API 2004/04/01 10:48:41 bm 1.2.4.4: +functions to get/set the SwapXAndYAxis property at coordinate-systems 2004/03/24 19:05:23 bm 1.2.4.3: XChartTypeTemplate changed: matchesTemplate may modify the template s properties if bAdaptProperties is true 2004/03/24 10:35:14 bm 1.2.4.2: +getTemplateNameForDiagram 2004/02/13 16:51:23 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 12:15:39 -05:00
2003-11-04 08:35:09 -06:00
};
} // namespace chart
// CHART2_DIAGRAMHELPER_HXX
#endif