Files
libreoffice/chart2/source/view/main/ChartView.cxx

3202 lines
138 KiB
C++
Raw Normal View History

2003-10-06 08:58:36 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-10-06 08:58:36 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-10-06 08:58:36 +00:00
*
* This file is part of OpenOffice.org.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2003-10-06 08:58:36 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2003-10-06 08:58:36 +00:00
*
************************************************************************/
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_chart2.hxx"
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include "ChartView.hxx"
#include "chartview/DrawModelWrapper.hxx"
2003-10-06 08:58:36 +00:00
#include "ViewDefines.hxx"
#include "VDiagram.hxx"
#include "VTitle.hxx"
#include "ShapeFactory.hxx"
#include "VCoordinateSystem.hxx"
2003-10-06 08:58:36 +00:00
#include "VSeriesPlotter.hxx"
#include "CommonConverters.hxx"
#include "macros.hxx"
#include "TitleHelper.hxx"
2003-10-08 16:40:39 +00:00
#include "LegendHelper.hxx"
#include "VLegend.hxx"
#include "PropertyMapper.hxx"
2003-11-08 21:51:06 +00:00
#include "ChartModelHelper.hxx"
#include "ChartTypeHelper.hxx"
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include "ScaleAutomatism.hxx"
#include "MinimumAndMaximumSupplier.hxx"
#include "ObjectIdentifier.hxx"
#include "DiagramHelper.hxx"
#include "RelativePositionHelper.hxx"
#include "servicenames.hxx"
#include "AxisHelper.hxx"
#include "AxisIndexDefines.hxx"
#include "ControllerLockGuard.hxx"
#include "BaseGFXHelper.hxx"
#include "DataSeriesHelper.hxx"
#include <comphelper/scopeguard.hxx>
#include <boost/bind.hpp>
#include <unotools/streamwrap.hxx>
// header for class LocaleDataWrapper
#include <unotools/localedatawrapper.hxx>
// header for class SdrPage
#include <svx/svdpage.hxx>
// header for class SvxDrawPage
#include <svx/unopage.hxx>
// header for class SvxShape
#include <svx/unoshape.hxx>
// header for class Application
#include <vcl/svapp.hxx>
#include <vos/mutex.hxx>
#include <svx/unofill.hxx>
#include <unotools/saveopt.hxx>
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include <time.h>
2003-10-06 08:58:36 +00:00
2008-12-12 12:17:17 +00:00
#include <com/sun/star/chart/ChartAxisPosition.hpp>
#include <com/sun/star/chart/DataLabelPlacement.hpp>
#include <com/sun/star/chart/MissingValueTreatment.hpp>
#include <com/sun/star/chart/XChartDocument.hpp>
#include <com/sun/star/chart/XDiagramPositioning.hpp>
#include <com/sun/star/chart2/ExplicitSubIncrement.hpp>
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include <com/sun/star/chart2/StackingDirection.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart2/XTitled.hpp>
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <com/sun/star/chart2/RelativeSize.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include <com/sun/star/drawing/XShapeGroup.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/util/XModifiable.hpp>
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#include <com/sun/star/util/XRefreshable.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
2008-11-26 15:19:48 +00:00
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/WritingMode2.hpp>
#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <svl/languageoptions.hxx>
2008-11-26 15:19:48 +00:00
#include <sot/clsids.hxx>
2003-10-06 08:58:36 +00:00
//.............................................................................
namespace chart
{
//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Any;
using rtl::OUString;
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//static
const uno::Sequence<sal_Int8>& ExplicitValueProvider::getUnoTunnelId()
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
static uno::Sequence<sal_Int8> * pSeq = 0;
if( !pSeq )
{
osl::Guard< osl::Mutex > aGuard( osl::Mutex::getGlobalMutex() );
if( !pSeq )
{
static uno::Sequence< sal_Int8 > aSeq( 16 );
rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0, sal_True );
pSeq = &aSeq;
}
}
return *pSeq;
}
2003-10-06 08:58:36 +00:00
//static
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ExplicitValueProvider* ExplicitValueProvider::getExplicitValueProvider(
const Reference< uno::XInterface >& xChartView )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ExplicitValueProvider* pExplicitValueProvider=0;
Reference< lang::XUnoTunnel > xTunnel( xChartView, uno::UNO_QUERY );
if( xTunnel.is() )
{
pExplicitValueProvider = reinterpret_cast<ExplicitValueProvider*>(xTunnel->getSomething(
ExplicitValueProvider::getUnoTunnelId() ));
}
return pExplicitValueProvider;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ChartView::ChartView(
uno::Reference<uno::XComponentContext> const & xContext)
: m_aMutex()
, m_xCC(xContext)
, m_xChartModel()
, m_xShapeFactory()
, m_xDrawPage()
, m_pDrawModelWrapper()
, m_aListenerContainer( m_aMutex )
, m_bViewDirty(true)
, m_bInViewUpdate(false)
, m_bViewUpdatePending(false)
, m_bRefreshAddIn(true)
, m_aPageResolution(1000,1000)
, m_bPointsWereSkipped(false)
, m_nScaleXNumerator(1)
, m_nScaleXDenominator(1)
, m_nScaleYNumerator(1)
, m_nScaleYDenominator(1)
, m_bSdrViewIsInEditMode(sal_False)
, m_aResultingDiagramRectangleExcludingAxes(0,0,0,0)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
void ChartView::impl_setChartModel( const uno::Reference< frame::XModel >& xChartModel )
{
if( m_xChartModel != xChartModel )
{
m_xChartModel = xChartModel;
m_bViewDirty = true;
}
}
void SAL_CALL ChartView::initialize( const uno::Sequence< uno::Any >& aArguments )
throw ( uno::Exception, uno::RuntimeException)
{
DBG_ASSERT(aArguments.getLength() >= 1,"need 1 argument to initialize the view: xModel");
if( !(aArguments.getLength() >= 1) )
return;
uno::Reference< frame::XModel > xNewChartModel;
if( !(aArguments[0] >>= xNewChartModel) )
{
DBG_ERROR( "need a Reference to frame::XModel as first parameter for view initialization" );
}
impl_setChartModel( xNewChartModel );
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( !m_pDrawModelWrapper.get() )
{
// /--
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
m_pDrawModelWrapper = ::boost::shared_ptr< DrawModelWrapper >( new DrawModelWrapper( m_xCC ) );
m_xShapeFactory = m_pDrawModelWrapper->getShapeFactory();
m_xDrawPage = m_pDrawModelWrapper->getMainDrawPage();
StartListening( m_pDrawModelWrapper->getSdrModel(), FALSE /*bPreventDups*/ );
// \--
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ChartView::~ChartView()
2003-10-06 08:58:36 +00:00
{
if( m_pDrawModelWrapper.get() )
EndListening( m_pDrawModelWrapper->getSdrModel(), FALSE /*bAllDups*/ );
2003-10-06 08:58:36 +00:00
m_xDrawPage = NULL;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
impl_deleteCoordinateSystems();
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
void ChartView::impl_deleteCoordinateSystems()
{
//delete all coordinate systems
::std::vector< VCoordinateSystem* > aVectorToDeleteObjects;
::std::swap( aVectorToDeleteObjects, m_aVCooSysList );//#i109770#
::std::vector< VCoordinateSystem* >::const_iterator aIter = aVectorToDeleteObjects.begin();
const ::std::vector< VCoordinateSystem* >::const_iterator aEnd = aVectorToDeleteObjects.end();
for( ; aIter != aEnd; aIter++ )
{
delete *aIter;
}
aVectorToDeleteObjects.clear();
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//-----------------------------------------------------------------
// datatransfer::XTransferable
namespace
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
const rtl::OUString lcl_aGDIMetaFileMIMEType(
RTL_CONSTASCII_USTRINGPARAM("application/x-openoffice-gdimetafile;windows_formatname=\"GDIMetaFile\""));
const rtl::OUString lcl_aGDIMetaFileMIMETypeHighContrast(
RTL_CONSTASCII_USTRINGPARAM("application/x-openoffice-highcontrast-gdimetafile;windows_formatname=\"GDIMetaFile\""));
} // anonymous namespace
void ChartView::getMetaFile( const uno::Reference< io::XOutputStream >& xOutStream
, bool bUseHighContrast )
{
if( !m_xDrawPage.is() )
return;
uno::Reference< lang::XMultiServiceFactory > xFactory( m_xCC->getServiceManager(), uno::UNO_QUERY );
if( !xFactory.is() )
return;
// creating the graphic exporter
uno::Reference< document::XExporter > xExporter( xFactory->createInstance(
C2U("com.sun.star.drawing.GraphicExportFilter")), uno::UNO_QUERY);
uno::Reference< document::XFilter > xFilter( xExporter, uno::UNO_QUERY );
if( !xExporter.is() || !xFilter.is() )
return;
uno::Sequence< beans::PropertyValue > aProps(3);
aProps[0].Name = C2U("FilterName");
aProps[0].Value <<= C2U("SVM");
aProps[1].Name = C2U("OutputStream");
aProps[1].Value <<= xOutStream;
uno::Sequence< beans::PropertyValue > aFilterData(4);
aFilterData[0].Name = C2U("ExportOnlyBackground");
aFilterData[0].Value <<= sal_False;
aFilterData[1].Name = C2U("HighContrast");
aFilterData[1].Value <<= bUseHighContrast;
aFilterData[2].Name = C2U("Version");
const sal_Int32 nVersion = SOFFICE_FILEFORMAT_50;
aFilterData[2].Value <<= nVersion;
aFilterData[3].Name = C2U("CurrentPage");
aFilterData[3].Value <<= uno::Reference< uno::XInterface >( m_xDrawPage, uno::UNO_QUERY );
//#i75867# poor quality of ole's alternative view with 3D scenes and zoomfactors besides 100%
{
aFilterData.realloc( aFilterData.getLength()+4 );
aFilterData[4].Name = C2U("ScaleXNumerator");
aFilterData[4].Value = uno::makeAny( m_nScaleXNumerator );
aFilterData[5].Name = C2U("ScaleXDenominator");
aFilterData[5].Value = uno::makeAny( m_nScaleXDenominator );
aFilterData[6].Name = C2U("ScaleYNumerator");
aFilterData[6].Value = uno::makeAny( m_nScaleYNumerator );
aFilterData[7].Name = C2U("ScaleYDenominator");
aFilterData[7].Value = uno::makeAny( m_nScaleYDenominator );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
aProps[2].Name = C2U("FilterData");
aProps[2].Value <<= aFilterData;
xExporter->setSourceDocument( uno::Reference< lang::XComponent >( m_xDrawPage, uno::UNO_QUERY) );
if( xFilter->filter( aProps ) )
{
xOutStream->flush();
xOutStream->closeOutput();
uno::Reference< io::XSeekable > xSeekable( xOutStream, uno::UNO_QUERY );
if( xSeekable.is() )
xSeekable->seek(0);
}
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Any SAL_CALL ChartView::getTransferData( const datatransfer::DataFlavor& aFlavor )
throw (datatransfer::UnsupportedFlavorException, io::IOException, uno::RuntimeException)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
bool bHighContrastMetaFile( aFlavor.MimeType.equals(lcl_aGDIMetaFileMIMETypeHighContrast));
uno::Any aRet;
if( ! (bHighContrastMetaFile || aFlavor.MimeType.equals(lcl_aGDIMetaFileMIMEType)) )
return aRet;
update();
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
SvMemoryStream aStream( 1024, 1024 );
utl::OStreamWrapper* pStreamWrapper = new utl::OStreamWrapper( aStream );
uno::Reference< io::XOutputStream > xOutStream( pStreamWrapper );
uno::Reference< io::XInputStream > xInStream( pStreamWrapper );
uno::Reference< io::XSeekable > xSeekable( pStreamWrapper );
if( xOutStream.is() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
this->getMetaFile( xOutStream, bHighContrastMetaFile );
if( xInStream.is() && xSeekable.is() )
{
xSeekable->seek(0);
sal_Int32 nBytesToRead = xInStream->available();
uno::Sequence< sal_Int8 > aSeq( nBytesToRead );
xInStream->readBytes( aSeq, nBytesToRead);
aRet <<= aSeq;
xInStream->closeInput();
}
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
return aRet;
}
uno::Sequence< datatransfer::DataFlavor > SAL_CALL ChartView::getTransferDataFlavors()
throw (uno::RuntimeException)
{
uno::Sequence< datatransfer::DataFlavor > aRet(2);
aRet[0] = datatransfer::DataFlavor( lcl_aGDIMetaFileMIMEType,
C2U( "GDIMetaFile" ),
::getCppuType( (const uno::Sequence< sal_Int8 >*) NULL ) );
aRet[1] = datatransfer::DataFlavor( lcl_aGDIMetaFileMIMETypeHighContrast,
C2U( "GDIMetaFile" ),
::getCppuType( (const uno::Sequence< sal_Int8 >*) NULL ) );
return aRet;
}
::sal_Bool SAL_CALL ChartView::isDataFlavorSupported( const datatransfer::DataFlavor& aFlavor )
throw (uno::RuntimeException)
{
return ( aFlavor.MimeType.equals(lcl_aGDIMetaFileMIMEType) ||
aFlavor.MimeType.equals(lcl_aGDIMetaFileMIMETypeHighContrast) );
}
//-----------------------------------------------------------------
// ____ XUnoTunnel ___
::sal_Int64 SAL_CALL ChartView::getSomething( const uno::Sequence< ::sal_Int8 >& aIdentifier )
throw( uno::RuntimeException)
{
if( aIdentifier.getLength() == 16 && 0 == rtl_compareMemory( ExplicitValueProvider::getUnoTunnelId().getConstArray(),
aIdentifier.getConstArray(), 16 ) )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ExplicitValueProvider* pProvider = this;
return reinterpret_cast<sal_Int64>(pProvider);
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
return 0;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//-----------------------------------------------------------------
// lang::XServiceInfo
APPHELPER_XSERVICEINFO_IMPL(ChartView,CHART_VIEW_SERVICE_IMPLEMENTATION_NAME)
uno::Sequence< rtl::OUString > ChartView
::getSupportedServiceNames_Static()
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Sequence< rtl::OUString > aSNS( 1 );
aSNS.getArray()[ 0 ] = CHART_VIEW_SERVICE_NAME;
return aSNS;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//-----------------------------------------------------------------
//-----------------------------------------------------------------
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
::basegfx::B3DHomMatrix createTransformationSceneToScreen(
const ::basegfx::B2IRectangle& rDiagramRectangleWithoutAxes )
{
::basegfx::B3DHomMatrix aM;
aM.scale(double(rDiagramRectangleWithoutAxes.getWidth())/FIXED_SIZE_FOR_3D_CHART_VOLUME
, -double(rDiagramRectangleWithoutAxes.getHeight())/FIXED_SIZE_FOR_3D_CHART_VOLUME, 1.0 );
aM.translate(double(rDiagramRectangleWithoutAxes.getMinX())
, double(rDiagramRectangleWithoutAxes.getMinY()+rDiagramRectangleWithoutAxes.getHeight()-1), 0);
return aM;
}
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VCoordinateSystem* findInCooSysList( const std::vector< VCoordinateSystem* >& rVCooSysList
, const uno::Reference< XCoordinateSystem >& xCooSys )
2003-10-06 08:58:36 +00:00
{
2003-10-08 16:40:39 +00:00
for( size_t nC=0; nC < rVCooSysList.size(); nC++)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VCoordinateSystem* pVCooSys = rVCooSysList[nC];
if(pVCooSys->getModel()==xCooSys)
return pVCooSys;
2003-10-06 08:58:36 +00:00
}
return NULL;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VCoordinateSystem* addCooSysToList( std::vector< VCoordinateSystem* >& rVCooSysList
, const uno::Reference< XCoordinateSystem >& xCooSys
, const uno::Reference< frame::XModel >& xChartModel )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VCoordinateSystem* pVCooSys = findInCooSysList( rVCooSysList, xCooSys );
if( !pVCooSys )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
pVCooSys = VCoordinateSystem::createCoordinateSystem(xCooSys );
if(pVCooSys)
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rtl::OUString aCooSysParticle( ObjectIdentifier::createParticleForCoordinateSystem( xCooSys, xChartModel ) );
pVCooSys->setParticle(aCooSysParticle);
pVCooSys->setExplicitCategoriesProvider( new ExplicitCategoriesProvider(xCooSys,xChartModel) );
rVCooSysList.push_back( pVCooSys );
}
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
return pVCooSys;
}
VCoordinateSystem* lcl_getCooSysForPlotter( const std::vector< VCoordinateSystem* >& rVCooSysList, MinimumAndMaximumSupplier* pMinimumAndMaximumSupplier )
{
if(!pMinimumAndMaximumSupplier)
return 0;
for( size_t nC=0; nC < rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = rVCooSysList[nC];
if(pVCooSys->hasMinimumAndMaximumSupplier( pMinimumAndMaximumSupplier ))
return pVCooSys;
}
return 0;
}
typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates wether this is a main or secondary axis
typedef std::pair< VCoordinateSystem* , tFullAxisIndex > tFullCoordinateSystem;
typedef std::map< VCoordinateSystem*, tFullAxisIndex > tCoordinateSystemMap;
struct AxisUsage
{
AxisUsage();
~AxisUsage();
void addCoordinateSystem( VCoordinateSystem* pCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex );
::std::vector< VCoordinateSystem* > getCoordinateSystems( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex );
sal_Int32 getMaxAxisIndexForDimension( sal_Int32 nDimensionIndex );
//tFullAxisIndex getDimensionAndIndexForCooSys( VCoordinateSystem* pCooSys );
ScaleAutomatism aScaleAutomatism;
private:
tCoordinateSystemMap aCoordinateSystems;
std::map< sal_Int32, sal_Int32 > aMaxIndexPerDimension;
};
AxisUsage::AxisUsage()
: aScaleAutomatism(AxisHelper::createDefaultScale())
{
}
AxisUsage::~AxisUsage()
{
aCoordinateSystems.clear();
}
/*
tFullScaleIndex AxisUsage::getDimensionAndIndexForCooSys( VCoordinateSystem* pCooSys )
{
tFullScaleIndex aRet(0,0);
tCoordinateSystemMap::const_iterator aFound( aCoordinateSystems.find(pCooSys) );
if(aFound!=aCoordinateSystems.end())
aRet = aFound->second;
return aRet;
}
*/
void AxisUsage::addCoordinateSystem( VCoordinateSystem* pCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex )
{
if(!pCooSys)
return;
tFullAxisIndex aFullAxisIndex( nDimensionIndex, nAxisIndex );
tCoordinateSystemMap::const_iterator aFound( aCoordinateSystems.find(pCooSys) );
//use one scale only once for each coordinate system
//main axis are preferred over secondary axis
//value scales are preferred
if(aFound!=aCoordinateSystems.end())
{
sal_Int32 nFoundAxisIndex = aFound->second.second;
if( nFoundAxisIndex < nAxisIndex )
return;
sal_Int32 nFoundDimension = aFound->second.first;
if( nFoundDimension ==1 )
return;
if( nFoundDimension < nDimensionIndex )
return;
}
aCoordinateSystems[pCooSys] = aFullAxisIndex;
//set maximum scale index
std::map< sal_Int32, sal_Int32 >::const_iterator aIter = aMaxIndexPerDimension.find(nDimensionIndex);
if( aIter != aMaxIndexPerDimension.end() )
{
sal_Int32 nCurrentMaxIndex = aIter->second;
if( nCurrentMaxIndex < nAxisIndex )
aMaxIndexPerDimension[nDimensionIndex]=nAxisIndex;
}
else
aMaxIndexPerDimension[nDimensionIndex]=nAxisIndex;
}
::std::vector< VCoordinateSystem* > AxisUsage::getCoordinateSystems( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex )
{
::std::vector< VCoordinateSystem* > aRet;
tCoordinateSystemMap::const_iterator aIter;
for( aIter = aCoordinateSystems.begin(); aIter!=aCoordinateSystems.end();++aIter )
{
if( aIter->second.first != nDimensionIndex )
continue;
if( aIter->second.second != nAxisIndex )
continue;
aRet.push_back( aIter->first );
}
return aRet;
}
sal_Int32 AxisUsage::getMaxAxisIndexForDimension( sal_Int32 nDimensionIndex )
{
sal_Int32 nRet = -1;
std::map< sal_Int32, sal_Int32 >::const_iterator aIter = aMaxIndexPerDimension.find(nDimensionIndex);
if( aIter != aMaxIndexPerDimension.end() )
nRet = aIter->second;
return nRet;
}
//-----------------------------------------------------
class SeriesPlotterContainer
{
public:
SeriesPlotterContainer( std::vector< VCoordinateSystem* >& rVCooSysList );
~SeriesPlotterContainer();
void initializeCooSysAndSeriesPlotter( const uno::Reference< frame::XModel >& xChartModel );
void initAxisUsageList();
2008-10-01 07:35:04 +00:00
void doAutoScaling( const uno::Reference< frame::XModel >& xChartModel );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
void updateScalesAndIncrementsOnAxes();
void setScalesFromCooSysToPlotter();
void setNumberFormatsFromAxes();
drawing::Direction3D getPreferredAspectRatio();
std::vector< VSeriesPlotter* >& getSeriesPlotterList() { return m_aSeriesPlotterList; }
std::vector< VCoordinateSystem* >& getCooSysList() { return m_rVCooSysList; }
std::vector< LegendEntryProvider* > getLegendEntryProviderList();
2008-10-01 07:35:04 +00:00
void AdaptScaleOfYAxisWithoutAttachedSeries( const uno::Reference< frame::XModel >& xChartModel );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
private:
std::vector< VSeriesPlotter* > m_aSeriesPlotterList;
std::vector< VCoordinateSystem* >& m_rVCooSysList;
::std::map< uno::Reference< XAxis >, AxisUsage > m_aAxisUsageList;
sal_Int32 m_nMaxAxisIndex;
bool m_bChartTypeUsesShiftedXAxisTicksPerDefault;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
};
SeriesPlotterContainer::SeriesPlotterContainer( std::vector< VCoordinateSystem* >& rVCooSysList )
: m_rVCooSysList( rVCooSysList )
, m_nMaxAxisIndex(0)
, m_bChartTypeUsesShiftedXAxisTicksPerDefault(false)
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
}
SeriesPlotterContainer::~SeriesPlotterContainer()
{
// - remove plotter from coordinatesystems
for( size_t nC=0; nC < m_rVCooSysList.size(); nC++)
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
m_rVCooSysList[nC]->clearMinimumAndMaximumSupplierList();
// - delete all plotter
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
delete *aPlotterIter;
m_aSeriesPlotterList.clear();
}
std::vector< LegendEntryProvider* > SeriesPlotterContainer::getLegendEntryProviderList()
{
std::vector< LegendEntryProvider* > aRet( m_aSeriesPlotterList.size() );
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
sal_Int32 nN = 0;
for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; ++aPlotterIter, nN++ )
aRet[nN] = *aPlotterIter;
return aRet;
}
void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter(
const uno::Reference< frame::XModel >& xChartModel )
{
//------------ get model series from model
sal_Int32 nDiagramIndex = 0;//todo if more than one diagam is supported
uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) );
if( !xDiagram.is())
return;
uno::Reference< util::XNumberFormatsSupplier > xNumberFormatsSupplier( xChartModel, uno::UNO_QUERY );
sal_Int32 nDimensionCount = DiagramHelper::getDimension( xDiagram );
if(!nDimensionCount)
{
//@todo handle mixed dimension
nDimensionCount = 2;
}
sal_Bool bSortByXValues = sal_False;
sal_Bool bConnectBars = sal_False;
sal_Bool bGroupBarsPerAxis = sal_True;
CWS-TOOLING: integrate CWS koheichart01 2009-05-15 06:32:38 +0200 hde r271925 : header fixed 2009-04-14 16:23:35 +0200 hde r270792 : #100231# 2009-04-14 16:13:48 +0200 hde r270790 : #100231# 2009-04-14 15:56:14 +0200 hde r270787 : #100231# 2009-04-14 14:28:40 +0200 hde r270767 : #100231# 2009-04-14 14:27:30 +0200 hde r270766 : #100231# 2009-04-14 09:43:07 +0200 hde r270749 : #100231# 2009-04-14 09:25:52 +0200 hde r270748 : #100231# 2009-03-25 16:18:26 +0100 iha r270034 : #i91578# removed compiler warning 2009-03-25 03:20:36 +0100 kohei r269992 : fixed a silly typo in in-line comment. 2009-03-24 17:03:57 +0100 kohei r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's hidden state. 2009-03-24 16:53:10 +0100 kohei r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled elsewhere. 2009-03-24 16:50:12 +0100 kohei r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more). 2009-03-24 16:47:56 +0100 kohei r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is false. Also avoid adding data cache when the cell is hidden. 2009-03-24 06:05:53 +0100 kohei r269909 : fixed the build breakage after the resync. 2009-03-24 06:05:34 +0100 kohei r269908 : fixed the build breakage after the resync. 2009-03-23 23:38:36 +0100 kohei r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk@269781 (milestone: DEV300:m44) 2009-03-17 13:11:40 +0100 iha r269597 : #i91578# import IncludeHiddenCells from xlsx 2009-03-17 12:56:09 +0100 iha r269594 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-17 12:49:13 +0100 iha r269592 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-16 17:03:55 +0100 iha r269561 : #i91578# remove unused variable 2009-03-16 10:22:30 +0100 iha r269509 : #i91578# changed wording 2009-03-04 17:07:16 +0100 iha r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:04:22 +0100 iha r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:03:43 +0100 iha r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 16:24:30 +0100 iha r268843 : #i91578# display of hidden cells - added missing property description 2009-03-04 15:13:04 +0100 iha r268835 : #i91578# display of hidden cells - remove unused code 2009-03-04 14:38:44 +0100 iha r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo 2009-03-04 13:42:10 +0100 iha r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:40:10 +0100 iha r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:37:05 +0100 iha r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-03 11:18:39 +0100 iha r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider 2009-03-02 17:41:37 +0100 kohei r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of problem during rebase. 2009-02-27 18:51:34 +0100 iha r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:45:48 +0100 iha r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:44:17 +0100 iha r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:35:09 +0100 iha r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste 2009-02-19 06:47:56 +0100 kohei r268257 : also, set the default value of a cached cell to NaN just in case. 2009-02-19 06:42:08 +0100 kohei r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value. This fixes the broken missing value treatment. 2009-02-18 20:16:30 +0100 iha r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore 2009-02-17 17:57:24 +0100 iha r268185 : #i91578# display of hidden cells - corrected range highlighting 2009-02-17 15:39:52 +0100 iha r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer 2009-02-17 11:21:00 +0100 iha r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-17 11:15:14 +0100 iha r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-16 16:48:10 +0100 iha r267826 : #i91578# display of hidden cells - group related ids and minimize changes 2009-02-16 14:32:11 +0100 iha r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file 2009-02-16 13:21:44 +0100 iha r267795 : #i91578# display of hidden cells - remove unused member 2009-02-16 13:13:40 +0100 iha r267794 : #i91578# display of hidden cells - remove unused methods 2009-02-16 13:00:10 +0100 iha r267792 : #i91578# display of hidden - avoid unnecessary data copy 2009-02-16 11:40:41 +0100 iha r267785 : #i91578# display of hidden - corrected typo 2009-02-16 11:28:39 +0100 iha r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells 2009-02-13 17:04:50 +0100 iha r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts 2009-02-13 15:30:17 +0100 iha r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells 2009-01-14 19:47:28 +0100 kohei r266330 : #i91578# Fixed the issue with incorrect tooltip category values. 2009-01-05 22:27:03 +0100 kohei r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates. 2008-12-24 17:01:15 +0100 kohei r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk@265758 (milestone: DEV300:m38) 2008-12-24 16:03:08 +0100 kohei r265799 : a little more code cleanup, mostly on tab to whitespace conversion on modified lines and removal of unnecessary 'using' statements. 2008-12-24 15:52:00 +0100 kohei r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells' options it false! I'm glad I caught this. 2008-12-24 07:41:23 +0100 kohei r265796 : replaced duplicated local functions with a single template function. 2008-12-24 06:37:15 +0100 kohei r265795 : reverted my last commit, because it was not the right approach. Instead of using the original data point index in the object name, leave that index alone, and remove hidden data in the tooltip text value lookup code. 2008-12-23 23:10:42 +0100 kohei r265793 : fixed the tooltips so that they would display correct values, taking into account the hidden data points (if any). 2008-12-20 05:26:07 +0100 kohei r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk@264807 (milestone: DEV300:m37) 2008-12-18 15:49:59 +0100 kohei r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578. 2008-12-05 20:27:24 +0100 kohei r264918 : removed a compiler warning. 2008-12-05 20:24:02 +0100 kohei r264917 : removed a compilar warning. 2008-12-03 17:06:22 +0100 kohei r264800 : recovered the original keyword file before it was stripped. 2008-12-01 22:00:24 +0100 kohei r264640 : by default, "include hidden cells" attribute is true. 2008-12-01 19:03:07 +0100 kohei r264628 : added accelerator for the plot hidden values check box. 2008-12-01 18:32:02 +0100 kohei r264626 : changed wording per Ingrid's suggestion. 2008-11-26 08:09:36 +0100 kohei r264341 : the 'Starnding angle' fixed line was 6 pixel short. 2008-11-26 08:02:47 +0100 kohei r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup. 2008-11-26 07:41:45 +0100 kohei r264339 : relocate the controls correctly for line chart types. 2008-11-26 07:14:26 +0100 kohei r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions. 2008-11-26 07:11:54 +0100 kohei r264336 : added "Include hidden cells" check box in the data series options tab page. 2008-11-25 21:04:58 +0100 kohei r264333 : don't check for the number of charts; when importing from xls, the count may be zero even when the document has charts. 2008-11-25 19:55:50 +0100 kohei r264332 : patch from ooo-build applied. This implements chart listener that listens on cells show/hide state for the chart's data areas. 2008-11-25 19:52:38 +0100 kohei r264331 : patch from ooo-build applied. 2008-11-25 19:29:54 +0100 kohei r264329 : new xml token for include-hidden-cells attribute.
2009-05-18 16:46:40 +00:00
sal_Bool bIncludeHiddenCells = sal_True;
sal_Int32 nStartingAngle = 90;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
try
{
uno::Reference< beans::XPropertySet > xDiaProp( xDiagram, uno::UNO_QUERY_THROW );
xDiaProp->getPropertyValue( C2U( "SortByXValues" ) ) >>= bSortByXValues;
xDiaProp->getPropertyValue( C2U( "ConnectBars" ) ) >>= bConnectBars;
xDiaProp->getPropertyValue( C2U( "GroupBarsPerAxis" ) ) >>= bGroupBarsPerAxis;
CWS-TOOLING: integrate CWS koheichart01 2009-05-15 06:32:38 +0200 hde r271925 : header fixed 2009-04-14 16:23:35 +0200 hde r270792 : #100231# 2009-04-14 16:13:48 +0200 hde r270790 : #100231# 2009-04-14 15:56:14 +0200 hde r270787 : #100231# 2009-04-14 14:28:40 +0200 hde r270767 : #100231# 2009-04-14 14:27:30 +0200 hde r270766 : #100231# 2009-04-14 09:43:07 +0200 hde r270749 : #100231# 2009-04-14 09:25:52 +0200 hde r270748 : #100231# 2009-03-25 16:18:26 +0100 iha r270034 : #i91578# removed compiler warning 2009-03-25 03:20:36 +0100 kohei r269992 : fixed a silly typo in in-line comment. 2009-03-24 17:03:57 +0100 kohei r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's hidden state. 2009-03-24 16:53:10 +0100 kohei r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled elsewhere. 2009-03-24 16:50:12 +0100 kohei r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more). 2009-03-24 16:47:56 +0100 kohei r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is false. Also avoid adding data cache when the cell is hidden. 2009-03-24 06:05:53 +0100 kohei r269909 : fixed the build breakage after the resync. 2009-03-24 06:05:34 +0100 kohei r269908 : fixed the build breakage after the resync. 2009-03-23 23:38:36 +0100 kohei r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk@269781 (milestone: DEV300:m44) 2009-03-17 13:11:40 +0100 iha r269597 : #i91578# import IncludeHiddenCells from xlsx 2009-03-17 12:56:09 +0100 iha r269594 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-17 12:49:13 +0100 iha r269592 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-16 17:03:55 +0100 iha r269561 : #i91578# remove unused variable 2009-03-16 10:22:30 +0100 iha r269509 : #i91578# changed wording 2009-03-04 17:07:16 +0100 iha r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:04:22 +0100 iha r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:03:43 +0100 iha r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 16:24:30 +0100 iha r268843 : #i91578# display of hidden cells - added missing property description 2009-03-04 15:13:04 +0100 iha r268835 : #i91578# display of hidden cells - remove unused code 2009-03-04 14:38:44 +0100 iha r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo 2009-03-04 13:42:10 +0100 iha r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:40:10 +0100 iha r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:37:05 +0100 iha r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-03 11:18:39 +0100 iha r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider 2009-03-02 17:41:37 +0100 kohei r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of problem during rebase. 2009-02-27 18:51:34 +0100 iha r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:45:48 +0100 iha r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:44:17 +0100 iha r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:35:09 +0100 iha r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste 2009-02-19 06:47:56 +0100 kohei r268257 : also, set the default value of a cached cell to NaN just in case. 2009-02-19 06:42:08 +0100 kohei r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value. This fixes the broken missing value treatment. 2009-02-18 20:16:30 +0100 iha r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore 2009-02-17 17:57:24 +0100 iha r268185 : #i91578# display of hidden cells - corrected range highlighting 2009-02-17 15:39:52 +0100 iha r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer 2009-02-17 11:21:00 +0100 iha r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-17 11:15:14 +0100 iha r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-16 16:48:10 +0100 iha r267826 : #i91578# display of hidden cells - group related ids and minimize changes 2009-02-16 14:32:11 +0100 iha r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file 2009-02-16 13:21:44 +0100 iha r267795 : #i91578# display of hidden cells - remove unused member 2009-02-16 13:13:40 +0100 iha r267794 : #i91578# display of hidden cells - remove unused methods 2009-02-16 13:00:10 +0100 iha r267792 : #i91578# display of hidden - avoid unnecessary data copy 2009-02-16 11:40:41 +0100 iha r267785 : #i91578# display of hidden - corrected typo 2009-02-16 11:28:39 +0100 iha r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells 2009-02-13 17:04:50 +0100 iha r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts 2009-02-13 15:30:17 +0100 iha r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells 2009-01-14 19:47:28 +0100 kohei r266330 : #i91578# Fixed the issue with incorrect tooltip category values. 2009-01-05 22:27:03 +0100 kohei r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates. 2008-12-24 17:01:15 +0100 kohei r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk@265758 (milestone: DEV300:m38) 2008-12-24 16:03:08 +0100 kohei r265799 : a little more code cleanup, mostly on tab to whitespace conversion on modified lines and removal of unnecessary 'using' statements. 2008-12-24 15:52:00 +0100 kohei r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells' options it false! I'm glad I caught this. 2008-12-24 07:41:23 +0100 kohei r265796 : replaced duplicated local functions with a single template function. 2008-12-24 06:37:15 +0100 kohei r265795 : reverted my last commit, because it was not the right approach. Instead of using the original data point index in the object name, leave that index alone, and remove hidden data in the tooltip text value lookup code. 2008-12-23 23:10:42 +0100 kohei r265793 : fixed the tooltips so that they would display correct values, taking into account the hidden data points (if any). 2008-12-20 05:26:07 +0100 kohei r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk@264807 (milestone: DEV300:m37) 2008-12-18 15:49:59 +0100 kohei r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578. 2008-12-05 20:27:24 +0100 kohei r264918 : removed a compiler warning. 2008-12-05 20:24:02 +0100 kohei r264917 : removed a compilar warning. 2008-12-03 17:06:22 +0100 kohei r264800 : recovered the original keyword file before it was stripped. 2008-12-01 22:00:24 +0100 kohei r264640 : by default, "include hidden cells" attribute is true. 2008-12-01 19:03:07 +0100 kohei r264628 : added accelerator for the plot hidden values check box. 2008-12-01 18:32:02 +0100 kohei r264626 : changed wording per Ingrid's suggestion. 2008-11-26 08:09:36 +0100 kohei r264341 : the 'Starnding angle' fixed line was 6 pixel short. 2008-11-26 08:02:47 +0100 kohei r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup. 2008-11-26 07:41:45 +0100 kohei r264339 : relocate the controls correctly for line chart types. 2008-11-26 07:14:26 +0100 kohei r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions. 2008-11-26 07:11:54 +0100 kohei r264336 : added "Include hidden cells" check box in the data series options tab page. 2008-11-25 21:04:58 +0100 kohei r264333 : don't check for the number of charts; when importing from xls, the count may be zero even when the document has charts. 2008-11-25 19:55:50 +0100 kohei r264332 : patch from ooo-build applied. This implements chart listener that listens on cells show/hide state for the chart's data areas. 2008-11-25 19:52:38 +0100 kohei r264331 : patch from ooo-build applied. 2008-11-25 19:29:54 +0100 kohei r264329 : new xml token for include-hidden-cells attribute.
2009-05-18 16:46:40 +00:00
xDiaProp->getPropertyValue( C2U( "IncludeHiddenCells" ) ) >>= bIncludeHiddenCells;
xDiaProp->getPropertyValue( C2U( "StartingAngle" ) ) >>= nStartingAngle;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
//---------------------------------------------------------------------
//prepare for autoscaling and shape creation
// - create plotter for charttypes (for each first scale group at each plotter, as they are independent)
// - add series to plotter (thus each charttype can provide minimum and maximum values for autoscaling)
// - add plotter to coordinate systems
//iterate through all coordinate systems
uno::Reference< XCoordinateSystemContainer > xCooSysContainer( xDiagram, uno::UNO_QUERY );
OSL_ASSERT( xCooSysContainer.is());
if( !xCooSysContainer.is())
return;
uno::Reference< XColorScheme > xColorScheme( xDiagram->getDefaultColorScheme());
uno::Sequence< uno::Reference< XCoordinateSystem > > aCooSysList( xCooSysContainer->getCoordinateSystems() );
sal_Int32 nGlobalSeriesIndex = 0;//for automatic symbols
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
for( sal_Int32 nCS = 0; nCS < aCooSysList.getLength(); ++nCS )
{
uno::Reference< XCoordinateSystem > xCooSys( aCooSysList[nCS] );
VCoordinateSystem* pVCooSys = addCooSysToList(m_rVCooSysList,xCooSys,xChartModel);
//iterate through all chart types in the current coordinate system
uno::Reference< XChartTypeContainer > xChartTypeContainer( xCooSys, uno::UNO_QUERY );
OSL_ASSERT( xChartTypeContainer.is());
if( !xChartTypeContainer.is() )
continue;
uno::Sequence< uno::Reference< XChartType > > aChartTypeList( xChartTypeContainer->getChartTypes() );
for( sal_Int32 nT = 0; nT < aChartTypeList.getLength(); ++nT )
{
uno::Reference< XChartType > xChartType( aChartTypeList[nT] );
if(nT==0)
m_bChartTypeUsesShiftedXAxisTicksPerDefault = ChartTypeHelper::shiftTicksAtXAxisPerDefault( xChartType );
bool bExcludingPositioning = DiagramPositioningMode_EXCLUDING == DiagramHelper::getDiagramPositioningMode( xDiagram );
VSeriesPlotter* pPlotter = VSeriesPlotter::createSeriesPlotter( xChartType, nDimensionCount, bExcludingPositioning );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( !pPlotter )
continue;
m_aSeriesPlotterList.push_back( pPlotter );
pPlotter->setNumberFormatsSupplier( xNumberFormatsSupplier );
pPlotter->setColorScheme( xColorScheme );
pPlotter->setExplicitCategoriesProvider( pVCooSys->getExplicitCategoriesProvider() );
sal_Int32 nMissingValueTreatment = DiagramHelper::getCorrectedMissingValueTreatment( xDiagram, xChartType );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(pVCooSys)
pVCooSys->addMinimumAndMaximumSupplier(pPlotter);
//------------ add series to plotter and thus prepare him for providing minimum and maximum values
uno::Reference< XDataSeriesContainer > xDataSeriesContainer( xChartType, uno::UNO_QUERY );
OSL_ASSERT( xDataSeriesContainer.is());
if( !xDataSeriesContainer.is() )
continue;
sal_Int32 zSlot=-1;
sal_Int32 xSlot=-1;
sal_Int32 ySlot=-1;
uno::Sequence< uno::Reference< XDataSeries > > aSeriesList( xDataSeriesContainer->getDataSeries() );
for( sal_Int32 nS = 0; nS < aSeriesList.getLength(); ++nS )
{
uno::Reference< XDataSeries > xDataSeries( aSeriesList[nS], uno::UNO_QUERY );
if(!xDataSeries.is())
continue;
CWS-TOOLING: integrate CWS koheichart01 2009-05-15 06:32:38 +0200 hde r271925 : header fixed 2009-04-14 16:23:35 +0200 hde r270792 : #100231# 2009-04-14 16:13:48 +0200 hde r270790 : #100231# 2009-04-14 15:56:14 +0200 hde r270787 : #100231# 2009-04-14 14:28:40 +0200 hde r270767 : #100231# 2009-04-14 14:27:30 +0200 hde r270766 : #100231# 2009-04-14 09:43:07 +0200 hde r270749 : #100231# 2009-04-14 09:25:52 +0200 hde r270748 : #100231# 2009-03-25 16:18:26 +0100 iha r270034 : #i91578# removed compiler warning 2009-03-25 03:20:36 +0100 kohei r269992 : fixed a silly typo in in-line comment. 2009-03-24 17:03:57 +0100 kohei r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's hidden state. 2009-03-24 16:53:10 +0100 kohei r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled elsewhere. 2009-03-24 16:50:12 +0100 kohei r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more). 2009-03-24 16:47:56 +0100 kohei r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is false. Also avoid adding data cache when the cell is hidden. 2009-03-24 06:05:53 +0100 kohei r269909 : fixed the build breakage after the resync. 2009-03-24 06:05:34 +0100 kohei r269908 : fixed the build breakage after the resync. 2009-03-23 23:38:36 +0100 kohei r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk@269781 (milestone: DEV300:m44) 2009-03-17 13:11:40 +0100 iha r269597 : #i91578# import IncludeHiddenCells from xlsx 2009-03-17 12:56:09 +0100 iha r269594 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-17 12:49:13 +0100 iha r269592 : #i91578# import IncludeHiddenCells from xls correctly 2009-03-16 17:03:55 +0100 iha r269561 : #i91578# remove unused variable 2009-03-16 10:22:30 +0100 iha r269509 : #i91578# changed wording 2009-03-04 17:07:16 +0100 iha r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:04:22 +0100 iha r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 17:03:43 +0100 iha r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden' 2009-03-04 16:24:30 +0100 iha r268843 : #i91578# display of hidden cells - added missing property description 2009-03-04 15:13:04 +0100 iha r268835 : #i91578# display of hidden cells - remove unused code 2009-03-04 14:38:44 +0100 iha r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo 2009-03-04 13:42:10 +0100 iha r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:40:10 +0100 iha r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-04 13:37:05 +0100 iha r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges 2009-03-03 11:18:39 +0100 iha r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider 2009-03-02 17:41:37 +0100 kohei r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of problem during rebase. 2009-02-27 18:51:34 +0100 iha r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:45:48 +0100 iha r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:44:17 +0100 iha r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication 2009-02-27 18:35:09 +0100 iha r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste 2009-02-19 06:47:56 +0100 kohei r268257 : also, set the default value of a cached cell to NaN just in case. 2009-02-19 06:42:08 +0100 kohei r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value. This fixes the broken missing value treatment. 2009-02-18 20:16:30 +0100 iha r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore 2009-02-17 17:57:24 +0100 iha r268185 : #i91578# display of hidden cells - corrected range highlighting 2009-02-17 15:39:52 +0100 iha r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer 2009-02-17 11:21:00 +0100 iha r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-17 11:15:14 +0100 iha r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series 2009-02-16 16:48:10 +0100 iha r267826 : #i91578# display of hidden cells - group related ids and minimize changes 2009-02-16 14:32:11 +0100 iha r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file 2009-02-16 13:21:44 +0100 iha r267795 : #i91578# display of hidden cells - remove unused member 2009-02-16 13:13:40 +0100 iha r267794 : #i91578# display of hidden cells - remove unused methods 2009-02-16 13:00:10 +0100 iha r267792 : #i91578# display of hidden - avoid unnecessary data copy 2009-02-16 11:40:41 +0100 iha r267785 : #i91578# display of hidden - corrected typo 2009-02-16 11:28:39 +0100 iha r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells 2009-02-13 17:04:50 +0100 iha r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts 2009-02-13 15:30:17 +0100 iha r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells 2009-01-14 19:47:28 +0100 kohei r266330 : #i91578# Fixed the issue with incorrect tooltip category values. 2009-01-05 22:27:03 +0100 kohei r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates. 2008-12-24 17:01:15 +0100 kohei r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk@265758 (milestone: DEV300:m38) 2008-12-24 16:03:08 +0100 kohei r265799 : a little more code cleanup, mostly on tab to whitespace conversion on modified lines and removal of unnecessary 'using' statements. 2008-12-24 15:52:00 +0100 kohei r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells' options it false! I'm glad I caught this. 2008-12-24 07:41:23 +0100 kohei r265796 : replaced duplicated local functions with a single template function. 2008-12-24 06:37:15 +0100 kohei r265795 : reverted my last commit, because it was not the right approach. Instead of using the original data point index in the object name, leave that index alone, and remove hidden data in the tooltip text value lookup code. 2008-12-23 23:10:42 +0100 kohei r265793 : fixed the tooltips so that they would display correct values, taking into account the hidden data points (if any). 2008-12-20 05:26:07 +0100 kohei r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk@264807 (milestone: DEV300:m37) 2008-12-18 15:49:59 +0100 kohei r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578. 2008-12-05 20:27:24 +0100 kohei r264918 : removed a compiler warning. 2008-12-05 20:24:02 +0100 kohei r264917 : removed a compilar warning. 2008-12-03 17:06:22 +0100 kohei r264800 : recovered the original keyword file before it was stripped. 2008-12-01 22:00:24 +0100 kohei r264640 : by default, "include hidden cells" attribute is true. 2008-12-01 19:03:07 +0100 kohei r264628 : added accelerator for the plot hidden values check box. 2008-12-01 18:32:02 +0100 kohei r264626 : changed wording per Ingrid's suggestion. 2008-11-26 08:09:36 +0100 kohei r264341 : the 'Starnding angle' fixed line was 6 pixel short. 2008-11-26 08:02:47 +0100 kohei r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup. 2008-11-26 07:41:45 +0100 kohei r264339 : relocate the controls correctly for line chart types. 2008-11-26 07:14:26 +0100 kohei r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions. 2008-11-26 07:11:54 +0100 kohei r264336 : added "Include hidden cells" check box in the data series options tab page. 2008-11-25 21:04:58 +0100 kohei r264333 : don't check for the number of charts; when importing from xls, the count may be zero even when the document has charts. 2008-11-25 19:55:50 +0100 kohei r264332 : patch from ooo-build applied. This implements chart listener that listens on cells show/hide state for the chart's data areas. 2008-11-25 19:52:38 +0100 kohei r264331 : patch from ooo-build applied. 2008-11-25 19:29:54 +0100 kohei r264329 : new xml token for include-hidden-cells attribute.
2009-05-18 16:46:40 +00:00
if( !bIncludeHiddenCells && !DataSeriesHelper::hasUnhiddenData(xDataSeries) )
continue;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VDataSeries* pSeries = new VDataSeries( xDataSeries );
pSeries->setGlobalSeriesIndex(nGlobalSeriesIndex);
nGlobalSeriesIndex++;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( bSortByXValues )
pSeries->doSortByXValues();
pSeries->setConnectBars( bConnectBars );
pSeries->setGroupBarsPerAxis( bGroupBarsPerAxis );
pSeries->setStartingAngle( nStartingAngle );
pSeries->setMissingValueTreatment( nMissingValueTreatment );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rtl::OUString aSeriesParticle( ObjectIdentifier::createParticleForSeries( nDiagramIndex, nCS, nT, nS ) );
pSeries->setParticle(aSeriesParticle);
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
OUString aRole( ChartTypeHelper::getRoleOfSequenceForDataLabelNumberFormatDetection( xChartType ) );
pSeries->setRoleOfSequenceForDataLabelNumberFormatDetection(aRole);
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//ignore secondary axis for charttypes that do not suppoert them
if( pSeries->getAttachedAxisIndex() != MAIN_AXIS_INDEX &&
!ChartTypeHelper::isSupportingSecondaryAxis( xChartType, nDimensionCount, 1 ) )
{
pSeries->setAttachedAxisIndex(MAIN_AXIS_INDEX);
}
StackingDirection eDirection = pSeries->getStackingDirection();
switch(eDirection)
{
case StackingDirection_NO_STACKING:
xSlot++; ySlot=-1;
if(zSlot<0)
zSlot=0;
break;
case StackingDirection_Y_STACKING:
ySlot++;
if(xSlot<0)
xSlot=0;
if(zSlot<0)
zSlot=0;
break;
case StackingDirection_Z_STACKING:
zSlot++; xSlot=-1; ySlot=-1;
break;
default:
// UNO enums have one additional auto-generated case
break;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
pPlotter->addSeries( pSeries, zSlot, xSlot, ySlot );
}
}
}
//transport seriesnames to the coordinatesystems if needed
if( m_aSeriesPlotterList.size() )
{
uno::Sequence< rtl::OUString > aSeriesNames;
bool bSeriesNamesInitialized = false;
for( size_t nC=0; nC < m_rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = m_rVCooSysList[nC];
if(!pVCooSys)
continue;
if( pVCooSys->needSeriesNamesForAxis() )
{
if(!bSeriesNamesInitialized)
{
VSeriesPlotter* pSeriesPlotter = m_aSeriesPlotterList[0];
if( pSeriesPlotter )
aSeriesNames = pSeriesPlotter->getSeriesNames();
bSeriesNamesInitialized = true;
}
pVCooSys->setSeriesNamesForAxis( aSeriesNames );
}
}
}
}
void SeriesPlotterContainer::initAxisUsageList()
{
m_aAxisUsageList.clear();
size_t nC;
for( nC=0; nC < m_rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = m_rVCooSysList[nC];
for(sal_Int32 nDimensionIndex=0; nDimensionIndex<3; nDimensionIndex++)
{
uno::Reference< XCoordinateSystem > xCooSys = pVCooSys->getModel();
if( nDimensionIndex >= xCooSys->getDimension() )
continue;
const sal_Int32 nMaximumAxisIndex = xCooSys->getMaximumAxisIndexByDimension(nDimensionIndex);
for(sal_Int32 nAxisIndex=0; nAxisIndex<=nMaximumAxisIndex; ++nAxisIndex)
{
uno::Reference< XAxis > xAxis( xCooSys->getAxisByDimension( nDimensionIndex, nAxisIndex ) );
OSL_ASSERT( xAxis.is());
if( xAxis.is())
{
if(m_aAxisUsageList.find(xAxis)==m_aAxisUsageList.end())
m_aAxisUsageList[xAxis].aScaleAutomatism = ScaleAutomatism(xAxis->getScaleData());
AxisUsage& rAxisUsage = m_aAxisUsageList[xAxis];
rAxisUsage.addCoordinateSystem(pVCooSys,nDimensionIndex,nAxisIndex);
}
}
}
}
::std::map< uno::Reference< XAxis >, AxisUsage >::iterator aAxisIter = m_aAxisUsageList.begin();
const ::std::map< uno::Reference< XAxis >, AxisUsage >::const_iterator aAxisEndIter = m_aAxisUsageList.end();
//init m_nMaxAxisIndex
m_nMaxAxisIndex = 0;
for(sal_Int32 nDimensionIndex=0; nDimensionIndex<3; nDimensionIndex++)
{
for( aAxisIter = m_aAxisUsageList.begin(); aAxisIter != aAxisEndIter; aAxisIter++ )
{
sal_Int32 nLocalMax = aAxisIter->second.getMaxAxisIndexForDimension( nDimensionIndex );
if( m_nMaxAxisIndex < nLocalMax )
m_nMaxAxisIndex = nLocalMax;
}
}
}
void SeriesPlotterContainer::setScalesFromCooSysToPlotter()
{
//set scales to plotter to enable them to provide the preferred scene AspectRatio
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
VCoordinateSystem* pVCooSys = lcl_getCooSysForPlotter( m_rVCooSysList, pSeriesPlotter );
if(pVCooSys)
{
pSeriesPlotter->setScales( pVCooSys->getExplicitScales(0,0), pVCooSys->getPropertySwapXAndYAxis() );
sal_Int32 nMaxAxisIndex = pVCooSys->getMaximumAxisIndexByDimension(1);//only additional value axis are relevant for series plotter
for( sal_Int32 nI=1; nI<=nMaxAxisIndex; nI++ )
pSeriesPlotter->addSecondaryValueScale( pVCooSys->getExplicitScale(1,nI), nI );
}
}
}
void SeriesPlotterContainer::setNumberFormatsFromAxes()
{
//set numberfarmats to plotter to enable them to display the data labels in the numberfromat of teh axis
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
VCoordinateSystem* pVCooSys = lcl_getCooSysForPlotter( m_rVCooSysList, pSeriesPlotter );
if(pVCooSys)
{
AxesNumberFormats aAxesNumberFormats;
uno::Reference< XCoordinateSystem > xCooSys = pVCooSys->getModel();
sal_Int32 nDimensionCount = xCooSys->getDimension();
for(sal_Int32 nDimensionIndex=0; nDimensionIndex<nDimensionCount; ++nDimensionIndex)
{
const sal_Int32 nMaximumAxisIndex = xCooSys->getMaximumAxisIndexByDimension(nDimensionIndex);
for(sal_Int32 nAxisIndex=0; nAxisIndex<=nMaximumAxisIndex; ++nAxisIndex)
{
try
{
Reference< beans::XPropertySet > xAxisProp( xCooSys->getAxisByDimension( nDimensionIndex, nAxisIndex ), uno::UNO_QUERY );
if( xAxisProp.is())
{
sal_Int32 nNumberFormatKey(0);
if( xAxisProp->getPropertyValue( C2U( "NumberFormat" ) ) >>= nNumberFormatKey )
{
aAxesNumberFormats.setFormat( nNumberFormatKey, nDimensionIndex, nAxisIndex );
}
}
}
catch( lang::IndexOutOfBoundsException& e )
{
ASSERT_EXCEPTION( e );
}
}
}
pSeriesPlotter->setAxesNumberFormats( aAxesNumberFormats );
}
}
}
void SeriesPlotterContainer::updateScalesAndIncrementsOnAxes()
{
for( size_t nC=0; nC < m_rVCooSysList.size(); nC++)
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
m_rVCooSysList[nC]->updateScalesAndIncrementsOnAxes();
}
2008-10-01 07:35:04 +00:00
void SeriesPlotterContainer::doAutoScaling( const uno::Reference< frame::XModel >& xChartModel )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
//precondition: need a initialized m_aSeriesPlotterList
//precondition: need a initialized m_aAxisUsageList
::std::map< uno::Reference< XAxis >, AxisUsage >::iterator aAxisIter = m_aAxisUsageList.begin();
const ::std::map< uno::Reference< XAxis >, AxisUsage >::const_iterator aAxisEndIter = m_aAxisUsageList.end();
//iterate over the main scales first than secondary axis
size_t nC;
2008-12-12 12:17:17 +00:00
sal_Int32 nAxisIndex=0;
for( nAxisIndex=0; nAxisIndex<=m_nMaxAxisIndex; nAxisIndex++ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
// - first do autoscale for all x and z scales (because they are treated independent)
for( aAxisIter = m_aAxisUsageList.begin(); aAxisIter != aAxisEndIter; aAxisIter++ )
{
AxisUsage& rAxisUsage = (*aAxisIter).second;
::std::vector< VCoordinateSystem* > aVCooSysList_X = rAxisUsage.getCoordinateSystems(0,nAxisIndex);
::std::vector< VCoordinateSystem* > aVCooSysList_Z = rAxisUsage.getCoordinateSystems(2,nAxisIndex);
for( nC=0; nC < aVCooSysList_X.size(); nC++)
aVCooSysList_X[nC]->prepareScaleAutomatismForDimensionAndIndex(rAxisUsage.aScaleAutomatism,0,nAxisIndex);
for( nC=0; nC < aVCooSysList_Z.size(); nC++)
aVCooSysList_Z[nC]->prepareScaleAutomatismForDimensionAndIndex(rAxisUsage.aScaleAutomatism,2,nAxisIndex);
ExplicitScaleData aExplicitScale;
ExplicitIncrementData aExplicitIncrement;
rAxisUsage.aScaleAutomatism.calculateExplicitScaleAndIncrement( aExplicitScale, aExplicitIncrement );
for( nC=0; nC < aVCooSysList_X.size(); nC++)
{
ExplicitCategoriesProvider* pExplicitCategoriesProvider = aVCooSysList_X[nC]->getExplicitCategoriesProvider();
if( m_bChartTypeUsesShiftedXAxisTicksPerDefault || (aExplicitScale.AxisType==AxisType::CATEGORY && pExplicitCategoriesProvider && pExplicitCategoriesProvider->hasComplexCategories() ) )
aExplicitIncrement.ShiftedPosition = true;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
aVCooSysList_X[nC]->setExplicitScaleAndIncrement( 0, nAxisIndex, aExplicitScale, aExplicitIncrement );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
for( nC=0; nC < aVCooSysList_Z.size(); nC++)
aVCooSysList_Z[nC]->setExplicitScaleAndIncrement( 2, nAxisIndex, aExplicitScale, aExplicitIncrement );
}
// - second do autoscale for the dependent y scales (the coordinate systems are prepared with x and z scales already )
for( aAxisIter = m_aAxisUsageList.begin(); aAxisIter != aAxisEndIter; aAxisIter++ )
{
AxisUsage& rAxisUsage = (*aAxisIter).second;
::std::vector< VCoordinateSystem* > aVCooSysList_X = rAxisUsage.getCoordinateSystems(0,nAxisIndex);
::std::vector< VCoordinateSystem* > aVCooSysList_Y = rAxisUsage.getCoordinateSystems(1,nAxisIndex);
::std::vector< VCoordinateSystem* > aVCooSysList_Z = rAxisUsage.getCoordinateSystems(2,nAxisIndex);
if(!aVCooSysList_Y.size())
continue;
for( nC=0; nC < aVCooSysList_Y.size(); nC++)
aVCooSysList_Y[nC]->prepareScaleAutomatismForDimensionAndIndex(rAxisUsage.aScaleAutomatism,1,nAxisIndex);
ExplicitScaleData aExplicitScale;
ExplicitIncrementData aExplicitIncrement;
rAxisUsage.aScaleAutomatism.calculateExplicitScaleAndIncrement( aExplicitScale, aExplicitIncrement );
for( nC=0; nC < aVCooSysList_X.size(); nC++)
aVCooSysList_X[nC]->setExplicitScaleAndIncrement( 0, nAxisIndex, aExplicitScale, aExplicitIncrement );
for( nC=0; nC < aVCooSysList_Y.size(); nC++)
aVCooSysList_Y[nC]->setExplicitScaleAndIncrement( 1, nAxisIndex, aExplicitScale, aExplicitIncrement );
for( nC=0; nC < aVCooSysList_Z.size(); nC++)
aVCooSysList_Z[nC]->setExplicitScaleAndIncrement( 2, nAxisIndex, aExplicitScale, aExplicitIncrement );
}
}
2008-10-01 07:35:04 +00:00
AdaptScaleOfYAxisWithoutAttachedSeries( xChartModel );
}
void SeriesPlotterContainer::AdaptScaleOfYAxisWithoutAttachedSeries( const uno::Reference< frame::XModel >& xChartModel )
{
//issue #i80518#
::std::map< uno::Reference< XAxis >, AxisUsage >::iterator aAxisIter = m_aAxisUsageList.begin();
const ::std::map< uno::Reference< XAxis >, AxisUsage >::const_iterator aAxisEndIter = m_aAxisUsageList.end();
for( sal_Int32 nAxisIndex=0; nAxisIndex<=m_nMaxAxisIndex; nAxisIndex++ )
{
for( aAxisIter = m_aAxisUsageList.begin(); aAxisIter != aAxisEndIter; aAxisIter++ )
{
AxisUsage& rAxisUsage = (*aAxisIter).second;
::std::vector< VCoordinateSystem* > aVCooSysList_Y = rAxisUsage.getCoordinateSystems( 1, nAxisIndex );
if( !aVCooSysList_Y.size() )
continue;
uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) );
if( xDiagram.is() )
{
bool bSeriesAttachedToThisAxis = false;
sal_Int32 nAttachedAxisIndex = -1;
{
::std::vector< Reference< XDataSeries > > aSeriesVector( DiagramHelper::getDataSeriesFromDiagram( xDiagram ) );
::std::vector< Reference< XDataSeries > >::const_iterator aIter = aSeriesVector.begin();
for( ; aIter != aSeriesVector.end(); aIter++ )
{
sal_Int32 nCurrentIndex = DataSeriesHelper::getAttachedAxisIndex( *aIter );
if( nAxisIndex == nCurrentIndex )
{
bSeriesAttachedToThisAxis = true;
break;
}
else if( nAttachedAxisIndex<0 || nAttachedAxisIndex>nCurrentIndex )
nAttachedAxisIndex=nCurrentIndex;
}
}
if( !bSeriesAttachedToThisAxis && nAttachedAxisIndex >= 0 )
{
for( size_t nC = 0; nC < aVCooSysList_Y.size(); ++nC )
{
aVCooSysList_Y[nC]->prepareScaleAutomatismForDimensionAndIndex( rAxisUsage.aScaleAutomatism, 1, nAttachedAxisIndex );
ExplicitScaleData aExplicitScaleSource = aVCooSysList_Y[nC]->getExplicitScale( 1,nAttachedAxisIndex );
ExplicitIncrementData aExplicitIncrementSource = aVCooSysList_Y[nC]->getExplicitIncrement( 1,nAttachedAxisIndex );
ExplicitScaleData aExplicitScaleDest = aVCooSysList_Y[nC]->getExplicitScale( 1,nAxisIndex );;
ExplicitIncrementData aExplicitIncrementDest = aVCooSysList_Y[nC]->getExplicitIncrement( 1,nAxisIndex );;
aExplicitScaleDest.Orientation = aExplicitScaleSource.Orientation;
aExplicitScaleDest.Scaling = aExplicitScaleSource.Scaling;
aExplicitScaleDest.Breaks = aExplicitScaleSource.Breaks;
aExplicitScaleDest.AxisType = aExplicitScaleSource.AxisType;
aExplicitIncrementDest.BaseValue = aExplicitIncrementSource.BaseValue;
ScaleData aScale( rAxisUsage.aScaleAutomatism.getScale() );
if( !aScale.Minimum.hasValue() )
{
bool bNewMinOK = true;
double fMax=0.0;
if( aScale.Maximum >>= fMax )
bNewMinOK = (aExplicitScaleSource.Minimum <= fMax);
if( bNewMinOK )
aExplicitScaleDest.Minimum = aExplicitScaleSource.Minimum;
}
else
aExplicitIncrementDest.BaseValue = aExplicitScaleDest.Minimum;
if( !aScale.Maximum.hasValue() )
{
bool bNewMaxOK = true;
double fMin=0.0;
if( aScale.Minimum >>= fMin )
bNewMaxOK = (fMin <= aExplicitScaleSource.Maximum);
if( bNewMaxOK )
aExplicitScaleDest.Maximum = aExplicitScaleSource.Maximum;
}
if( !aScale.Origin.hasValue() )
aExplicitScaleDest.Origin = aExplicitScaleSource.Origin;
if( !aScale.IncrementData.Distance.hasValue() )
aExplicitIncrementDest.Distance = aExplicitIncrementSource.Distance;
bool bAutoMinorInterval = true;
if( aScale.IncrementData.SubIncrements.getLength() )
bAutoMinorInterval = !( aScale.IncrementData.SubIncrements[0].IntervalCount.hasValue() );
if( bAutoMinorInterval )
{
if( aExplicitIncrementDest.SubIncrements.getLength() && aExplicitIncrementSource.SubIncrements.getLength() )
aExplicitIncrementDest.SubIncrements[0].IntervalCount =
aExplicitIncrementSource.SubIncrements[0].IntervalCount;
}
aVCooSysList_Y[nC]->setExplicitScaleAndIncrement( 1, nAxisIndex, aExplicitScaleDest, aExplicitIncrementDest );
}
}
}
}
}
2008-12-12 12:17:17 +00:00
if( AxisHelper::isAxisPositioningEnabled() )
{
//correct origin for y main axis (the origin is where the other main axis crosses)
2008-12-18 11:44:53 +00:00
sal_Int32 nAxisIndex=0;
2008-12-12 12:17:17 +00:00
sal_Int32 nDimensionIndex=1;
for( aAxisIter = m_aAxisUsageList.begin(); aAxisIter != aAxisEndIter; aAxisIter++ )
{
AxisUsage& rAxisUsage = (*aAxisIter).second;
::std::vector< VCoordinateSystem* > aVCooSysList = rAxisUsage.getCoordinateSystems(nDimensionIndex,nAxisIndex);
2008-12-18 11:44:53 +00:00
size_t nC;
2008-12-12 12:17:17 +00:00
for( nC=0; nC < aVCooSysList.size(); nC++)
{
ExplicitScaleData aExplicitScale( aVCooSysList[nC]->getExplicitScale( nDimensionIndex, nAxisIndex ) );
ExplicitIncrementData aExplicitIncrement( aVCooSysList[nC]->getExplicitIncrement( nDimensionIndex, nAxisIndex ) );
Reference< chart2::XCoordinateSystem > xCooSys( aVCooSysList[nC]->getModel() );
Reference< XAxis > xAxis( xCooSys->getAxisByDimension( nDimensionIndex, nAxisIndex ) );
Reference< beans::XPropertySet > xCrossingMainAxis( AxisHelper::getCrossingMainAxis( xAxis, xCooSys ), uno::UNO_QUERY );
::com::sun::star::chart::ChartAxisPosition eCrossingMainAxisPos( ::com::sun::star::chart::ChartAxisPosition_ZERO );
if( xCrossingMainAxis.is() )
{
xCrossingMainAxis->getPropertyValue(C2U( "CrossoverPosition" )) >>= eCrossingMainAxisPos;
if( ::com::sun::star::chart::ChartAxisPosition_VALUE == eCrossingMainAxisPos )
{
double fValue = 0.0;
xCrossingMainAxis->getPropertyValue(C2U( "CrossoverValue" )) >>= fValue;
aExplicitScale.Origin = fValue;
}
else if( ::com::sun::star::chart::ChartAxisPosition_ZERO == eCrossingMainAxisPos )
aExplicitScale.Origin = 0.0;
else if( ::com::sun::star::chart::ChartAxisPosition_START == eCrossingMainAxisPos )
aExplicitScale.Origin = aExplicitScale.Minimum;
else if( ::com::sun::star::chart::ChartAxisPosition_END == eCrossingMainAxisPos )
aExplicitScale.Origin = aExplicitScale.Maximum;
}
aVCooSysList[nC]->setExplicitScaleAndIncrement( nDimensionIndex, nAxisIndex, aExplicitScale, aExplicitIncrement );
}
}
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
drawing::Direction3D SeriesPlotterContainer::getPreferredAspectRatio()
{
drawing::Direction3D aPreferredAspectRatio(1.0,1.0,1.0);
sal_Int32 nPlotterCount=0;
//get a list of all preferred aspect ratios and combine them
//first with special demands wins (less or equal zero <-> arbitrary)
double fx, fy, fz;
fx = fy = fz = -1.0;
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
for( aPlotterIter = m_aSeriesPlotterList.begin(), nPlotterCount=0
; aPlotterIter != aPlotterEnd; aPlotterIter++, nPlotterCount++ )
{
drawing::Direction3D aSingleRatio( (*aPlotterIter)->getPreferredDiagramAspectRatio() );
if( fx<0 && aSingleRatio.DirectionX>0 )
fx = aSingleRatio.DirectionX;
if( fy<0 && aSingleRatio.DirectionY>0 )
{
if( fx>0 && aSingleRatio.DirectionX>0 )
fy = fx*aSingleRatio.DirectionY/aSingleRatio.DirectionX;
else if( fz>0 && aSingleRatio.DirectionZ>0 )
fy = fz*aSingleRatio.DirectionY/aSingleRatio.DirectionZ;
else
fy = aSingleRatio.DirectionY;
}
if( fz<0 && aSingleRatio.DirectionZ>0 )
{
if( fx>0 && aSingleRatio.DirectionX>0 )
fz = fx*aSingleRatio.DirectionZ/aSingleRatio.DirectionX;
else if( fy>0 && aSingleRatio.DirectionY>0 )
fz = fy*aSingleRatio.DirectionZ/aSingleRatio.DirectionY;
else
fz = aSingleRatio.DirectionZ;
}
if( fx>0 && fy>0 && fz>0 )
break;
}
aPreferredAspectRatio = drawing::Direction3D(fx, fy, fz);
return aPreferredAspectRatio;
}
//-----------------------------------------------------
namespace
{
bool lcl_IsPieOrDonut( const uno::Reference< XDiagram >& xDiagram )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
//special treatment for pie charts
//the size is checked after complete creation to get the datalabels into the given space
//todo: this is just a workaround at the moment for pie and donut labels
return DiagramHelper::isPieOrDonutChart( xDiagram );
}
2008-11-26 15:19:48 +00:00
void lcl_setDefaultWritingMode( ::boost::shared_ptr< DrawModelWrapper > pDrawModelWrapper, const Reference< frame::XModel >& xChartModel )
{
//get writing mode from parent document:
if( SvtLanguageOptions().IsCTLFontEnabled() )
{
try
{
uno::Reference< container::XChild > xChild( xChartModel, uno::UNO_QUERY );
sal_Int16 nWritingMode=-1;
if ( xChild.is() )
{
uno::Reference< beans::XPropertySet > xParentProps( xChild->getParent(), uno::UNO_QUERY );
uno::Reference< style::XStyleFamiliesSupplier > xStyleFamiliesSupplier( xParentProps, uno::UNO_QUERY );
if( xStyleFamiliesSupplier.is() )
{
uno::Reference< container::XNameAccess > xStylesFamilies( xStyleFamiliesSupplier->getStyleFamilies() );
if( xStylesFamilies.is() )
{
if( !xStylesFamilies->hasByName( C2U("PageStyles") ) )
{
//draw/impress is parent document
uno::Reference< lang::XMultiServiceFactory > xFatcory( xParentProps, uno::UNO_QUERY );
if( xFatcory.is() )
{
uno::Reference< beans::XPropertySet > xDrawDefaults( xFatcory->createInstance( C2U( "com.sun.star.drawing.Defaults" ) ), uno::UNO_QUERY );
if( xDrawDefaults.is() )
xDrawDefaults->getPropertyValue( C2U("WritingMode") ) >>= nWritingMode;
}
}
else
{
uno::Reference< container::XNameAccess > xPageStyles( xStylesFamilies->getByName( C2U("PageStyles") ), uno::UNO_QUERY );
if( xPageStyles.is() )
{
rtl::OUString aPageStyle;
uno::Reference< text::XTextDocument > xTextDocument( xParentProps, uno::UNO_QUERY );
if( xTextDocument.is() )
{
//writer is parent document
//retrieve the current page style from the text cursor property PageStyleName
uno::Reference< text::XTextEmbeddedObjectsSupplier > xTextEmbeddedObjectsSupplier( xTextDocument, uno::UNO_QUERY );
if( xTextEmbeddedObjectsSupplier.is() )
{
uno::Reference< container::XNameAccess > xEmbeddedObjects( xTextEmbeddedObjectsSupplier->getEmbeddedObjects() );
if( xEmbeddedObjects.is() )
{
uno::Sequence< rtl::OUString > aNames( xEmbeddedObjects->getElementNames() );
sal_Int32 nCount = aNames.getLength();
for( sal_Int32 nN=0; nN<nCount; nN++ )
{
uno::Reference< beans::XPropertySet > xEmbeddedProps( xEmbeddedObjects->getByName( aNames[nN] ), uno::UNO_QUERY );
if( xEmbeddedProps.is() )
{
static rtl::OUString aChartCLSID = rtl::OUString( SvGlobalName( SO3_SCH_CLASSID ).GetHexName());
rtl::OUString aCLSID;
xEmbeddedProps->getPropertyValue( C2U("CLSID") ) >>= aCLSID;
if( aCLSID.equals(aChartCLSID) )
{
uno::Reference< frame::XModel > xModel;
xEmbeddedProps->getPropertyValue( C2U("Model") ) >>= xModel;
if( xModel == xChartModel )
{
uno::Reference< text::XTextContent > xEmbeddedObject( xEmbeddedProps, uno::UNO_QUERY );
if( xEmbeddedObject.is() )
{
uno::Reference< text::XTextRange > xAnchor( xEmbeddedObject->getAnchor() );
if( xAnchor.is() )
{
uno::Reference< beans::XPropertySet > xAnchorProps( xAnchor, uno::UNO_QUERY );
if( xAnchorProps.is() )
{
xAnchorProps->getPropertyValue( C2U("WritingMode") ) >>= nWritingMode;
}
uno::Reference< text::XText > xText( xAnchor->getText() );
if( xText.is() )
{
uno::Reference< beans::XPropertySet > xTextCursorProps( xText->createTextCursor(), uno::UNO_QUERY );
if( xTextCursorProps.is() )
xTextCursorProps->getPropertyValue( C2U("PageStyleName") ) >>= aPageStyle;
}
}
}
break;
}
}
}
}
}
}
if( !aPageStyle.getLength() )
{
uno::Reference< text::XText > xText( xTextDocument->getText() );
if( xText.is() )
{
uno::Reference< beans::XPropertySet > xTextCursorProps( xText->createTextCursor(), uno::UNO_QUERY );
if( xTextCursorProps.is() )
xTextCursorProps->getPropertyValue( C2U("PageStyleName") ) >>= aPageStyle;
}
}
}
else
{
//Calc is parent document
xParentProps->getPropertyValue( C2U("PageStyle") ) >>= aPageStyle;
if(!aPageStyle.getLength())
aPageStyle = C2U("Default");
}
if( nWritingMode == -1 || nWritingMode == text::WritingMode2::PAGE )
{
uno::Reference< beans::XPropertySet > xPageStyle( xPageStyles->getByName( aPageStyle ), uno::UNO_QUERY );
if( xPageStyle.is() )
xPageStyle->getPropertyValue( C2U("WritingMode") ) >>= nWritingMode;
}
}
}
}
}
}
if( nWritingMode != -1 && nWritingMode != text::WritingMode2::PAGE )
{
if( pDrawModelWrapper.get() )
pDrawModelWrapper->GetItemPool().SetPoolDefaultItem(SfxInt32Item(EE_PARA_WRITINGDIR, nWritingMode) );
}
}
catch( uno::Exception& ex )
{
ASSERT_EXCEPTION( ex );
}
}
}
sal_Int16 lcl_getDefaultWritingModeFromPool( ::boost::shared_ptr< DrawModelWrapper > pDrawModelWrapper )
{
sal_Int16 nWritingMode = text::WritingMode2::LR_TB;
if( pDrawModelWrapper.get() )
{
const SfxPoolItem* pItem = &(pDrawModelWrapper->GetItemPool().GetDefaultItem( EE_PARA_WRITINGDIR ));
if( pItem )
nWritingMode = static_cast< sal_Int16 >((static_cast< const SfxInt32Item * >( pItem ))->GetValue());
}
return nWritingMode;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
} //end anonymous namespace
//------------ create complete diagram shape (inclusive axis and series)
awt::Rectangle ChartView::impl_createDiagramAndContent( SeriesPlotterContainer& rSeriesPlotterContainer
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, const uno::Reference< drawing::XShapes>& xDiagramPlusAxes_Shapes
, const awt::Point& rAvailablePos
, const awt::Size& rAvailableSize
, const awt::Size& rPageSize
, bool bUseFixedInnerSize
, const uno::Reference< drawing::XShape>& xDiagram_MarkHandles /*needs to be resized to fit the result*/
)
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
//return the used rectangle
awt::Rectangle aUsedOuterRect( rAvailablePos.X, rAvailablePos.Y, 0, 0 );
// sal_Int32 nDiagramIndex = 0;//todo if more than one diagam is supported
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( m_xChartModel ) );
if( !xDiagram.is())
return aUsedOuterRect;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
sal_Int32 nDimensionCount = DiagramHelper::getDimension( xDiagram );
if(!nDimensionCount)
{
//@todo handle mixed dimension
nDimensionCount = 2;
}
::basegfx::B2IRectangle aAvailableOuterRect( BaseGFXHelper::makeRectangle(rAvailablePos,rAvailableSize) );
const std::vector< VCoordinateSystem* >& rVCooSysList( rSeriesPlotterContainer.getCooSysList() );
const std::vector< VSeriesPlotter* >& rSeriesPlotterList( rSeriesPlotterContainer.getSeriesPlotterList() );
//create VAxis, so they can give necessary information for automatic scaling
uno::Reference< util::XNumberFormatsSupplier > xNumberFormatsSupplier( m_xChartModel, uno::UNO_QUERY );
size_t nC = 0;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
for( nC=0; nC < rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = rVCooSysList[nC];
if(3==nDimensionCount)
{
uno::Reference<beans::XPropertySet> xSceneProperties( xDiagram, uno::UNO_QUERY );
CuboidPlanePosition eLeftWallPos( ThreeDHelper::getAutomaticCuboidPlanePositionForStandardLeftWall( xSceneProperties ) );
CuboidPlanePosition eBackWallPos( ThreeDHelper::getAutomaticCuboidPlanePositionForStandardBackWall( xSceneProperties ) );
CuboidPlanePosition eBottomPos( ThreeDHelper::getAutomaticCuboidPlanePositionForStandardBottom( xSceneProperties ) );
pVCooSys->set3DWallPositions( eLeftWallPos, eBackWallPos, eBottomPos );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
pVCooSys->createVAxisList( xNumberFormatsSupplier
2008-10-01 07:35:04 +00:00
, rPageSize //font reference size
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, BaseGFXHelper::B2IRectangleToAWTRectangle( aAvailableOuterRect ) //maximum space for labels
);
}
// - prepare list of all axis and how they are used
rSeriesPlotterContainer.initAxisUsageList();
2008-10-01 07:35:04 +00:00
rSeriesPlotterContainer.doAutoScaling( m_xChartModel );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rSeriesPlotterContainer.setScalesFromCooSysToPlotter();
rSeriesPlotterContainer.setNumberFormatsFromAxes();
//---------------------------------------------------------------------
//create shapes
//------------ create diagram shapes
//aspect ratio
drawing::Direction3D aPreferredAspectRatio(
rSeriesPlotterContainer.getPreferredAspectRatio() );
uno::Reference< drawing::XShapes > xSeriesTargetInFrontOfAxis(0);
uno::Reference< drawing::XShapes > xSeriesTargetBehindAxis(0);
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VDiagram aVDiagram(xDiagram, aPreferredAspectRatio, nDimensionCount);
{//create diagram
aVDiagram.init(xDiagramPlusAxes_Shapes,xDiagramPlusAxes_Shapes,m_xShapeFactory);
aVDiagram.createShapes(rAvailablePos,rAvailableSize);
xSeriesTargetInFrontOfAxis = aVDiagram.getCoordinateRegion();
if( !bUseFixedInnerSize )
aVDiagram.reduceToMimimumSize();
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
uno::Reference< drawing::XShapes > xTextTargetShapes( ShapeFactory(m_xShapeFactory).createGroup2D(xDiagramPlusAxes_Shapes) );
// - create axis and grids for all coordinate systems
//init all coordinate systems
for( nC=0; nC < rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = rVCooSysList[nC];
pVCooSys->initPlottingTargets(xSeriesTargetInFrontOfAxis,xTextTargetShapes,m_xShapeFactory,xSeriesTargetBehindAxis);
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aVDiagram.getCurrentRectangle() ) ));
pVCooSys->initVAxisInList();
}
//calculate resulting size respecting axis label layout and fontscaling
uno::Reference< drawing::XShape > xBoundingShape( xDiagramPlusAxes_Shapes, uno::UNO_QUERY );
::basegfx::B2IRectangle aConsumedOuterRect;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//use first coosys only so far; todo: calculate for more than one coosys if we have more in future
//todo: this is just a workaround at the moment for pie and donut labels
bool bIsPieOrDonut = lcl_IsPieOrDonut(xDiagram);
if( !bIsPieOrDonut && rVCooSysList.size() > 0 )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
VCoordinateSystem* pVCooSys = rVCooSysList[0];
pVCooSys->createMaximumAxesLabels();
aConsumedOuterRect = ::basegfx::B2IRectangle( ShapeFactory::getRectangleOfShape(xBoundingShape) );
::basegfx::B2IRectangle aNewInnerRect( aVDiagram.getCurrentRectangle() );
if( !bUseFixedInnerSize )
aNewInnerRect = aVDiagram.adjustInnerSize( aConsumedOuterRect );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aNewInnerRect ) ));
//redo autoscaling to get size and text dependent automatic main increment count
2008-10-01 07:35:04 +00:00
rSeriesPlotterContainer.doAutoScaling( m_xChartModel );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rSeriesPlotterContainer.updateScalesAndIncrementsOnAxes();
rSeriesPlotterContainer.setScalesFromCooSysToPlotter();
pVCooSys->createAxesLabels();
bool bLessSpaceConsumedThanExpected = false;
{
::basegfx::B2IRectangle aOldRect( aConsumedOuterRect );
aConsumedOuterRect = ShapeFactory::getRectangleOfShape(xBoundingShape);
if( aConsumedOuterRect.getMinX() > aAvailableOuterRect.getMinX()
|| aConsumedOuterRect.getMaxX() < aAvailableOuterRect.getMaxX()
|| aConsumedOuterRect.getMinY() > aAvailableOuterRect.getMinY()
|| aConsumedOuterRect.getMinY() < aAvailableOuterRect.getMaxY() )
bLessSpaceConsumedThanExpected = true;
}
if( bLessSpaceConsumedThanExpected && !bUseFixedInnerSize )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
aVDiagram.adjustInnerSize( aConsumedOuterRect );
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aVDiagram.getCurrentRectangle() ) ));
}
pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be neccessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
//create axes and grids for the final size
for( nC=0; nC < rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = rVCooSysList[nC];
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aVDiagram.getCurrentRectangle() ) ));
pVCooSys->createAxesShapes();
pVCooSys->createGridShapes();
}
// - create data series for all charttypes
m_bPointsWereSkipped = false;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = rSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = rSeriesPlotterList.end();
for( aPlotterIter = rSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
//------------ set transformation to plotter / create series
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
rtl::OUString aCID; //III
uno::Reference< drawing::XShapes > xSeriesTarget(0);
if( pSeriesPlotter->WantToPlotInFrontOfAxisLine() )
xSeriesTarget = xSeriesTargetInFrontOfAxis;
else
{
xSeriesTarget = xSeriesTargetBehindAxis;
DBG_ASSERT( !bIsPieOrDonut, "not implemented yet! - during a complete recreation this shape is destroyed so no series can be created anymore" );
}
pSeriesPlotter->initPlotter( xSeriesTarget,xTextTargetShapes,m_xShapeFactory,aCID );
2008-10-01 07:35:04 +00:00
pSeriesPlotter->setPageReferenceSize( rPageSize );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VCoordinateSystem* pVCooSys = lcl_getCooSysForPlotter( rVCooSysList, pSeriesPlotter );
if(2==nDimensionCount)
pSeriesPlotter->setTransformationSceneToScreen( pVCooSys->getTransformationSceneToScreen() );
//better performance for big data
awt::Size aCoordinateRegionResolution(1000,1000);
{
//calculate resolution for coordinate system
Sequence<sal_Int32> aCoordinateSystemResolution = pVCooSys->getCoordinateSystemResolution( rPageSize, m_aPageResolution );
pSeriesPlotter->setCoordinateSystemResolution( aCoordinateSystemResolution );
}
//
pSeriesPlotter->createShapes();
m_bPointsWereSkipped = m_bPointsWereSkipped || pSeriesPlotter->PointsWereSkipped();
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
//recreate all with corrected sizes if requested
if( bIsPieOrDonut )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
m_bPointsWereSkipped = false;
aConsumedOuterRect = ::basegfx::B2IRectangle( ShapeFactory::getRectangleOfShape(xBoundingShape) );
::basegfx::B2IRectangle aNewInnerRect( aVDiagram.getCurrentRectangle() );
if( !bUseFixedInnerSize )
aNewInnerRect = aVDiagram.adjustInnerSize( aConsumedOuterRect );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
for( aPlotterIter = rSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
pSeriesPlotter->releaseShapes();
}
//clear and recreate
ShapeFactory::removeSubShapes( xSeriesTargetInFrontOfAxis ); //xSeriesTargetBehindAxis is a sub shape of xSeriesTargetInFrontOfAxis and will be removed here
xSeriesTargetBehindAxis.clear();
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ShapeFactory::removeSubShapes( xTextTargetShapes );
//set new transformation
for( nC=0; nC < rVCooSysList.size(); nC++)
{
VCoordinateSystem* pVCooSys = rVCooSysList[nC];
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aNewInnerRect ) ));
}
// - create data series for all charttypes
for( aPlotterIter = rSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
//------------ set transformation to plotter / create series
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
VCoordinateSystem* pVCooSys = lcl_getCooSysForPlotter( rVCooSysList, pSeriesPlotter );
if(2==nDimensionCount)
pSeriesPlotter->setTransformationSceneToScreen( pVCooSys->getTransformationSceneToScreen() );
pSeriesPlotter->createShapes();
m_bPointsWereSkipped = m_bPointsWereSkipped || pSeriesPlotter->PointsWereSkipped();
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
/*
uno::Reference< drawing::XShape > xDiagramPlusAxes_KeepRatio( xDiagramPlusAxes_Shapes, uno::UNO_QUERY );
awt::Size aNewSize( rAvailableSize );
awt::Point aNewPos( rAvailablePos );
if( bKeepAspectRatio )
{
awt::Size aCurrentSize( xDiagramPlusAxes_KeepRatio->getSize());
aNewSize = ShapeFactory::calculateNewSizeRespectingAspectRatio(
rAvailableSize, aCurrentSize );
aNewPos = ShapeFactory::calculateTopLeftPositionToCenterObject(
rAvailablePos, rAvailableSize, aNewSize );
}
xDiagramPlusAxes_KeepRatio->setPosition( aNewPos );
xDiagramPlusAxes_KeepRatio->setSize( aNewSize );
*/
for( aPlotterIter = rSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
pSeriesPlotter->rearrangeLabelToAvoidOverlapIfRequested( rPageSize );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
if( bUseFixedInnerSize )
{
//if( !bIsPieOrDonut )
// aConsumedOuterRect = ::basegfx::B2IRectangle( ShapeFactory::getRectangleOfShape(xBoundingShape) );
aUsedOuterRect = awt::Rectangle( aConsumedOuterRect.getMinX(), aConsumedOuterRect.getMinY(), aConsumedOuterRect.getWidth(), aConsumedOuterRect.getHeight() );
}
else
aUsedOuterRect = awt::Rectangle( rAvailablePos.X, rAvailablePos.Y, rAvailableSize.Width, rAvailableSize.Height );
bool bSnapRectToUsedArea = false;
for( aPlotterIter = rSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; aPlotterIter++ )
{
VSeriesPlotter* pSeriesPlotter = *aPlotterIter;
bSnapRectToUsedArea = pSeriesPlotter->shouldSnapRectToUsedArea();
if(bSnapRectToUsedArea)
break;
}
if(bSnapRectToUsedArea)
{
if( bUseFixedInnerSize )
m_aResultingDiagramRectangleExcludingAxes = getRectangleOfObject( C2U("PlotAreaExcludingAxes") );
else
{
::basegfx::B2IRectangle aConsumedInnerRect = aVDiagram.getCurrentRectangle();
m_aResultingDiagramRectangleExcludingAxes = awt::Rectangle( aConsumedInnerRect.getMinX(), aConsumedInnerRect.getMinY(), aConsumedInnerRect.getWidth(), aConsumedInnerRect.getHeight() );
}
}
else
{
if( bUseFixedInnerSize )
m_aResultingDiagramRectangleExcludingAxes = awt::Rectangle( rAvailablePos.X, rAvailablePos.Y, rAvailableSize.Width, rAvailableSize.Height );
else
{
::basegfx::B2IRectangle aConsumedInnerRect = aVDiagram.getCurrentRectangle();
m_aResultingDiagramRectangleExcludingAxes = awt::Rectangle( aConsumedInnerRect.getMinX(), aConsumedInnerRect.getMinY(), aConsumedInnerRect.getWidth(), aConsumedInnerRect.getHeight() );
}
}
if( xDiagram_MarkHandles.is() )
{
awt::Point aPos(rAvailablePos);
awt::Size aSize(rAvailableSize);
bool bPosSizeExcludeAxesProperty = true;
uno::Reference< beans::XPropertySet > xDiaProps( xDiagram, uno::UNO_QUERY_THROW );
if( xDiaProps.is() )
xDiaProps->getPropertyValue(C2U("PosSizeExcludeAxes")) >>= bPosSizeExcludeAxesProperty;
if( bUseFixedInnerSize || bPosSizeExcludeAxesProperty )
{
aPos = awt::Point( m_aResultingDiagramRectangleExcludingAxes.X, m_aResultingDiagramRectangleExcludingAxes.Y );
aSize = awt::Size( m_aResultingDiagramRectangleExcludingAxes.Width, m_aResultingDiagramRectangleExcludingAxes.Height );
}
xDiagram_MarkHandles->setPosition( aPos );
xDiagram_MarkHandles->setSize( aSize );
}
return aUsedOuterRect;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
//-------------------------------------------------------------
//-------------------------------------------------------------
//-------------------------------------------------------------
sal_Bool ChartView::getExplicitValuesForAxis(
uno::Reference< XAxis > xAxis
, ExplicitScaleData& rExplicitScale
, ExplicitIncrementData& rExplicitIncrement )
{
impl_updateView();
if(!xAxis.is())
return sal_False;
uno::Reference< XCoordinateSystem > xCooSys( AxisHelper::getCoordinateSystemOfAxis(xAxis,ChartModelHelper::findDiagram( m_xChartModel ) ) );
const VCoordinateSystem* pVCooSys = findInCooSysList(m_aVCooSysList,xCooSys);
if(!pVCooSys)
return sal_False;
sal_Int32 nDimensionIndex=-1;
sal_Int32 nAxisIndex=-1;
if( AxisHelper::getIndicesForAxis( xAxis, xCooSys, nDimensionIndex, nAxisIndex ) )
{
rExplicitScale = pVCooSys->getExplicitScale(nDimensionIndex,nAxisIndex);
rExplicitIncrement = pVCooSys->getExplicitIncrement(nDimensionIndex,nAxisIndex);
return sal_True;
}
return sal_False;
}
SdrPage* ChartView::getSdrPage()
{
SdrPage* pPage=0;
Reference< lang::XUnoTunnel> xUnoTunnel(m_xDrawPage,uno::UNO_QUERY);
if(xUnoTunnel.is())
{
SvxDrawPage* pSvxDrawPage = reinterpret_cast<SvxDrawPage*>(xUnoTunnel->getSomething(
SvxDrawPage::getUnoTunnelId() ));
if(pSvxDrawPage)
{
pPage = pSvxDrawPage->GetSdrPage();
}
}
return pPage;
}
uno::Reference< drawing::XShape > ChartView::getShapeForCID( const rtl::OUString& rObjectCID )
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
SdrObject* pObj = DrawModelWrapper::getNamedSdrObject( rObjectCID, this->getSdrPage() );
if( pObj )
return uno::Reference< drawing::XShape >( pObj->getUnoShape(), uno::UNO_QUERY);
return 0;
}
awt::Rectangle ChartView::getDiagramRectangleExcludingAxes()
{
impl_updateView();
return m_aResultingDiagramRectangleExcludingAxes;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
awt::Rectangle ChartView::getRectangleOfObject( const rtl::OUString& rObjectCID, bool bSnapRect )
{
impl_updateView();
awt::Rectangle aRet;
uno::Reference< drawing::XShape > xShape( getShapeForCID(rObjectCID) );
if(xShape.is())
{
//special handling for axis for old api:
//same special handling for diagram
ObjectType eObjectType( ObjectIdentifier::getObjectType( rObjectCID ) );
if( eObjectType == OBJECTTYPE_AXIS || eObjectType == OBJECTTYPE_DIAGRAM )
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
SvxShape* pRoot = SvxShape::getImplementation( xShape );
if( pRoot )
{
SdrObject* pRootSdrObject = pRoot->GetSdrObject();
if( pRootSdrObject )
{
SdrObjList* pRootList = pRootSdrObject->GetSubList();
if( pRootList )
{
OUString aShapeName = C2U("MarkHandles");
if( eObjectType == OBJECTTYPE_DIAGRAM )
aShapeName = C2U("PlotAreaIncludingAxes");
SdrObject* pShape = DrawModelWrapper::getNamedSdrObject( aShapeName, pRootList );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( pShape )
xShape = uno::Reference< drawing::XShape >( pShape->getUnoShape(), uno::UNO_QUERY);
}
}
}
}
awt::Size aSize( xShape->getSize() );
awt::Point aPoint( xShape->getPosition() );
aRet = awt::Rectangle( aPoint.X, aPoint.Y, aSize.Width, aSize.Height );
if( bSnapRect )
{
//for rotated objects the shape size and position differs from the visible rectangle
SvxShape* pShape = SvxShape::getImplementation( xShape );
if( pShape )
{
SdrObject* pSdrObject = pShape->GetSdrObject();
if( pSdrObject )
{
Rectangle aSnapRect( pSdrObject->GetSnapRect() );
aRet = awt::Rectangle(aSnapRect.Left(),aSnapRect.Top(),aSnapRect.GetWidth(),aSnapRect.GetHeight());
}
}
}
}
return aRet;
}
::boost::shared_ptr< DrawModelWrapper > ChartView::getDrawModelWrapper()
{
return m_pDrawModelWrapper;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
namespace
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
sal_Int32 lcl_getDiagramTitleSpace()
{
return 200; //=0,2 cm spacing
}
bool lcl_getPropertySwapXAndYAxis( const uno::Reference< XDiagram >& xDiagram )
{
bool bSwapXAndY = false;
uno::Reference< XCoordinateSystemContainer > xCooSysContainer( xDiagram, uno::UNO_QUERY );
if( xCooSysContainer.is() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Sequence< uno::Reference< XCoordinateSystem > > aCooSysList( xCooSysContainer->getCoordinateSystems() );
if( aCooSysList.getLength() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Reference<beans::XPropertySet> xProp(aCooSysList[0], uno::UNO_QUERY );
if( xProp.is()) try
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
xProp->getPropertyValue( C2U( "SwapXAndYAxis" ) ) >>= bSwapXAndY;
}
catch( uno::Exception& e )
{
ASSERT_EXCEPTION( e );
2003-10-06 08:58:36 +00:00
}
}
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
return bSwapXAndY;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
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 09:41:18 +00:00
sal_Int32 lcl_getExplicitNumberFormatKeyForAxis(
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
const Reference< chart2::XAxis >& xAxis
, const Reference< chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem
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 09:41:18 +00:00
, const Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier
, bool bSearchForParallelAxisIfNothingIsFound )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
sal_Int32 nNumberFormatKey(0);
Reference< beans::XPropertySet > xProp( xAxis, uno::UNO_QUERY );
if( xProp.is() && !( xProp->getPropertyValue( C2U( "NumberFormat" ) ) >>= nNumberFormatKey ) )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
bool bPercentFormatSet = false;
//check wether we have a percent scale -> use percent format
if( xNumberFormatsSupplier.is() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
ScaleData aData = xAxis->getScaleData();
if( aData.AxisType==AxisType::PERCENT )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
sal_Int32 nPercentFormat = ExplicitValueProvider::getPercentNumberFormat( xNumberFormatsSupplier );
if( nPercentFormat != -1 )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
nNumberFormatKey = nPercentFormat;
bPercentFormatSet = true;
2003-10-06 08:58:36 +00:00
}
}
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( !bPercentFormatSet )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
typedef ::std::map< sal_Int32, sal_Int32 > tNumberformatFrequency;
tNumberformatFrequency aKeyMap;
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 09:41:18 +00:00
bool bNumberFormatKeyFoundViaAttachedData = false;
sal_Int32 nAxisIndex = 0;
sal_Int32 nDimensionIndex = 1;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
try
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
Reference< XChartTypeContainer > xCTCnt( xCorrespondingCoordinateSystem, uno::UNO_QUERY_THROW );
if( xCTCnt.is() )
2003-11-22 10:53:20 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
AxisHelper::getIndicesForAxis( xAxis, xCorrespondingCoordinateSystem, nDimensionIndex, nAxisIndex );
::rtl::OUString aRoleToMatch;
if( nDimensionIndex == 0 )
aRoleToMatch = C2U("values-x");
Sequence< Reference< XChartType > > aChartTypes( xCTCnt->getChartTypes());
for( sal_Int32 nCTIdx=0; nCTIdx<aChartTypes.getLength(); ++nCTIdx )
2003-11-22 10:53:20 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( nDimensionIndex != 0 )
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
aRoleToMatch = ChartTypeHelper::getRoleOfSequenceForYAxisNumberFormatDetection( aChartTypes[nCTIdx] );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
Reference< XDataSeriesContainer > xDSCnt( aChartTypes[nCTIdx], uno::UNO_QUERY_THROW );
Sequence< Reference< XDataSeries > > aDataSeriesSeq( xDSCnt->getDataSeries());
for( sal_Int32 nSeriesIdx=0; nSeriesIdx<aDataSeriesSeq.getLength(); ++nSeriesIdx )
{
Reference< chart2::XDataSeries > xDataSeries(aDataSeriesSeq[nSeriesIdx]);
Reference< data::XDataSource > xSource( xDataSeries, uno::UNO_QUERY_THROW );
if( nDimensionIndex == 1 )
{
//only take those series into accoutn that are attached to this axis
sal_Int32 nAttachedAxisIndex = DataSeriesHelper::getAttachedAxisIndex(xDataSeries);
if( nAttachedAxisIndex != nAxisIndex )
continue;
}
Sequence< Reference< data::XLabeledDataSequence > > aLabeledSeq( xSource->getDataSequences());
for( sal_Int32 nLSeqIdx=0; nLSeqIdx<aLabeledSeq.getLength(); ++nLSeqIdx )
{
if(!aLabeledSeq[nLSeqIdx].is())
continue;
Reference< data::XDataSequence > xSeq( aLabeledSeq[nLSeqIdx]->getValues());
if(!xSeq.is())
continue;
Reference< beans::XPropertySet > xSeqProp( xSeq, uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
::rtl::OUString aRole;
bool bTakeIntoAccount =
( xSeqProp.is() && (aRoleToMatch.getLength() > 0) &&
(xSeqProp->getPropertyValue(C2U("Role")) >>= aRole ) &&
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
aRole.equals( aRoleToMatch ));
if( bTakeIntoAccount )
{
sal_Int32 nKey = xSeq->getNumberFormatKeyByIndex( -1 );
// initialize the value
if( aKeyMap.find( nKey ) == aKeyMap.end())
aKeyMap[ nKey ] = 0;
// increase frequency
aKeyMap[ nKey ] = (aKeyMap[ nKey ] + 1);
}
}
}
2003-11-22 10:53:20 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
}
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
if( ! aKeyMap.empty())
{
sal_Int32 nMaxFreq = 0;
// find most frequent key
for( tNumberformatFrequency::const_iterator aIt = aKeyMap.begin();
aIt != aKeyMap.end(); ++aIt )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
OSL_TRACE( "NumberFormatKey %d appears %d times", (*aIt).first, (*aIt).second );
// all values must at least be 1
if( (*aIt).second > nMaxFreq )
2003-11-22 10:53:20 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
nNumberFormatKey = (*aIt).first;
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 09:41:18 +00:00
bNumberFormatKeyFoundViaAttachedData = true;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
nMaxFreq = (*aIt).second;
2003-11-22 10:53:20 +00:00
}
2003-10-06 08:58:36 +00:00
}
}
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 09:41:18 +00:00
if( bSearchForParallelAxisIfNothingIsFound )
{
//no format is set to this axis and no data is set to this axis
//--> try to obtain the format from the parallel y-axis
if( !bNumberFormatKeyFoundViaAttachedData && nDimensionIndex == 1 )
{
sal_Int32 nParallelAxisIndex = (nAxisIndex==1) ?0 :1;
Reference< XAxis > xParallelAxis( AxisHelper::getAxis( 1, nParallelAxisIndex, xCorrespondingCoordinateSystem ) );
nNumberFormatKey = lcl_getExplicitNumberFormatKeyForAxis( xParallelAxis, xCorrespondingCoordinateSystem, xNumberFormatsSupplier, false );
}
}
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
return nNumberFormatKey;
}
2003-10-06 08:58:36 +00:00
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 09:41:18 +00:00
//static
sal_Int32 ExplicitValueProvider::getExplicitNumberFormatKeyForAxis(
const Reference< chart2::XAxis >& xAxis
, const Reference< chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem
, const Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier )
{
return lcl_getExplicitNumberFormatKeyForAxis( xAxis, xCorrespondingCoordinateSystem, xNumberFormatsSupplier
, true /*bSearchForParallelAxisIfNothingIsFound*/ );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//static
sal_Int32 ExplicitValueProvider::getPercentNumberFormat( const Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier )
{
sal_Int32 nRet=-1;
Reference< util::XNumberFormats > xNumberFormats( xNumberFormatsSupplier->getNumberFormats() );
if( xNumberFormats.is() )
{
sal_Bool bCreate = sal_True;
const LocaleDataWrapper& rLocaleDataWrapper = Application::GetSettings().GetLocaleDataWrapper();
Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::PERCENT,
rLocaleDataWrapper.getLocale(), bCreate );
if( aKeySeq.getLength() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
nRet = aKeySeq[0];
}
}
return nRet;
}
2003-10-06 08:58:36 +00:00
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Int32 ExplicitValueProvider::getExplicitNumberFormatKeyForDataLabel(
const uno::Reference< beans::XPropertySet >& xSeriesOrPointProp,
const uno::Reference< XDataSeries >& xSeries,
sal_Int32 nPointIndex /*-1 for whole series*/,
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
const uno::Reference< XDiagram >& xDiagram
)
{
sal_Int32 nFormat=0;
if( !xSeriesOrPointProp.is() )
return nFormat;
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
rtl::OUString aPropName( C2U( "NumberFormat" ) );
if( !(xSeriesOrPointProp->getPropertyValue(aPropName) >>= nFormat) )
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
uno::Reference< chart2::XChartType > xChartType( DataSeriesHelper::getChartTypeOfSeries( xSeries, xDiagram ) );
bool bFormatFound = false;
if( ChartTypeHelper::shouldLabelNumberFormatKeyBeDetectedFromYAxis( xChartType ) )
{
uno::Reference< beans::XPropertySet > xAttachedAxisProps( DiagramHelper::getAttachedAxis( xSeries, xDiagram ), uno::UNO_QUERY );
if( xAttachedAxisProps.is() && ( xAttachedAxisProps->getPropertyValue( aPropName ) >>= nFormat ) )
bFormatFound = true;
}
if( !bFormatFound )
{
Reference< chart2::data::XDataSource > xSeriesSource( xSeries, uno::UNO_QUERY );
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
OUString aRole( ChartTypeHelper::getRoleOfSequenceForDataLabelNumberFormatDetection( xChartType ) );
Reference< data::XLabeledDataSequence > xLabeledSequence(
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
DataSeriesHelper::getDataSequenceByRole( xSeriesSource, aRole, false ));
if( xLabeledSequence.is() )
{
Reference< data::XDataSequence > xValues( xLabeledSequence->getValues() );
if( xValues.is() )
nFormat = xValues->getNumberFormatKeyByIndex( nPointIndex );
}
}
}
if(nFormat<0)
nFormat=0;
return nFormat;
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Int32 ExplicitValueProvider::getExplicitPercentageNumberFormatKeyForDataLabel(
const uno::Reference< beans::XPropertySet >& xSeriesOrPointProp,
const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier )
{
sal_Int32 nFormat=0;
if( !xSeriesOrPointProp.is() )
return nFormat;
if( !(xSeriesOrPointProp->getPropertyValue(C2U( "PercentageNumberFormat" )) >>= nFormat) )
{
nFormat = ExplicitValueProvider::getPercentNumberFormat( xNumberFormatsSupplier );
}
if(nFormat<0)
nFormat=0;
return nFormat;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//static
awt::Rectangle ExplicitValueProvider::addAxisTitleSizes(
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
const Reference< frame::XModel >& xChartModel
, const Reference< uno::XInterface >& xChartView
, const awt::Rectangle& rExcludingPositionAndSize )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
awt::Rectangle aRet(rExcludingPositionAndSize);
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//add axis title sizes to the diagram size
uno::Reference< chart2::XTitle > xTitle_Height( TitleHelper::getTitle( TitleHelper::TITLE_AT_STANDARD_X_AXIS_POSITION, xChartModel ) );
uno::Reference< chart2::XTitle > xTitle_Width( TitleHelper::getTitle( TitleHelper::TITLE_AT_STANDARD_Y_AXIS_POSITION, xChartModel ) );
uno::Reference< chart2::XTitle > xSecondTitle_Height( TitleHelper::getTitle( TitleHelper::SECONDARY_X_AXIS_TITLE, xChartModel ) );
uno::Reference< chart2::XTitle > xSecondTitle_Width( TitleHelper::getTitle( TitleHelper::SECONDARY_Y_AXIS_TITLE, xChartModel ) );
if( xTitle_Height.is() || xTitle_Width.is() || xSecondTitle_Height.is() || xSecondTitle_Width.is() )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
ExplicitValueProvider* pExplicitValueProvider = ExplicitValueProvider::getExplicitValueProvider(xChartView);
if( pExplicitValueProvider )
{
//detect wether x axis points into x direction or not
if( lcl_getPropertySwapXAndYAxis( ChartModelHelper::findDiagram( xChartModel ) ) )
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
std::swap( xTitle_Height, xTitle_Width );
std::swap( xSecondTitle_Height, xSecondTitle_Width );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
sal_Int32 nTitleSpaceWidth = 0;
sal_Int32 nTitleSpaceHeight = 0;
sal_Int32 nSecondTitleSpaceWidth = 0;
sal_Int32 nSecondTitleSpaceHeight = 0;
2004-01-08 09:47:24 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( xTitle_Height.is() )
{
rtl::OUString aCID_X( ObjectIdentifier::createClassifiedIdentifierForObject( xTitle_Height, xChartModel ) );
nTitleSpaceHeight = pExplicitValueProvider->getRectangleOfObject( aCID_X, true ).Height;
if( nTitleSpaceHeight )
nTitleSpaceHeight+=lcl_getDiagramTitleSpace();
}
if( xTitle_Width.is() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rtl::OUString aCID_Y( ObjectIdentifier::createClassifiedIdentifierForObject( xTitle_Width, xChartModel ) );
nTitleSpaceWidth = pExplicitValueProvider->getRectangleOfObject( aCID_Y, true ).Width;
if(nTitleSpaceWidth)
nTitleSpaceWidth+=lcl_getDiagramTitleSpace();
2003-10-06 08:58:36 +00:00
}
if( xSecondTitle_Height.is() )
{
rtl::OUString aCID_X( ObjectIdentifier::createClassifiedIdentifierForObject( xSecondTitle_Height, xChartModel ) );
nSecondTitleSpaceHeight = pExplicitValueProvider->getRectangleOfObject( aCID_X, true ).Height;
if( nSecondTitleSpaceHeight )
nSecondTitleSpaceHeight+=lcl_getDiagramTitleSpace();
}
if( xSecondTitle_Width.is() )
{
rtl::OUString aCID_Y( ObjectIdentifier::createClassifiedIdentifierForObject( xSecondTitle_Width, xChartModel ) );
nSecondTitleSpaceWidth += pExplicitValueProvider->getRectangleOfObject( aCID_Y, true ).Width;
if( nSecondTitleSpaceWidth )
nSecondTitleSpaceWidth+=lcl_getDiagramTitleSpace();
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
aRet.X -= nTitleSpaceWidth;
aRet.Y -= nSecondTitleSpaceHeight;
aRet.Width += nTitleSpaceWidth + nSecondTitleSpaceWidth;
aRet.Height += nTitleSpaceHeight + nSecondTitleSpaceHeight;
2003-10-06 08:58:36 +00:00
}
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
return aRet;
2003-10-06 08:58:36 +00:00
}
//static
awt::Rectangle ExplicitValueProvider::substractAxisTitleSizes(
const Reference< frame::XModel >& xChartModel
, const Reference< uno::XInterface >& xChartView
, const awt::Rectangle& rPositionAndSizeIncludingTitles )
{
awt::Rectangle aRet(rPositionAndSizeIncludingTitles);
//add axis title sizes to the diagram size
uno::Reference< chart2::XTitle > xTitle_Height( TitleHelper::getTitle( TitleHelper::TITLE_AT_STANDARD_X_AXIS_POSITION, xChartModel ) );
uno::Reference< chart2::XTitle > xTitle_Width( TitleHelper::getTitle( TitleHelper::TITLE_AT_STANDARD_Y_AXIS_POSITION, xChartModel ) );
uno::Reference< chart2::XTitle > xSecondTitle_Height( TitleHelper::getTitle( TitleHelper::SECONDARY_X_AXIS_TITLE, xChartModel ) );
uno::Reference< chart2::XTitle > xSecondTitle_Width( TitleHelper::getTitle( TitleHelper::SECONDARY_Y_AXIS_TITLE, xChartModel ) );
if( xTitle_Height.is() || xTitle_Width.is() || xSecondTitle_Height.is() || xSecondTitle_Width.is() )
{
ExplicitValueProvider* pExplicitValueProvider = ExplicitValueProvider::getExplicitValueProvider(xChartView);
if( pExplicitValueProvider )
{
//detect wether x axis points into x direction or not
if( lcl_getPropertySwapXAndYAxis( ChartModelHelper::findDiagram( xChartModel ) ) )
{
std::swap( xTitle_Height, xTitle_Width );
std::swap( xSecondTitle_Height, xSecondTitle_Width );
}
sal_Int32 nTitleSpaceWidth = 0;
sal_Int32 nTitleSpaceHeight = 0;
sal_Int32 nSecondTitleSpaceWidth = 0;
sal_Int32 nSecondTitleSpaceHeight = 0;
if( xTitle_Height.is() )
{
rtl::OUString aCID_X( ObjectIdentifier::createClassifiedIdentifierForObject( xTitle_Height, xChartModel ) );
nTitleSpaceHeight = pExplicitValueProvider->getRectangleOfObject( aCID_X, true ).Height;
if( nTitleSpaceHeight )
nTitleSpaceHeight+=lcl_getDiagramTitleSpace();
}
if( xTitle_Width.is() )
{
rtl::OUString aCID_Y( ObjectIdentifier::createClassifiedIdentifierForObject( xTitle_Width, xChartModel ) );
nTitleSpaceWidth = pExplicitValueProvider->getRectangleOfObject( aCID_Y, true ).Width;
if(nTitleSpaceWidth)
nTitleSpaceWidth+=lcl_getDiagramTitleSpace();
}
if( xSecondTitle_Height.is() )
{
rtl::OUString aCID_X( ObjectIdentifier::createClassifiedIdentifierForObject( xSecondTitle_Height, xChartModel ) );
nSecondTitleSpaceHeight = pExplicitValueProvider->getRectangleOfObject( aCID_X, true ).Height;
if( nSecondTitleSpaceHeight )
nSecondTitleSpaceHeight+=lcl_getDiagramTitleSpace();
}
if( xSecondTitle_Width.is() )
{
rtl::OUString aCID_Y( ObjectIdentifier::createClassifiedIdentifierForObject( xSecondTitle_Width, xChartModel ) );
nSecondTitleSpaceWidth += pExplicitValueProvider->getRectangleOfObject( aCID_Y, true ).Width;
if( nSecondTitleSpaceWidth )
nSecondTitleSpaceWidth+=lcl_getDiagramTitleSpace();
}
aRet.X += nTitleSpaceWidth;
aRet.Y += nSecondTitleSpaceHeight;
aRet.Width -= (nTitleSpaceWidth + nSecondTitleSpaceWidth);
aRet.Height -= (nTitleSpaceHeight + nSecondTitleSpaceHeight);
}
}
return aRet;
}
2003-12-12 19:15:30 +00:00
double lcl_getPageLayoutDistancePercentage()
{
return 0.02;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
bool getAvailablePosAndSizeForDiagram(
awt::Point& rOutPos, awt::Size& rOutAvailableDiagramSize
2003-12-04 14:58:12 +00:00
, const awt::Rectangle& rSpaceLeft
, const awt::Size & rPageSize
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, const uno::Reference< XDiagram > & xDiagram
, bool& bUseFixedInnerSize )
2003-10-06 08:58:36 +00:00
{
bUseFixedInnerSize = false;
//@todo: we need a size dependent on the axis labels
2003-12-12 19:15:30 +00:00
awt::Rectangle aRemainingSpace(rSpaceLeft);
{
sal_Int32 nYDistance = static_cast<sal_Int32>(rPageSize.Height*lcl_getPageLayoutDistancePercentage());
sal_Int32 nXDistance = static_cast<sal_Int32>(rPageSize.Width*lcl_getPageLayoutDistancePercentage());
aRemainingSpace.X+=nXDistance;
aRemainingSpace.Width-=2*nXDistance;
aRemainingSpace.Y+=nYDistance;
aRemainingSpace.Height-=2*nYDistance;
}
if(aRemainingSpace.Width <= 0 || aRemainingSpace.Height <= 0 )
2003-10-06 08:58:36 +00:00
return false;
2003-12-06 20:57:17 +00:00
uno::Reference< beans::XPropertySet > xProp(xDiagram, uno::UNO_QUERY);
bool bPosSizeExcludeAxes = false;
if( xProp.is() )
xProp->getPropertyValue( C2U( "PosSizeExcludeAxes" ) ) >>= bPosSizeExcludeAxes;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
2003-12-04 14:58:12 +00:00
//size:
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
::com::sun::star::chart2::RelativeSize aRelativeSize;
2003-12-06 20:57:17 +00:00
if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativeSize" ) )>>=aRelativeSize) )
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rOutAvailableDiagramSize.Height = static_cast<sal_Int32>(aRelativeSize.Secondary*rPageSize.Height);
rOutAvailableDiagramSize.Width = static_cast<sal_Int32>(aRelativeSize.Primary*rPageSize.Width);
bUseFixedInnerSize = bPosSizeExcludeAxes;
2003-12-06 20:57:17 +00:00
}
else
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rOutAvailableDiagramSize = awt::Size(aRemainingSpace.Width,aRemainingSpace.Height);
2003-12-04 14:58:12 +00:00
//position:
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
chart2::RelativePosition aRelativePosition;
2003-12-04 14:58:12 +00:00
if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) )
{
//@todo decide wether x is primary or secondary
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//the coordinates re relative to the page
double fX = aRelativePosition.Primary*rPageSize.Width;
double fY = aRelativePosition.Secondary*rPageSize.Height;
2003-12-04 14:58:12 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rOutPos = RelativePositionHelper::getUpperLeftCornerOfAnchoredObject(
awt::Point(static_cast<sal_Int32>(fX),static_cast<sal_Int32>(fY))
, rOutAvailableDiagramSize, aRelativePosition.Anchor );
bUseFixedInnerSize = bPosSizeExcludeAxes;
2003-12-04 14:58:12 +00:00
}
else
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rOutPos = awt::Point(aRemainingSpace.X,aRemainingSpace.Y);
//ensure that the diagram does not lap out right side or out of bottom
{
if( rOutPos.Y + rOutAvailableDiagramSize.Height > rPageSize.Height )
rOutAvailableDiagramSize.Height = rPageSize.Height - rOutPos.Y;
if( rOutPos.X + rOutAvailableDiagramSize.Width > rPageSize.Width )
rOutAvailableDiagramSize.Width = rPageSize.Width - rOutPos.X;
}
2003-10-06 08:58:36 +00:00
return true;
}
2003-12-12 19:15:30 +00:00
enum TitleAlignment { ALIGN_LEFT, ALIGN_TOP, ALIGN_RIGHT, ALIGN_BOTTOM, ALIGN_Z };
void changePositionOfAxisTitle( VTitle* pVTitle, TitleAlignment eAlignment
, awt::Rectangle& rDiagramPlusAxesRect, const awt::Size & rPageSize )
{
if(!pVTitle)
return;
awt::Point aNewPosition(0,0);
awt::Size aTitleSize = pVTitle->getFinalSize();
sal_Int32 nYDistance = static_cast<sal_Int32>(rPageSize.Height*lcl_getPageLayoutDistancePercentage());
sal_Int32 nXDistance = static_cast<sal_Int32>(rPageSize.Width*lcl_getPageLayoutDistancePercentage());
switch( eAlignment )
{
case ALIGN_TOP:
aNewPosition = awt::Point( rDiagramPlusAxesRect.X + rDiagramPlusAxesRect.Width/2
, rDiagramPlusAxesRect.Y - aTitleSize.Height/2 - nYDistance );
break;
2003-12-12 19:15:30 +00:00
case ALIGN_BOTTOM:
aNewPosition = awt::Point( rDiagramPlusAxesRect.X + rDiagramPlusAxesRect.Width/2
, rDiagramPlusAxesRect.Y + rDiagramPlusAxesRect.Height + aTitleSize.Height/2 + nYDistance );
break;
case ALIGN_LEFT:
aNewPosition = awt::Point( rDiagramPlusAxesRect.X - aTitleSize.Width/2 - nXDistance
, rDiagramPlusAxesRect.Y + rDiagramPlusAxesRect.Height/2 );
break;
case ALIGN_RIGHT:
aNewPosition = awt::Point( rDiagramPlusAxesRect.X + rDiagramPlusAxesRect.Width + aTitleSize.Width/2 + nXDistance
, rDiagramPlusAxesRect.Y + rDiagramPlusAxesRect.Height/2 );
break;
2003-12-12 19:15:30 +00:00
case ALIGN_Z:
aNewPosition = awt::Point( rDiagramPlusAxesRect.X + rDiagramPlusAxesRect.Width + aTitleSize.Width/2 + nXDistance
, rDiagramPlusAxesRect.Y + rDiagramPlusAxesRect.Height - aTitleSize.Height/2 );
break;
default:
break;
}
sal_Int32 nMaxY = rPageSize.Height - aTitleSize.Height/2;
sal_Int32 nMaxX = rPageSize.Width - aTitleSize.Width/2;
sal_Int32 nMinX = aTitleSize.Width/2;
sal_Int32 nMinY = aTitleSize.Height/2;
if( aNewPosition.Y > nMaxY )
aNewPosition.Y = nMaxY;
if( aNewPosition.X > nMaxX )
aNewPosition.X = nMaxX;
if( aNewPosition.Y < nMinY )
aNewPosition.Y = nMinY;
if( aNewPosition.X < nMinX )
aNewPosition.X = nMinX;
2003-12-12 19:15:30 +00:00
pVTitle->changePosition( aNewPosition );
}
std::auto_ptr<VTitle> lcl_createTitle( TitleHelper::eTitleType eType
2003-10-06 08:58:36 +00:00
, const uno::Reference< drawing::XShapes>& xPageShapes
, const uno::Reference< lang::XMultiServiceFactory>& xShapeFactory
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, const uno::Reference< frame::XModel >& xChartModel
2003-12-12 19:15:30 +00:00
, awt::Rectangle& rRemainingSpace
2003-11-14 14:25:55 +00:00
, const awt::Size & rPageSize
2003-12-12 19:15:30 +00:00
, TitleAlignment eAlignment
, bool& rbAutoPosition )
2003-10-06 08:58:36 +00:00
{
2003-12-12 19:15:30 +00:00
std::auto_ptr<VTitle> apVTitle;
// #i109336# Improve auto positioning in chart
double fPercentage = lcl_getPageLayoutDistancePercentage();
sal_Int32 nXDistance = static_cast< sal_Int32 >( rPageSize.Width * fPercentage );
sal_Int32 nYDistance = static_cast< sal_Int32 >( rPageSize.Height * fPercentage );
if ( eType == TitleHelper::MAIN_TITLE )
{
sal_Int32 nYOffset = 135; // 1/100 mm
nYDistance += nYOffset;
}
else if ( eType == TitleHelper::TITLE_AT_STANDARD_X_AXIS_POSITION )
{
sal_Int32 nYOffset = 420; // 1/100 mm
nYDistance = nYOffset;
}
else if ( eType == TitleHelper::TITLE_AT_STANDARD_Y_AXIS_POSITION )
{
sal_Int32 nXOffset = 450; // 1/100 mm
nXDistance = nXOffset;
}
uno::Reference< XTitle > xTitle( TitleHelper::getTitle( eType, xChartModel ) );
2003-10-06 08:58:36 +00:00
if(xTitle.is())
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
rtl::OUString aCompleteString( TitleHelper::getCompleteString( xTitle ) );
if ( aCompleteString.getLength() == 0 )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
return apVTitle;//don't create empty titles as the resulting diagram position is wrong then
2003-12-12 19:15:30 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//create title
apVTitle = std::auto_ptr<VTitle>(new VTitle(xTitle));
rtl::OUString aCID( ObjectIdentifier::createClassifiedIdentifierForObject( xTitle, xChartModel ) );
apVTitle->init(xPageShapes,xShapeFactory,aCID);
2003-12-12 19:15:30 +00:00
apVTitle->createShapes( awt::Point(0,0), rPageSize );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
awt::Size aTitleUnrotatedSize = apVTitle->getUnrotatedSize();
2003-12-12 19:15:30 +00:00
awt::Size aTitleSize = apVTitle->getFinalSize();
//position
rbAutoPosition=true;
awt::Point aNewPosition(0,0);
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
chart2::RelativePosition aRelativePosition;
2003-12-04 14:58:12 +00:00
uno::Reference< beans::XPropertySet > xProp(xTitle, uno::UNO_QUERY);
if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) )
{
2003-12-12 19:15:30 +00:00
rbAutoPosition = false;
2003-12-04 14:58:12 +00:00
//@todo decide wether x is primary or secondary
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
double fX = aRelativePosition.Primary*rPageSize.Width;
double fY = aRelativePosition.Secondary*rPageSize.Height;
2003-12-04 14:58:12 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
double fAnglePi = apVTitle->getRotationAnglePi();
aNewPosition = RelativePositionHelper::getCenterOfAnchoredObject(
awt::Point(static_cast<sal_Int32>(fX),static_cast<sal_Int32>(fY))
, aTitleUnrotatedSize, aRelativePosition.Anchor, fAnglePi );
2003-12-04 14:58:12 +00:00
}
2003-12-12 19:15:30 +00:00
else //auto position
2003-12-04 14:58:12 +00:00
{
2003-12-12 19:15:30 +00:00
switch( eAlignment )
{
case ALIGN_TOP:
aNewPosition = awt::Point( rRemainingSpace.X + rRemainingSpace.Width/2
, rRemainingSpace.Y + aTitleSize.Height/2 + nYDistance );
break;
case ALIGN_BOTTOM:
aNewPosition = awt::Point( rRemainingSpace.X + rRemainingSpace.Width/2
, rRemainingSpace.Y + rRemainingSpace.Height - aTitleSize.Height/2 - nYDistance );
break;
case ALIGN_LEFT:
aNewPosition = awt::Point( rRemainingSpace.X + aTitleSize.Width/2 + nXDistance
, rRemainingSpace.Y + rRemainingSpace.Height/2 );
break;
case ALIGN_RIGHT:
aNewPosition = awt::Point( rRemainingSpace.X + rRemainingSpace.Width - aTitleSize.Width/2 - nXDistance
, rRemainingSpace.Y + rRemainingSpace.Height/2 );
break;
default:
break;
}
2003-12-04 14:58:12 +00:00
}
2003-12-12 19:15:30 +00:00
apVTitle->changePosition( aNewPosition );
2003-12-04 14:58:12 +00:00
2003-12-12 19:15:30 +00:00
//remaining space
switch( eAlignment )
{
case ALIGN_TOP:
rRemainingSpace.Y += ( aTitleSize.Height + nYDistance );
rRemainingSpace.Height -= ( aTitleSize.Height + nYDistance );
break;
case ALIGN_BOTTOM:
rRemainingSpace.Height -= ( aTitleSize.Height + nYDistance );
break;
case ALIGN_LEFT:
rRemainingSpace.X += ( aTitleSize.Width + nXDistance );
rRemainingSpace.Width -= ( aTitleSize.Width + nXDistance );
break;
case ALIGN_RIGHT:
rRemainingSpace.Width -= ( aTitleSize.Width + nXDistance );
break;
default:
break;
}
2003-10-06 08:58:36 +00:00
}
else
{
// #i109336# Improve auto positioning in chart
switch ( eAlignment )
{
case ALIGN_TOP:
{
rRemainingSpace.Y += nYDistance;
rRemainingSpace.Height -= nYDistance;
}
break;
case ALIGN_BOTTOM:
{
rRemainingSpace.Height -= nYDistance;
}
break;
case ALIGN_LEFT:
{
rRemainingSpace.X += nXDistance;
rRemainingSpace.Width -= nXDistance;
}
break;
case ALIGN_RIGHT:
{
rRemainingSpace.Width -= nXDistance;
}
break;
default:
break;
}
}
2003-12-12 19:15:30 +00:00
return apVTitle;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
bool lcl_createLegend( const uno::Reference< XLegend > & xLegend
2003-10-08 16:40:39 +00:00
, const uno::Reference< drawing::XShapes>& xPageShapes
, const uno::Reference< lang::XMultiServiceFactory>& xShapeFactory
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, const uno::Reference< uno::XComponentContext > & xContext
, awt::Rectangle & rRemainingSpace
2003-12-12 19:15:30 +00:00
, const awt::Size & rPageSize
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, const uno::Reference< frame::XModel > & xModel
, const std::vector< LegendEntryProvider* >& rLegendEntryProviderList
, sal_Int16 nDefaultWritingMode )
2003-10-08 16:40:39 +00:00
{
2003-10-20 08:59:32 +00:00
if( VLegend::isVisible( xLegend ))
2003-10-08 16:40:39 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
VLegend aVLegend( xLegend, xContext, rLegendEntryProviderList );
2003-12-17 15:43:22 +00:00
aVLegend.init( xPageShapes, xShapeFactory, xModel );
aVLegend.setDefaultWritingMode( nDefaultWritingMode );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
aVLegend.createShapes( awt::Size( rRemainingSpace.Width, rRemainingSpace.Height ),
rPageSize );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
aVLegend.changePosition( rRemainingSpace, rPageSize );
2003-12-12 19:15:30 +00:00
return true;
2003-10-08 16:40:39 +00:00
}
2003-12-12 19:15:30 +00:00
return false;
2003-10-08 16:40:39 +00:00
}
void formatPage(
const uno::Reference< frame::XModel > & xModel
, const awt::Size rPageSize
, const uno::Reference< drawing::XShapes >& xTarget
, const uno::Reference< lang::XMultiServiceFactory>& xShapeFactory
)
{
try
{
uno::Reference< XChartDocument > xChartDoc( xModel, uno::UNO_QUERY );
OSL_ASSERT( xChartDoc.is());
if( ! xChartDoc.is())
return;
uno::Reference< beans::XPropertySet > xModelPage( xChartDoc->getPageBackground());
if( ! xModelPage.is())
return;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( !xShapeFactory.is() )
return;
uno::Reference< beans::XPropertySet > xPageProp;
// create a shape for the background
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Reference< drawing::XShape > xShape(
xShapeFactory->createInstance(
C2U( "com.sun.star.drawing.RectangleShape" )), uno::UNO_QUERY );
if( xTarget.is() &&
xShape.is())
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
xTarget->add( xShape );
xShape->setSize( rPageSize );
xPageProp.set( xShape, uno::UNO_QUERY );
if( xPageProp.is())
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
xPageProp->setPropertyValue( C2U("LineStyle"), uno::makeAny( drawing::LineStyle_NONE ));
}
}
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//format page
if( xPageProp.is())
{
2003-12-17 18:05:48 +00:00
tPropertyNameValueMap aNameValueMap;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
PropertyMapper::getValueMap( aNameValueMap, PropertyMapper::getPropertyNameMapForFillAndLineProperties(), xModelPage );
rtl::OUString aCID( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_PAGE, rtl::OUString() ) );
aNameValueMap.insert( tPropertyNameValueMap::value_type( C2U("Name"), uno::makeAny( aCID ) ) ); //CID rtl::OUString
tNameSequence aNames;
tAnySequence aValues;
2003-12-17 18:05:48 +00:00
PropertyMapper::getMultiPropertyListsFromValueMap( aNames, aValues, aNameValueMap );
PropertyMapper::setMultiProperties( aNames, aValues, xPageProp );
}
}
catch( uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
void lcl_removeEmptyGroupShapes( const Reference< drawing::XShapes>& xParent )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(!xParent.is())
return;
Reference< drawing::XShapeGroup > xParentGroup( xParent, uno::UNO_QUERY );
if( !xParentGroup.is() )
{
Reference< drawing::XDrawPage > xPage( xParent, uno::UNO_QUERY );
if( !xPage.is() )
return;
}
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//iterate from back!
for( sal_Int32 nN = xParent->getCount(); nN--; )
{
uno::Any aAny = xParent->getByIndex( nN );
Reference< drawing::XShapes> xShapes(0);
if( aAny >>= xShapes )
lcl_removeEmptyGroupShapes( xShapes );
if( xShapes.is() && xShapes->getCount()==0 )
{
//remove empty group shape
Reference< drawing::XShapeGroup > xGroup( xShapes, uno::UNO_QUERY );
Reference< drawing::XShape > xShape( xShapes, uno::UNO_QUERY );
if( xGroup.is() )
xParent->remove( xShape );
}
}
}
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
bool ChartView::impl_AddInDrawsAllByItself()
{
bool bRet = false;
/*
uno::Reference< beans::XPropertySet > xProp( m_xChartModel, uno::UNO_QUERY );
if( xProp.is()) try
{
uno::Reference< util::XRefreshable > xAddIn;
xProp->getPropertyValue( C2U( "AddIn" ) ) >>= xAddIn;
if( xAddIn.is() )
{
rtl::OUString aBaseDiagram;
xProp->getPropertyValue( C2U( "BaseDiagram" ) ) >>= aBaseDiagram;
if(aBaseDiagram.getLength())
bRet = true;
}
}
catch( uno::Exception& e )
{
ASSERT_EXCEPTION( e );
}
*/
return bRet;
}
2003-12-12 19:15:30 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
void ChartView::impl_refreshAddIn()
{
if( !m_bRefreshAddIn )
return;
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Reference< beans::XPropertySet > xProp( m_xChartModel, uno::UNO_QUERY );
if( xProp.is()) try
{
uno::Reference< util::XRefreshable > xAddIn;
xProp->getPropertyValue( C2U( "AddIn" ) ) >>= xAddIn;
if( xAddIn.is() )
{
sal_Bool bRefreshAddInAllowed = sal_True;
xProp->getPropertyValue( C2U( "RefreshAddInAllowed" ) ) >>= bRefreshAddInAllowed;
if( bRefreshAddInAllowed )
xAddIn->refresh();
}
}
catch( uno::Exception& e )
{
ASSERT_EXCEPTION( e );
}
}
2003-12-12 19:15:30 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
void ChartView::createShapes()
{
#if OSL_DEBUG_LEVEL > 0
clock_t nStart = clock();
OSL_TRACE( "\nPPPPPPPPP>>>>>>>>>>>> chart view :: createShapes()" );
#endif
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//make sure add-in is refreshed after creating the shapes
const ::comphelper::ScopeGuard aGuard( boost::bind( &ChartView::impl_refreshAddIn, this ) );
if( impl_AddInDrawsAllByItself() )
return;
2003-10-06 08:58:36 +00:00
m_aResultingDiagramRectangleExcludingAxes = awt::Rectangle(0,0,0,0);
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
impl_deleteCoordinateSystems();
if( m_pDrawModelWrapper )
{
// /--
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
// #i12587# support for shapes in chart
m_pDrawModelWrapper->getSdrModel().EnableUndo( FALSE );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
m_pDrawModelWrapper->clearMainDrawPage();
// \--
}
2003-12-12 19:15:30 +00:00
2008-11-26 15:19:48 +00:00
lcl_setDefaultWritingMode( m_pDrawModelWrapper, m_xChartModel );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
awt::Size aPageSize = ChartModelHelper::getPageSize( m_xChartModel );
2003-12-12 19:15:30 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Reference<drawing::XShapes> xPageShapes( ShapeFactory(m_xShapeFactory)
.getOrCreateChartRootShape( m_xDrawPage ) );
2003-12-12 19:15:30 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
SdrPage* pPage = ChartView::getSdrPage();
if(pPage) //it is neccessary to use the implementation here as the uno page does not provide a propertyset
pPage->SetSize(Size(aPageSize.Width,aPageSize.Height));
else
{
DBG_ERROR("could not set page size correctly");
}
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
//------------ apply fill properties to page
// todo: it would be nicer to just pass the page m_xDrawPage and format it,
// but the draw page does not support XPropertySet
formatPage( m_xChartModel, aPageSize, xPageShapes, m_xShapeFactory );
//sal_Int32 nYDistance = static_cast<sal_Int32>(aPageSize.Height*lcl_getPageLayoutDistancePercentage());
awt::Rectangle aRemainingSpace( 0, 0, aPageSize.Width, aPageSize.Height );
//create the group shape for diagram and axes first to have title and legends on top of it
uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( m_xChartModel ) );
rtl::OUString aDiagramCID( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM, rtl::OUString::valueOf( sal_Int32(0) ) ) );//todo: other index if more than one diagram is possible
uno::Reference< drawing::XShapes > xDiagramPlusAxesPlusMarkHandlesGroup_Shapes( ShapeFactory(m_xShapeFactory).createGroup2D(xPageShapes,aDiagramCID) );
uno::Reference< drawing::XShape > xDiagram_MarkHandles( ShapeFactory(m_xShapeFactory).createInvisibleRectangle(
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
xDiagramPlusAxesPlusMarkHandlesGroup_Shapes, awt::Size(0,0) ) );
ShapeFactory::setShapeName( xDiagram_MarkHandles, C2U("MarkHandles") );
uno::Reference< drawing::XShape > xDiagram_OuterRect( ShapeFactory(m_xShapeFactory).createInvisibleRectangle(
xDiagramPlusAxesPlusMarkHandlesGroup_Shapes, awt::Size(0,0) ) );
ShapeFactory::setShapeName( xDiagram_OuterRect, C2U("PlotAreaIncludingAxes") );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
uno::Reference< drawing::XShapes > xDiagramPlusAxes_Shapes( ShapeFactory(m_xShapeFactory).createGroup2D(xDiagramPlusAxesPlusMarkHandlesGroup_Shapes ) );
//------------ create some titles
std::auto_ptr<VTitle> apVTitle(0);
bool bAutoPositionDummy = true;
//------------ create main title shape
lcl_createTitle( TitleHelper::MAIN_TITLE, xPageShapes, m_xShapeFactory, m_xChartModel
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, aRemainingSpace, aPageSize, ALIGN_TOP, bAutoPositionDummy );
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
//------------ create sub title shape
lcl_createTitle( TitleHelper::SUB_TITLE, xPageShapes, m_xShapeFactory, m_xChartModel
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, aRemainingSpace, aPageSize, ALIGN_TOP, bAutoPositionDummy );
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
//------------ prepare series to give input to the legend (create categories and symbols etc.)
SeriesPlotterContainer aSeriesPlotterContainer( m_aVCooSysList );
aSeriesPlotterContainer.initializeCooSysAndSeriesPlotter( m_xChartModel );
//------------ create legend
lcl_createLegend( LegendHelper::getLegend( m_xChartModel ), xPageShapes, m_xShapeFactory, m_xCC
, aRemainingSpace, aPageSize, m_xChartModel, aSeriesPlotterContainer.getLegendEntryProviderList()
, lcl_getDefaultWritingModeFromPool( m_pDrawModelWrapper ) );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
Reference< chart2::XChartType > xChartType( DiagramHelper::getChartTypeByIndex( xDiagram, 0 ) );
sal_Int32 nDimension = DiagramHelper::getDimension( xDiagram );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//------------ create x axis title
bool bAutoPosition_XTitle = true;
std::auto_ptr<VTitle> apVTitle_X;
if( ChartTypeHelper::isSupportingMainAxis( xChartType, nDimension, 0 ) )
apVTitle_X = lcl_createTitle( TitleHelper::TITLE_AT_STANDARD_X_AXIS_POSITION, xPageShapes, m_xShapeFactory, m_xChartModel
, aRemainingSpace, aPageSize, ALIGN_BOTTOM, bAutoPosition_XTitle );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
//------------ create y axis title
bool bAutoPosition_YTitle = true;
std::auto_ptr<VTitle> apVTitle_Y;
if( ChartTypeHelper::isSupportingMainAxis( xChartType, nDimension, 1 ) )
apVTitle_Y = lcl_createTitle( TitleHelper::TITLE_AT_STANDARD_Y_AXIS_POSITION, xPageShapes, m_xShapeFactory, m_xChartModel
, aRemainingSpace, aPageSize, ALIGN_LEFT, bAutoPosition_YTitle );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
//------------ create z axis title
bool bAutoPosition_ZTitle = true;
std::auto_ptr<VTitle> apVTitle_Z;
if( ChartTypeHelper::isSupportingMainAxis( xChartType, nDimension, 2 ) )
apVTitle_Z = lcl_createTitle( TitleHelper::Z_AXIS_TITLE, xPageShapes, m_xShapeFactory, m_xChartModel
, aRemainingSpace, aPageSize, ALIGN_RIGHT, bAutoPosition_ZTitle );
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
bool bDummy = false;
bool bIsVertical = DiagramHelper::getVertical( xDiagram, bDummy, bDummy );
//------------ create secondary x axis title
bool bAutoPosition_SecondXTitle = true;
std::auto_ptr<VTitle> apVTitle_SecondX;
if( ChartTypeHelper::isSupportingSecondaryAxis( xChartType, nDimension, 0 ) )
apVTitle_SecondX = lcl_createTitle( TitleHelper::SECONDARY_X_AXIS_TITLE, xPageShapes, m_xShapeFactory, m_xChartModel
, aRemainingSpace, aPageSize, bIsVertical? ALIGN_RIGHT : ALIGN_TOP, bAutoPosition_SecondXTitle );
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
//------------ create secondary y axis title
bool bAutoPosition_SecondYTitle = true;
std::auto_ptr<VTitle> apVTitle_SecondY;
if( ChartTypeHelper::isSupportingSecondaryAxis( xChartType, nDimension, 1 ) )
apVTitle_SecondY = lcl_createTitle( TitleHelper::SECONDARY_Y_AXIS_TITLE, xPageShapes, m_xShapeFactory, m_xChartModel
, aRemainingSpace, aPageSize, bIsVertical? ALIGN_TOP : ALIGN_RIGHT, bAutoPosition_SecondYTitle );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(aRemainingSpace.Width<=0||aRemainingSpace.Height<=0)
return;
//------------ create complete diagram shape (inclusive axis and series)
awt::Point aAvailablePosDia;
awt::Size aAvailableSizeForDiagram;
bool bUseFixedInnerSize = false;
if( getAvailablePosAndSizeForDiagram( aAvailablePosDia, aAvailableSizeForDiagram, aRemainingSpace, aPageSize
, ChartModelHelper::findDiagram( m_xChartModel ), bUseFixedInnerSize ) )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
awt::Rectangle aUsedOuterRect = impl_createDiagramAndContent( aSeriesPlotterContainer
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
, xDiagramPlusAxes_Shapes
, aAvailablePosDia ,aAvailableSizeForDiagram, aPageSize, bUseFixedInnerSize, xDiagram_MarkHandles );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( xDiagram_OuterRect.is() )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
{
xDiagram_OuterRect->setPosition( awt::Point( aUsedOuterRect.X, aUsedOuterRect.Y ) );
xDiagram_OuterRect->setSize( awt::Size( aUsedOuterRect.Width, aUsedOuterRect.Height ) );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
//correct axis title position
awt::Rectangle aDiagramPlusAxesRect( aUsedOuterRect );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if(bAutoPosition_XTitle)
changePositionOfAxisTitle( apVTitle_X.get(), ALIGN_BOTTOM, aDiagramPlusAxesRect, aPageSize );
if(bAutoPosition_YTitle)
changePositionOfAxisTitle( apVTitle_Y.get(), ALIGN_LEFT, aDiagramPlusAxesRect, aPageSize );
if(bAutoPosition_ZTitle)
changePositionOfAxisTitle( apVTitle_Z.get(), ALIGN_Z, aDiagramPlusAxesRect, aPageSize );
if(bAutoPosition_SecondXTitle)
changePositionOfAxisTitle( apVTitle_SecondX.get(), bIsVertical? ALIGN_RIGHT : ALIGN_TOP, aDiagramPlusAxesRect, aPageSize );
if(bAutoPosition_SecondYTitle)
changePositionOfAxisTitle( apVTitle_SecondY.get(), bIsVertical? ALIGN_TOP : ALIGN_RIGHT, aDiagramPlusAxesRect, aPageSize );
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
}
2003-10-08 16:40:39 +00:00
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//cleanup: remove all empty group shapes to avoid grey border lines:
lcl_removeEmptyGroupShapes( xPageShapes );
2003-12-12 19:15:30 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
// #i12587# support for shapes in chart
if ( m_pDrawModelWrapper )
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
m_pDrawModelWrapper->getSdrModel().EnableUndo( TRUE );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
#if OSL_DEBUG_LEVEL > 0
clock_t nEnd = clock();
double fDuration =(double(nEnd-nStart)*1000.0)/double(CLOCKS_PER_SEC);
OSL_TRACE( "\nPPPPPPPPP<<<<<<<<<<<< chart view :: createShapes():: needed %f msec", fDuration );
#endif
}
//-----------------------------------------------------------------
// util::XEventListener (base of XCloseListener)
//-----------------------------------------------------------------
void SAL_CALL ChartView::disposing( const lang::EventObject& /* rSource */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw(uno::RuntimeException)
{
impl_setChartModel( 0 );
}
void ChartView::impl_updateView()
{
if( !m_xChartModel.is() || !m_pDrawModelWrapper )
return;
// #i12587# support for shapes in chart
if ( m_bSdrViewIsInEditMode )
{
return;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
if( m_bViewDirty && !m_bInViewUpdate )
{
m_bInViewUpdate = true;
//bool bOldRefreshAddIn = m_bRefreshAddIn;
//m_bRefreshAddIn = false;
try
{
impl_notifyModeChangeListener(C2U("invalid"));
//prepare draw model
{
// /--
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
m_pDrawModelWrapper->lockControllers();
// \--
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
//create chart view
{
m_bViewDirty = false;
m_bViewUpdatePending = false;
createShapes();
if( m_bViewDirty )
{
//avoid recursions due to add-in
m_bRefreshAddIn = false;
m_bViewDirty = false;
m_bViewUpdatePending = false;
//delete old chart view
createShapes();
m_bRefreshAddIn = true;
}
}
m_bViewDirty = m_bViewUpdatePending;
m_bViewUpdatePending = false;
m_bInViewUpdate = false;
}
catch( uno::Exception& ex)
{
m_bViewDirty = m_bViewUpdatePending;
m_bViewUpdatePending = false;
m_bInViewUpdate = false;
ASSERT_EXCEPTION( ex );
}
{
// /--
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
m_pDrawModelWrapper->unlockControllers();
// \--
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
impl_notifyModeChangeListener(C2U("valid"));
//m_bRefreshAddIn = bOldRefreshAddIn;
}
}
// ____ XModifyListener ____
void SAL_CALL ChartView::modified( const lang::EventObject& /* aEvent */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (uno::RuntimeException)
{
m_bViewDirty = sal_True;
if( m_bInViewUpdate )
m_bViewUpdatePending = true;
impl_notifyModeChangeListener(C2U("dirty"));
}
//SfxListener
void ChartView::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
{
//#i77362 change notification for changes on additional shapes are missing
if( m_bInViewUpdate )
return;
// #i12587# support for shapes in chart
if ( m_bSdrViewIsInEditMode && m_xChartModel.is() )
{
uno::Reference< view::XSelectionSupplier > xSelectionSupplier( m_xChartModel->getCurrentController(), uno::UNO_QUERY );
if ( xSelectionSupplier.is() )
{
::rtl::OUString aSelObjCID;
uno::Any aSelObj( xSelectionSupplier->getSelection() );
aSelObj >>= aSelObjCID;
if ( aSelObjCID.getLength() > 0 )
{
return;
}
}
}
const SdrHint* pSdrHint = dynamic_cast< const SdrHint* >(&rHint);
if( !pSdrHint )
return;
bool bShapeChanged = false;
switch( pSdrHint->GetKind() )
{
case HINT_OBJCHG:
bShapeChanged = true;
break;
case HINT_OBJINSERTED:
bShapeChanged = true;
break;
case HINT_OBJREMOVED:
bShapeChanged = true;
break;
case HINT_MODELCLEARED:
bShapeChanged = true;
break;
case HINT_ENDEDIT:
bShapeChanged = true;
break;
default:
break;
}
if(bShapeChanged)
{
//#i76053# do not send view modified notifications for changes on the hidden page which contains e.g. the symbols for the dialogs
if( ChartView::getSdrPage() != pSdrHint->GetPage() )
bShapeChanged=false;
}
if(!bShapeChanged)
return;
Reference< util::XModifiable > xModifiable( m_xChartModel, uno::UNO_QUERY );
if( xModifiable.is() )
xModifiable->setModified( sal_True );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
void ChartView::impl_notifyModeChangeListener( const rtl::OUString& rNewMode )
{
try
{
::cppu::OInterfaceContainerHelper* pIC = m_aListenerContainer
.getContainer( ::getCppuType((const uno::Reference< util::XModeChangeListener >*)0) );
if( pIC )
{
util::ModeChangeEvent aEvent( static_cast< uno::XWeak* >( this ), rNewMode );
::cppu::OInterfaceIteratorHelper aIt( *pIC );
while( aIt.hasMoreElements() )
(static_cast< util::XModeChangeListener*>(aIt.next()))->modeChanged( aEvent );
}
}
catch( uno::Exception& ex)
{
ASSERT_EXCEPTION( ex );
}
}
// ____ XModeChangeBroadcaster ____
void SAL_CALL ChartView::addModeChangeListener( const uno::Reference< util::XModeChangeListener >& xListener )
throw (uno::RuntimeException)
{
m_aListenerContainer.addInterface(
::getCppuType((const uno::Reference< util::XModeChangeListener >*)0), xListener );
}
void SAL_CALL ChartView::removeModeChangeListener( const uno::Reference< util::XModeChangeListener >& xListener )
throw (uno::RuntimeException)
{
m_aListenerContainer.removeInterface(
::getCppuType((const uno::Reference< util::XModeChangeListener >*)0), xListener );
}
void SAL_CALL ChartView::addModeChangeApproveListener( const uno::Reference< util::XModeChangeApproveListener >& /* _rxListener */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (lang::NoSupportException, uno::RuntimeException)
{
}
void SAL_CALL ChartView::removeModeChangeApproveListener( const uno::Reference< util::XModeChangeApproveListener >& /* _rxListener */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (lang::NoSupportException, uno::RuntimeException)
{
}
// ____ XUpdatable ____
void SAL_CALL ChartView::update() throw (uno::RuntimeException)
{
impl_updateView();
//#i100778# migrate all imported or old documents to a plot area sizing exclusive axes (in case the save settings allow for this):
//Although in general it is a bad idea to change the model from within the view this is exceptionally the best place to do this special conversion.
//When a view update is requested (what happens for creating the metafile or displaying
//the chart in edit mode or printing) it is most likely that all necessary informations are available - like the underlying spreadsheet data for example.
//Those data is important for the correct axis lable sizes which are needed during conversion.
const SvtSaveOptions::ODFDefaultVersion nCurrentODFVersion( SvtSaveOptions().GetODFDefaultVersion() );
if( nCurrentODFVersion == SvtSaveOptions::ODFVER_LATEST )//#i100778# todo: change this dependent on fileformat evolution
{
uno::Reference< ::com::sun::star::chart::XChartDocument > xOldDoc( m_xChartModel, uno::UNO_QUERY ) ;
if( xOldDoc.is() )
{
uno::Reference< ::com::sun::star::chart::XDiagramPositioning > xDiagramPositioning( xOldDoc->getDiagram(), uno::UNO_QUERY );
if( xDiagramPositioning.is() && !xDiagramPositioning->isAutomaticDiagramPositioning() && !xDiagramPositioning->isExcludingDiagramPositioning() )
{
{
ControllerLockGuard aCtrlLockGuard( m_xChartModel );
uno::Reference< util::XModifiable > xModifiable( m_xChartModel, uno::UNO_QUERY );
bool bModelWasModified = xModifiable.is() && xModifiable->isModified();
xDiagramPositioning->setDiagramPositionExcludingAxes( xDiagramPositioning->calculateDiagramPositionExcludingAxes() );
if(!bModelWasModified && xModifiable.is() )
xModifiable->setModified(sal_False);
}
impl_updateView();
}
}
}
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
// ____ XPropertySet ____
Reference< beans::XPropertySetInfo > SAL_CALL ChartView::getPropertySetInfo()
throw (uno::RuntimeException)
{
OSL_ENSURE(false,"not implemented");
return 0;
}
void SAL_CALL ChartView::setPropertyValue( const ::rtl::OUString& rPropertyName
, const Any& rValue )
throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException
, lang::WrappedTargetException, uno::RuntimeException)
{
if( rPropertyName.equals(C2U("Resolution")) )
{
awt::Size aNewResolution;
if( ! (rValue >>= aNewResolution) )
throw lang::IllegalArgumentException( C2U("Property 'Resolution' requires value of type awt::Size"), 0, 0 );
if( m_aPageResolution.Width!=aNewResolution.Width || m_aPageResolution.Height!=aNewResolution.Height )
{
//set modified only when the new resolution is higher and points were skipped before
bool bSetModified = m_bPointsWereSkipped && (m_aPageResolution.Width<aNewResolution.Width || m_aPageResolution.Height<aNewResolution.Height);
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
m_aPageResolution = aNewResolution;
if( bSetModified )
this->modified( lang::EventObject( static_cast< uno::XWeak* >( this ) ) );
}
}
else if( rPropertyName.equals(C2U("ZoomFactors")) )
{
//#i75867# poor quality of ole's alternative view with 3D scenes and zoomfactors besides 100%
uno::Sequence< beans::PropertyValue > aZoomFactors;
if( ! (rValue >>= aZoomFactors) )
throw lang::IllegalArgumentException( C2U("Property 'ZoomFactors' requires value of type Sequence< PropertyValue >"), 0, 0 );
sal_Int32 nFilterArgs = aZoomFactors.getLength();
beans::PropertyValue* pDataValues = aZoomFactors.getArray();
while( nFilterArgs-- )
{
if( pDataValues->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ScaleXNumerator" ) ) )
pDataValues->Value >>= m_nScaleXNumerator;
else if( pDataValues->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ScaleXDenominator" ) ) )
pDataValues->Value >>= m_nScaleXDenominator;
else if( pDataValues->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ScaleYNumerator" ) ) )
pDataValues->Value >>= m_nScaleYNumerator;
else if( pDataValues->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ScaleYDenominator" ) ) )
pDataValues->Value >>= m_nScaleYDenominator;
pDataValues++;
}
}
else if( rPropertyName.equals(C2U("SdrViewIsInEditMode")) )
{
//#i77362 change notification for changes on additional shapes are missing
if( ! (rValue >>= m_bSdrViewIsInEditMode) )
throw lang::IllegalArgumentException( C2U("Property 'SdrViewIsInEditMode' requires value of type sal_Bool"), 0, 0 );
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
else
throw beans::UnknownPropertyException( C2U("unknown property was tried to set to chart wizard"), 0 );
}
Any SAL_CALL ChartView::getPropertyValue( const ::rtl::OUString& rPropertyName )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
Any aRet;
if( rPropertyName.equals(C2U("Resolution")) )
{
aRet = uno::makeAny( m_aPageResolution );
}
else
throw beans::UnknownPropertyException( C2U("unknown property was tried to get from chart wizard"), 0 );
return aRet;
}
void SAL_CALL ChartView::addPropertyChangeListener(
const ::rtl::OUString& /* aPropertyName */, const Reference< beans::XPropertyChangeListener >& /* xListener */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
OSL_ENSURE(false,"not implemented");
}
void SAL_CALL ChartView::removePropertyChangeListener(
const ::rtl::OUString& /* aPropertyName */, const Reference< beans::XPropertyChangeListener >& /* aListener */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
OSL_ENSURE(false,"not implemented");
}
void SAL_CALL ChartView::addVetoableChangeListener( const ::rtl::OUString& /* PropertyName */, const Reference< beans::XVetoableChangeListener >& /* aListener */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
OSL_ENSURE(false,"not implemented");
}
void SAL_CALL ChartView::removeVetoableChangeListener( const ::rtl::OUString& /* PropertyName */, const Reference< beans::XVetoableChangeListener >& /* aListener */ )
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
OSL_ENSURE(false,"not implemented");
}
// ____ XMultiServiceFactory ____
Reference< uno::XInterface > ChartView::createInstance( const ::rtl::OUString& aServiceSpecifier )
throw (uno::Exception, uno::RuntimeException)
{
SdrModel* pModel = ( m_pDrawModelWrapper ? &m_pDrawModelWrapper->getSdrModel() : NULL );
if ( pModel )
{
if ( aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.DashTable" ) ) == 0 )
{
if ( !m_xDashTable.is() )
{
m_xDashTable = SvxUnoDashTable_createInstance( pModel );
}
return m_xDashTable;
}
else if ( aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.GradientTable" ) ) == 0 )
{
if ( !m_xGradientTable.is() )
{
m_xGradientTable = SvxUnoGradientTable_createInstance( pModel );
}
return m_xGradientTable;
}
else if ( aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.HatchTable" ) ) == 0 )
{
if ( !m_xHatchTable.is() )
{
m_xHatchTable = SvxUnoHatchTable_createInstance( pModel );
}
return m_xHatchTable;
}
else if ( aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.BitmapTable" ) ) == 0 )
{
if ( !m_xBitmapTable.is() )
{
m_xBitmapTable = SvxUnoBitmapTable_createInstance( pModel );
}
return m_xBitmapTable;
}
else if ( aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.TransparencyGradientTable" ) ) == 0 )
{
if ( !m_xTransGradientTable.is() )
{
m_xTransGradientTable = SvxUnoTransGradientTable_createInstance( pModel );
}
return m_xTransGradientTable;
}
else if ( aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.MarkerTable" ) ) == 0 )
{
if ( !m_xMarkerTable.is() )
{
m_xMarkerTable = SvxUnoMarkerTable_createInstance( pModel );
}
return m_xMarkerTable;
}
}
return 0;
}
Reference< uno::XInterface > ChartView::createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier, const uno::Sequence< uno::Any >& Arguments )
throw (uno::Exception, uno::RuntimeException)
{
OSL_ENSURE( Arguments.getLength(), "ChartView::createInstanceWithArguments: arguments are ignored" );
(void) Arguments; // avoid warning
return createInstance( ServiceSpecifier );
}
uno::Sequence< ::rtl::OUString > ChartView::getAvailableServiceNames() throw (uno::RuntimeException)
{
uno::Sequence< ::rtl::OUString > aServiceNames( 6 );
aServiceNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.DashTable" ) );
aServiceNames[1] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.GradientTable" ) );
aServiceNames[2] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.HatchTable" ) );
aServiceNames[3] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.BitmapTable" ) );
aServiceNames[4] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.TransparencyGradientTable" ) );
aServiceNames[5] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.MarkerTable" ) );
return aServiceNames;
}
INTEGRATION: CWS chart2mst3 (1.32.4); FILE MERGED 2007/04/20 08:13:21 iha 1.32.4.93: #i75393# Connect Bars per diagram not per series 2007/04/19 16:13:26 iha 1.32.4.92: #i76130# write attribute sort-by-x-values per plot-area not per series 2007/03/19 15:23:43 bm 1.32.4.91: #i75418# support XTransferable in model and offer a high-contrast replacement image 2007/02/26 14:35:17 iha 1.32.4.90: special resize only for pie and donut 2007/02/06 16:30:30 iha 1.32.4.89: missing SolarMutex 2006/12/15 13:37:58 iha 1.32.4.88: #i72360# use axis number format for data labels when one is provided 2006/12/01 18:36:52 iha 1.32.4.87: #68896# always save the explicit number format 2006/11/26 12:48:23 bm 1.32.4.86: includes for solar mutex missing 2006/11/22 17:26:21 iha 1.32.4.85: RESYNC: (1.34-1.35); FILE MERGED 2006/11/16 13:43:16 iha 1.32.4.84: #i71215# corrected position for diagrams with axis title - don't create empty titles 2006/11/10 21:04:49 iha 1.32.4.83: set modified only when resolution gets higher 2006/11/09 15:24:22 iha 1.32.4.82: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/18 17:22:42 bm 1.32.4.81: RESYNC: (1.33-1.34); FILE MERGED 2006/10/12 10:55:12 iha 1.32.4.80: wrong selection of series - due to weakreferences of draw shapes dying to early -> switch back to normal references 2006/10/06 19:16:44 iha 1.32.4.79: recreate pies and donuts with corrected size to get correct labels even with legend entries 2006/10/05 15:28:26 iha 1.32.4.78: saved diagram size is corrupted 2006/09/27 17:24:39 iha 1.32.4.77: some cleanup around pie size 2006/09/27 17:22:58 iha 1.32.4.76: corrected reference size for data labels 2006/09/24 09:12:58 iha 1.32.4.75: #i61970# correct implementation of axis at 2006/08/25 17:16:26 iha 1.32.4.74: text- and diagram-size dependent auto main step width 2006/08/23 17:07:28 iha 1.32.4.73: enable axis to estimate the maximum automatic MainIncrementCount, reduce count to 2 for net charts 2006/08/10 15:58:24 iha 1.32.4.72: Axis Label Layout - Font&Diagram Size 2006/08/08 15:02:30 iha 1.32.4.71: don't refresh addin when loading is not finished 2006/08/08 12:24:48 iha 1.32.4.70: always remove automatically created shapes before creating new 2006/08/08 12:22:51 iha 1.32.4.69: correct dirty state for view 2006/08/08 12:11:40 iha 1.32.4.68: guard access to native drawinglayer with SolarMutex 2006/08/01 09:48:32 bm 1.32.4.67: #i29600# resize the label sizes of data series with the diagram size if a reference size is set 2006/07/04 12:28:16 iha 1.32.4.66: aspect ratio 2006/07/01 21:05:53 iha 1.32.4.65: define and respect aspect ratio of diagram 2006/04/10 15:03:38 iha 1.32.4.64: api restructure axis, grids, scales and increments 2006/04/10 12:25:19 iha 1.32.4.63: api restructure axis, grids, scales and increments 2006/04/03 12:28:00 iha 1.32.4.62: correct selection handles for data point labels and legend entries 2006/03/29 22:24:49 iha 1.32.4.61: restructure legend entry creation + legend entries in data labels 2006/03/23 15:32:45 iha 1.32.4.60: cleanup category handling 2006/03/23 09:28:24 iha 1.32.4.59: categories for data labels 2006/03/12 01:14:31 iha 1.32.4.58: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:34:46 iha 1.32.4.57: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/16 17:35:58 iha 1.32.4.56: return size of axis lines only instead of axis including labels for old api 2006/01/15 16:41:58 iha 1.32.4.55: correct distance between diagram and legend 2006/01/09 14:30:47 iha 1.32.4.54: diagram is not resizeable via mouse anymore 2005/12/21 21:29:42 iha 1.32.4.53: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 18:53:40 iha 1.32.4.52: create axis title with correct rotation default + don't mix x and y in barcharts 2005/12/01 16:41:28 iha 1.32.4.51: #124571# load & save position of rotated titles correctly 2005/11/25 16:33:56 iha 1.32.4.50: correct labels at z axis for deep stacking 2005/11/02 16:37:55 bm 1.32.4.49: safeness when XScale is 0 2005/10/25 11:57:18 bm 1.32.4.48: Solaris compiler did not like map access 2005/10/25 10:41:54 bm 1.32.4.47: & too much in variable declaration 2005/10/24 11:07:14 iha 1.32.4.46: coordinate system restructure 2005/10/13 17:39:14 iha 1.32.4.45: renamed BoundedCoordinateSystem to CoordinateSystem 2005/10/07 12:24:13 bm 1.32.4.44: RESYNC: (1.32-1.33); FILE MERGED 2005/09/16 16:50:23 iha 1.32.4.43: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/08/24 11:50:37 iha 1.32.4.42: direct initialization for less warnings 2005/08/18 11:42:05 iha 1.32.4.41: moved colorscheme transport 2005/07/28 09:34:57 bm 1.32.4.40: usage of color schemes and the VaryColorsByPoint property to have correct pie colors and legend entries 2005/07/23 00:01:21 iha 1.32.4.39: include axis title sizes in diagram position to support old api and fileformat 2005/07/21 14:47:16 bm 1.32.4.38: support for number formats from data provider 2005/07/18 19:03:27 iha 1.32.4.37: don't display axes in pie chart 2005/07/15 07:24:46 iha 1.32.4.36: remove extra space hack for axis label 2005/07/13 15:22:45 iha 1.32.4.35: update draw model tables before use in view and dialogs 2005/07/12 08:41:15 iha 1.32.4.34: correct assertion text 2005/07/08 15:20:27 iha 1.32.4.33: index violation 2005/07/08 12:49:31 iha 1.32.4.32: provide and keep view as service only 2005/07/05 16:02:44 iha 1.32.4.31: redefine diagram size 2005/06/23 16:39:17 iha 1.32.4.30: quick hack for more complete visibility of the diagram as long as the correct layout is missing 2005/06/09 15:43:52 iha 1.32.4.29: support positions and sizes via view for old api wrapper 2005/06/07 15:42:31 iha 1.32.4.28: use numberformatter from model 2005/06/03 14:43:09 iha 1.32.4.27: construct chartview with drawmodelwrapper 2005/06/01 17:03:15 iha 1.32.4.26: export metafile 2005/05/31 19:20:26 iha 1.32.4.25: create view without controller 2005/05/09 09:51:38 bm 1.32.4.24: moved parts of API to data namespace 2004/09/27 14:41:23 iha 1.32.4.23: reduce direct access to draw model 2004/09/17 17:24:34 iha 1.32.4.22: correct positions for titles also after move 2004/09/17 11:26:20 iha 1.32.4.21: implement api redesign - dimension property 2004/09/17 10:24:29 iha 1.32.4.20: correct x stacking 2004/09/16 14:45:33 iha 1.32.4.19: implement api redesign 2004/09/15 09:57:15 iha 1.32.4.18: implement api redesign 2004/08/26 13:14:01 iha 1.32.4.17: saver page creation 2004/08/25 16:38:56 iha 1.32.4.16: View independent loading - relative position with dynamic anchor point 2004/04/27 15:00:43 iha 1.32.4.15: warnings removed 2004/04/26 11:45:06 iha 1.32.4.14: getExplicitValuesForMeter returns bool + CID for page 2004/04/22 09:32:34 iha 1.32.4.13: more explicit default for 'no stacking' 2004/04/13 16:34:24 iha 1.32.4.12: corrected stacking 2004/03/24 10:26:12 bm 1.32.4.11: safety check for empty tree in initializeDiagramAndGetCooSys 2004/03/22 19:34:51 iha 1.32.4.10: transport information bSwapXAndYAxis over method setScales 2004/03/19 10:59:08 iha 1.32.4.9: modified creation of plotter for attaching series to secondary axis 2004/03/18 16:36:46 iha 1.32.4.8: create axis even if no plotter is attached to the coordinate system 2004/03/12 15:34:39 iha 1.32.4.7: removed shadow warning 2004/03/11 12:26:30 iha 1.32.4.6: calculate PreferredAspectRatio for charttype dependent 3D scene aspect ratio and set to diagram + some cleanup 2004/03/02 13:03:13 iha 1.32.4.5: use PropertyMapper::getPropertyNameMapForFillAndLineProperties 2004/02/26 14:03:44 iha 1.32.4.4: remove warnings 2004/02/26 13:53:12 iha 1.32.4.3: share coordinate systems and scales for combi charts 2004/02/26 12:18:10 iha 1.32.4.2: share coordinate systems and scales for combi charts 2004/02/13 16:52:00 bm 1.32.4.1: join from changes on branch bm_post_chart01
2007-05-22 18:22:45 +00:00
2003-10-06 08:58:36 +00:00
//.............................................................................
} //namespace chart
//.............................................................................