Files
libreoffice/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx

725 lines
25 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
2003-12-18 12:50:56 +00:00
#include "AxisWrapper.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
#include "AxisHelper.hxx"
#include "TitleHelper.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
#include "Chart2ModelContact.hxx"
#include "ContainerHelper.hxx"
#include "macros.hxx"
#include "WrappedDirectStateProperty.hxx"
#include "GridWrapper.hxx"
#include "TitleWrapper.hxx"
#include "DisposeHelper.hxx"
#include <unonames.hxx>
#include <cppuhelper/supportsservice.hxx>
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
#include <comphelper/InlineContainer.hxx>
2003-12-18 12:50:56 +00:00
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/chart/ChartAxisArrangeOrderType.hpp>
2008-12-12 12:17:17 +00:00
#include <com/sun/star/chart/ChartAxisPosition.hpp>
#include <com/sun/star/chart/ChartAxisLabelPosition.hpp>
#include <com/sun/star/chart/ChartAxisMarkPosition.hpp>
2003-12-18 12:50:56 +00:00
#include "CharacterProperties.hxx"
#include "LinePropertiesHelper.hxx"
2003-12-18 12:50:56 +00:00
#include "UserDefinedProperties.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
#include "WrappedCharacterHeightProperty.hxx"
#include "WrappedTextRotationProperty.hxx"
#include "WrappedGapwidthProperty.hxx"
#include "WrappedScaleProperty.hxx"
#include "WrappedDefaultProperty.hxx"
#include "WrappedNumberFormatProperty.hxx"
2008-10-01 07:35:04 +00:00
#include "WrappedScaleTextProperties.hxx"
2003-12-18 12:50:56 +00:00
#include <algorithm>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
using namespace ::com::sun::star;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
using namespace ::com::sun::star::chart2;
using namespace ::chart::ContainerHelper;
2003-12-18 12:50:56 +00:00
using ::com::sun::star::beans::Property;
using ::osl::MutexGuard;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Any;
2003-12-18 12:50:56 +00:00
namespace
{
static const char lcl_aServiceName[] = "com.sun.star.comp.chart.Axis";
2003-12-18 12:50:56 +00:00
enum
{
PROP_AXIS_MAX,
PROP_AXIS_MIN,
PROP_AXIS_STEPMAIN,
PROP_AXIS_STEPHELP, //deprecated property use 'StepHelpCount' instead
PROP_AXIS_STEPHELP_COUNT,
2003-12-18 12:50:56 +00:00
PROP_AXIS_AUTO_MAX,
PROP_AXIS_AUTO_MIN,
PROP_AXIS_AUTO_STEPMAIN,
PROP_AXIS_AUTO_STEPHELP,
2010-11-30 01:45:03 +01:00
PROP_AXIS_TYPE,
PROP_AXIS_TIME_INCREMENT,
PROP_AXIS_EXPLICIT_TIME_INCREMENT,
2003-12-18 12:50:56 +00:00
PROP_AXIS_LOGARITHMIC,
PROP_AXIS_REVERSEDIRECTION,
2008-12-12 12:17:17 +00:00
PROP_AXIS_VISIBLE,
PROP_AXIS_CROSSOVER_POSITION,
PROP_AXIS_CROSSOVER_VALUE,
PROP_AXIS_ORIGIN,
PROP_AXIS_AUTO_ORIGIN,
2003-12-18 12:50:56 +00:00
PROP_AXIS_MARKS,
PROP_AXIS_HELPMARKS,
2008-12-12 12:17:17 +00:00
PROP_AXIS_MARK_POSITION,
PROP_AXIS_DISPLAY_LABELS,
PROP_AXIS_NUMBERFORMAT,
PROP_AXIS_LINK_NUMBERFORMAT_TO_SOURCE,
PROP_AXIS_LABEL_POSITION,
PROP_AXIS_TEXT_ROTATION,
2003-12-18 12:50:56 +00:00
PROP_AXIS_ARRANGE_ORDER,
PROP_AXIS_TEXTBREAK,
PROP_AXIS_CAN_OVERLAP,
2008-12-12 12:17:17 +00:00
PROP_AXIS_STACKEDTEXT,
PROP_AXIS_OVERLAP,
PROP_AXIS_GAP_WIDTH,
PROP_AXIS_DISPLAY_UNITS,
PROP_AXIS_BUILTINUNIT
2003-12-18 12:50:56 +00:00
};
void lcl_AddPropertiesToVector(
::std::vector< Property > & rOutProperties )
{
2008-12-12 12:17:17 +00:00
//Properties for scaling:
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Max",
2003-12-18 12:50:56 +00:00
PROP_AXIS_MAX,
cppu::UnoType<double>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Min",
2003-12-18 12:50:56 +00:00
PROP_AXIS_MIN,
cppu::UnoType<double>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "StepMain",
2008-12-12 12:17:17 +00:00
PROP_AXIS_STEPMAIN,
cppu::UnoType<double>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "StepHelpCount",
2008-12-12 12:17:17 +00:00
PROP_AXIS_STEPHELP_COUNT,
cppu::UnoType<sal_Int32>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
//deprecated property use 'StepHelpCount' instead
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "StepHelp",
2003-12-18 12:50:56 +00:00
PROP_AXIS_STEPHELP,
cppu::UnoType<double>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "AutoMax",
2003-12-18 12:50:56 +00:00
PROP_AXIS_AUTO_MAX,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "AutoMin",
2003-12-18 12:50:56 +00:00
PROP_AXIS_AUTO_MIN,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "AutoStepMain",
2003-12-18 12:50:56 +00:00
PROP_AXIS_AUTO_STEPMAIN,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "AutoStepHelp",
2003-12-18 12:50:56 +00:00
PROP_AXIS_AUTO_STEPHELP,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
2010-11-30 01:45:03 +01:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "AxisType",
2010-11-30 01:45:03 +01:00
PROP_AXIS_TYPE,
cppu::UnoType<sal_Int32>::get(), //type com::sun::star::chart::ChartAxisType
2010-11-30 01:45:03 +01:00
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "TimeIncrement",
2010-11-30 01:45:03 +01:00
PROP_AXIS_TIME_INCREMENT,
cppu::UnoType<com::sun::star::chart::TimeIncrement>::get(),
2010-11-30 01:45:03 +01:00
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "ExplicitTimeIncrement",
PROP_AXIS_EXPLICIT_TIME_INCREMENT,
cppu::UnoType<com::sun::star::chart::TimeIncrement>::get(),
beans::PropertyAttribute::READONLY |
beans::PropertyAttribute::MAYBEVOID ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Logarithmic",
2003-12-18 12:50:56 +00:00
PROP_AXIS_LOGARITHMIC,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "ReverseDirection",
PROP_AXIS_REVERSEDIRECTION,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2008-12-12 12:17:17 +00:00
//todo: this property is missing in the API
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Visible",
2008-12-12 12:17:17 +00:00
PROP_AXIS_VISIBLE,
cppu::UnoType<bool>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "CrossoverPosition",
2008-12-12 12:17:17 +00:00
PROP_AXIS_CROSSOVER_POSITION,
cppu::UnoType<com::sun::star::chart::ChartAxisPosition>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "CrossoverValue",
2008-12-12 12:17:17 +00:00
PROP_AXIS_CROSSOVER_VALUE,
cppu::UnoType<double>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Origin",
2008-12-12 12:17:17 +00:00
PROP_AXIS_ORIGIN,
cppu::UnoType<double>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "AutoOrigin",
2008-12-12 12:17:17 +00:00
PROP_AXIS_AUTO_ORIGIN,
cppu::UnoType<bool>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
2008-12-12 12:17:17 +00:00
//Properties for interval marks:
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Marks",
2003-12-18 12:50:56 +00:00
PROP_AXIS_MARKS,
cppu::UnoType<sal_Int32>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "HelpMarks",
2003-12-18 12:50:56 +00:00
PROP_AXIS_HELPMARKS,
cppu::UnoType<sal_Int32>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "MarkPosition",
2008-12-12 12:17:17 +00:00
PROP_AXIS_MARK_POSITION,
cppu::UnoType<com::sun::star::chart::ChartAxisMarkPosition>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::MAYBEDEFAULT ));
//Properties for labels:
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "DisplayLabels",
2008-12-12 12:17:17 +00:00
PROP_AXIS_DISPLAY_LABELS,
cppu::UnoType<bool>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( CHART_UNONAME_NUMFMT,
2008-12-12 12:17:17 +00:00
PROP_AXIS_NUMBERFORMAT,
cppu::UnoType<sal_Int32>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( CHART_UNONAME_LINK_TO_SRC_NUMFMT,
2008-12-12 12:17:17 +00:00
PROP_AXIS_LINK_NUMBERFORMAT_TO_SOURCE,
cppu::UnoType<bool>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "LabelPosition",
2008-12-12 12:17:17 +00:00
PROP_AXIS_LABEL_POSITION,
cppu::UnoType<com::sun::star::chart::ChartAxisLabelPosition>::get(),
2008-12-12 12:17:17 +00:00
beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "TextRotation",
2008-12-12 12:17:17 +00:00
PROP_AXIS_TEXT_ROTATION,
cppu::UnoType<sal_Int32>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "ArrangeOrder",
2003-12-18 12:50:56 +00:00
PROP_AXIS_ARRANGE_ORDER,
cppu::UnoType<com::sun::star::chart::ChartAxisArrangeOrderType>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "TextBreak",
2003-12-18 12:50:56 +00:00
PROP_AXIS_TEXTBREAK,
cppu::UnoType<bool>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "TextCanOverlap",
2003-12-18 12:50:56 +00:00
PROP_AXIS_CAN_OVERLAP,
cppu::UnoType<bool>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "StackedText",
2008-12-12 12:17:17 +00:00
PROP_AXIS_STACKEDTEXT,
cppu::UnoType<bool>::get(),
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
2008-12-12 12:17:17 +00:00
// Properties related to bar charts:
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "Overlap",
2008-12-12 12:17:17 +00:00
PROP_AXIS_OVERLAP,
cppu::UnoType<sal_Int32>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
rOutProperties.push_back(
2012-04-08 10:47:56 -04:30
Property( "GapWidth",
2008-12-12 12:17:17 +00:00
PROP_AXIS_GAP_WIDTH,
cppu::UnoType<sal_Int32>::get(),
//#i111967# no PropertyChangeEvent is fired on change so far
beans::PropertyAttribute::MAYBEDEFAULT ));
//Properties for display units:
rOutProperties.push_back(
Property( "DisplayUnits",
PROP_AXIS_DISPLAY_UNITS,
cppu::UnoType<bool>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
//Properties for labels:
rOutProperties.push_back(
Property( "BuiltInUnit",
PROP_AXIS_BUILTINUNIT,
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
}
2003-12-18 12:50:56 +00:00
struct StaticAxisWrapperPropertyArray_Initializer
2003-12-18 12:50:56 +00:00
{
Sequence< Property >* operator()()
{
static Sequence< Property > aPropSeq( lcl_GetPropertySequence() );
return &aPropSeq;
}
2003-12-18 12:50:56 +00:00
private:
Sequence< Property > lcl_GetPropertySequence()
2003-12-18 12:50:56 +00:00
{
::std::vector< ::com::sun::star::beans::Property > aProperties;
lcl_AddPropertiesToVector( aProperties );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
::chart::CharacterProperties::AddPropertiesToVector( aProperties );
::chart::LinePropertiesHelper::AddPropertiesToVector( aProperties );
2003-12-18 12:50:56 +00:00
::chart::UserDefinedProperties::AddPropertiesToVector( aProperties );
2008-10-01 07:35:04 +00:00
::chart::wrapper::WrappedScaleTextProperties::addProperties( aProperties );
2003-12-18 12:50:56 +00:00
::std::sort( aProperties.begin(), aProperties.end(),
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
::chart::PropertyNameLess() );
2003-12-18 12:50:56 +00:00
return ::chart::ContainerHelper::ContainerToSequence( aProperties );
2003-12-18 12:50:56 +00:00
}
};
2003-12-18 12:50:56 +00:00
struct StaticAxisWrapperPropertyArray : public rtl::StaticAggregate< Sequence< Property >, StaticAxisWrapperPropertyArray_Initializer >
{
};
2003-12-18 12:50:56 +00:00
} // anonymous namespace
namespace chart
{
namespace wrapper
{
AxisWrapper::AxisWrapper(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
tAxisType eType, ::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ) :
m_spChart2ModelContact( spChart2ModelContact ),
m_aEventListenerContainer( m_aMutex ),
m_eType( eType )
2003-12-18 12:50:56 +00:00
{
}
AxisWrapper::~AxisWrapper()
{
}
// ____ chart::XAxis ____
Reference< beans::XPropertySet > SAL_CALL AxisWrapper::getAxisTitle() throw (uno::RuntimeException, std::exception)
{
if( !m_xAxisTitle.is() )
{
TitleHelper::eTitleType eTitleType( TitleHelper::X_AXIS_TITLE );
switch( m_eType )
{
case X_AXIS:
eTitleType = TitleHelper::X_AXIS_TITLE;
break;
case Y_AXIS:
eTitleType = TitleHelper::Y_AXIS_TITLE;
break;
case Z_AXIS:
eTitleType = TitleHelper::Z_AXIS_TITLE;
break;
case SECOND_X_AXIS:
eTitleType = TitleHelper::SECONDARY_X_AXIS_TITLE;
break;
case SECOND_Y_AXIS:
eTitleType = TitleHelper::SECONDARY_Y_AXIS_TITLE;
break;
default:
return 0;
}
m_xAxisTitle = new TitleWrapper( eTitleType, m_spChart2ModelContact );
}
return m_xAxisTitle;
}
Reference< beans::XPropertySet > SAL_CALL AxisWrapper::getMajorGrid() throw (uno::RuntimeException, std::exception)
{
if( !m_xMajorGrid.is() )
{
GridWrapper::tGridType eGridType( GridWrapper::X_MAJOR_GRID );
switch( m_eType )
{
case X_AXIS:
eGridType = GridWrapper::X_MAJOR_GRID;
break;
case Y_AXIS:
eGridType = GridWrapper::Y_MAJOR_GRID;
break;
case Z_AXIS:
eGridType = GridWrapper::Z_MAJOR_GRID;
break;
default:
return 0;
}
m_xMajorGrid = new GridWrapper( eGridType, m_spChart2ModelContact );
}
return m_xMajorGrid;
}
Reference< beans::XPropertySet > SAL_CALL AxisWrapper::getMinorGrid() throw (uno::RuntimeException, std::exception)
{
if( !m_xMinorGrid.is() )
{
GridWrapper::tGridType eGridType( GridWrapper::X_MAJOR_GRID );
switch( m_eType )
{
case X_AXIS:
eGridType = GridWrapper::X_MINOR_GRID;
break;
case Y_AXIS:
eGridType = GridWrapper::Y_MINOR_GRID;
break;
case Z_AXIS:
eGridType = GridWrapper::Z_MINOR_GRID;
break;
default:
return 0;
}
m_xMinorGrid = new GridWrapper( eGridType, m_spChart2ModelContact );
}
return m_xMinorGrid;
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
// ____ XShape ____
awt::Point SAL_CALL AxisWrapper::getPosition()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
awt::Point aResult( m_spChart2ModelContact->GetAxisPosition( this->getAxis() ) );
return aResult;
2003-12-18 12:50:56 +00:00
}
void SAL_CALL AxisWrapper::setPosition( const awt::Point& /*aPosition*/ )
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
OSL_FAIL( "trying to set position of Axis" );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
awt::Size SAL_CALL AxisWrapper::getSize()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
awt::Size aSize( m_spChart2ModelContact->GetAxisSize( this->getAxis() ) );
return aSize;
2003-12-18 12:50:56 +00:00
}
void SAL_CALL AxisWrapper::setSize( const awt::Size& /*aSize*/ )
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
throw (beans::PropertyVetoException,
uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
OSL_FAIL( "trying to set size of Axis" );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
// ____ XShapeDescriptor (base of XShape) ____
OUString SAL_CALL AxisWrapper::getShapeType()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
return OUString("com.sun.star.chart.ChartAxis");
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
// ____ XNumberFormatsSupplier ____
uno::Reference< beans::XPropertySet > SAL_CALL AxisWrapper::getNumberFormatSettings()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
Reference< util::XNumberFormatsSupplier > xNumSuppl( m_spChart2ModelContact->getChartModel(), uno::UNO_QUERY );
if( xNumSuppl.is() )
return xNumSuppl->getNumberFormatSettings();
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
return uno::Reference< beans::XPropertySet >();
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
uno::Reference< util::XNumberFormats > SAL_CALL AxisWrapper::getNumberFormats()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
Reference< util::XNumberFormatsSupplier > xNumSuppl( m_spChart2ModelContact->getChartModel(), uno::UNO_QUERY );
if( xNumSuppl.is() )
return xNumSuppl->getNumberFormats();
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
return uno::Reference< util::XNumberFormats >();
}
2003-12-18 12:50:56 +00:00
void AxisWrapper::getDimensionAndMainAxisBool( tAxisType eType, sal_Int32& rnDimensionIndex, bool& rbMainAxis )
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
{
switch( eType )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
case X_AXIS:
rnDimensionIndex = 0; rbMainAxis = true; break;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
case Y_AXIS:
rnDimensionIndex = 1; rbMainAxis = true; break;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
case Z_AXIS:
rnDimensionIndex = 2; rbMainAxis = true; break;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
case SECOND_X_AXIS:
rnDimensionIndex = 0; rbMainAxis = false; break;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
case SECOND_Y_AXIS:
rnDimensionIndex = 1; rbMainAxis = false; break;
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
// ____ XComponent ____
void SAL_CALL AxisWrapper::dispose()
throw (uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
{
Reference< uno::XInterface > xSource( static_cast< ::cppu::OWeakObject* >( this ) );
m_aEventListenerContainer.disposeAndClear( lang::EventObject( xSource ) );
2003-12-18 12:50:56 +00:00
DisposeHelper::DisposeAndClear( m_xAxisTitle );
DisposeHelper::DisposeAndClear( m_xMajorGrid );
DisposeHelper::DisposeAndClear( m_xMinorGrid );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
clearWrappedPropertySet();
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
void SAL_CALL AxisWrapper::addEventListener(
const Reference< lang::XEventListener >& xListener )
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
m_aEventListenerContainer.addInterface( xListener );
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
void SAL_CALL AxisWrapper::removeEventListener(
const Reference< lang::XEventListener >& aListener )
throw (uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
{
m_aEventListenerContainer.removeInterface( aListener );
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
//ReferenceSizePropertyProvider
2008-10-01 07:35:04 +00:00
void AxisWrapper::updateReferenceSize()
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
{
Reference< beans::XPropertySet > xProp( this->getAxis(), uno::UNO_QUERY );
if( xProp.is() )
2008-10-01 07:35:04 +00:00
{
2012-04-08 10:47:56 -04:30
if( xProp->getPropertyValue("ReferencePageSize").hasValue() )
xProp->setPropertyValue("ReferencePageSize", uno::makeAny(
2008-10-01 07:35:04 +00:00
m_spChart2ModelContact->GetPageSize() ));
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
}
Any AxisWrapper::getReferenceSize()
{
Any aRet;
Reference< beans::XPropertySet > xProp( this->getAxis(), uno::UNO_QUERY );
if( xProp.is() )
2012-04-08 10:47:56 -04:30
aRet = xProp->getPropertyValue("ReferencePageSize");
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
return aRet;
}
awt::Size AxisWrapper::getCurrentSizeForReference()
{
2008-10-01 07:35:04 +00:00
return m_spChart2ModelContact->GetPageSize();
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
Reference< chart2::XAxis > AxisWrapper::getAxis()
{
Reference< chart2::XAxis > xAxis;
try
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
sal_Int32 nDimensionIndex = 0;
bool bMainAxis = true;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
AxisWrapper::getDimensionAndMainAxisBool( m_eType, nDimensionIndex, bMainAxis );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
Reference< XDiagram > xDiagram( m_spChart2ModelContact->getChart2Diagram() );
xAxis = AxisHelper::getAxis( nDimensionIndex, bMainAxis, xDiagram );
if( !xAxis.is() )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
xAxis = AxisHelper::createAxis( nDimensionIndex, bMainAxis, xDiagram, m_spChart2ModelContact->m_xContext );
Reference< beans::XPropertySet > xProp( xAxis, uno::UNO_QUERY );
if( xProp.is() )
2012-04-08 10:47:56 -04:30
xProp->setPropertyValue("Show", uno::makeAny( sal_False ) );
2003-12-18 12:50:56 +00:00
}
}
2011-11-29 02:06:57 +09:00
catch( const uno::Exception & ex )
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
{
ASSERT_EXCEPTION( ex );
}
return xAxis;
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
// WrappedPropertySet
Reference< beans::XPropertySet > AxisWrapper::getInnerPropertySet()
{
return Reference< beans::XPropertySet >( this->getAxis(), uno::UNO_QUERY );
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
const Sequence< beans::Property >& AxisWrapper::getPropertySequence()
2003-12-18 12:50:56 +00:00
{
return *StaticAxisWrapperPropertyArray::get();
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
const std::vector< WrappedProperty* > AxisWrapper::createWrappedProperties()
{
::std::vector< ::chart::WrappedProperty* > aWrappedProperties;
aWrappedProperties.push_back( new WrappedTextRotationProperty() );
2012-04-08 10:47:56 -04:30
aWrappedProperties.push_back( new WrappedProperty("Marks","MajorTickmarks") );
aWrappedProperties.push_back( new WrappedProperty("HelpMarks","MinorTickmarks") );
aWrappedProperties.push_back( new WrappedProperty("TextCanOverlap","TextOverlap") );
aWrappedProperties.push_back( new WrappedProperty("ArrangeOrder","ArrangeOrder") );
aWrappedProperties.push_back( new WrappedProperty("Visible","Show") );
aWrappedProperties.push_back( new WrappedDirectStateProperty("DisplayLabels","DisplayLabels") );
aWrappedProperties.push_back( new WrappedDirectStateProperty("TextBreak","TextBreak") );
aWrappedProperties.push_back( new WrappedNumberFormatProperty(m_spChart2ModelContact) );
aWrappedProperties.push_back( new WrappedLinkNumberFormatProperty(m_spChart2ModelContact) );
2012-04-08 10:47:56 -04:30
aWrappedProperties.push_back( new WrappedProperty("StackedText","StackCharacters") );
aWrappedProperties.push_back( new WrappedDirectStateProperty("CrossoverPosition","CrossoverPosition") );
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
WrappedGapwidthProperty* pWrappedGapwidthProperty( new WrappedGapwidthProperty( m_spChart2ModelContact ) );
WrappedBarOverlapProperty* pWrappedBarOverlapProperty( new WrappedBarOverlapProperty( m_spChart2ModelContact ) );
sal_Int32 nDimensionIndex = 0;
bool bMainAxis = true;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
sal_Int32 nAxisIndex = 0;
AxisWrapper::getDimensionAndMainAxisBool( m_eType, nDimensionIndex, bMainAxis );
if( !bMainAxis )
nAxisIndex = 1;
pWrappedGapwidthProperty->setDimensionAndAxisIndex( nDimensionIndex, nAxisIndex );
pWrappedBarOverlapProperty->setDimensionAndAxisIndex( nDimensionIndex, nAxisIndex );
aWrappedProperties.push_back( pWrappedGapwidthProperty );
aWrappedProperties.push_back( pWrappedBarOverlapProperty );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
WrappedScaleProperty::addWrappedProperties( aWrappedProperties, m_spChart2ModelContact );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
WrappedCharacterHeightProperty::addWrappedProperties( aWrappedProperties, this );
2008-10-01 07:35:04 +00:00
WrappedScaleTextProperties::addWrappedProperties( aWrappedProperties, m_spChart2ModelContact );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
return aWrappedProperties;
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
Sequence< OUString > AxisWrapper::getSupportedServiceNames_Static()
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2007/02/23 14:52:02 iha 1.2.4.40: #i74799# export text break for axis explicitely 2006/12/01 18:41:08 iha 1.2.4.39: #68896# always save the explicit number format 2006/10/26 12:22:16 iha 1.2.4.38: load and save of vertically stacked axis label 2006/10/18 17:02:18 bm 1.2.4.37: RESYNC: (1.3-1.4); FILE MERGED 2006/09/22 15:53:54 bm 1.2.4.36: add property Visible, mapping to new API Show property 2006/08/04 09:53:19 iha 1.2.4.35: implment XNumberFormatsSupplier for old API misuse 2006/07/28 19:56:42 iha 1.2.4.34: set help step correctly via old API 2006/04/10 15:03:30 iha 1.2.4.33: api restructure axis, grids, scales and increments 2006/04/10 12:25:04 iha 1.2.4.32: api restructure axis, grids, scales and increments 2006/03/14 19:05:36 iha 1.2.4.31: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:52:12 iha 1.2.4.30: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/21 19:40:57 iha 1.2.4.29: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api 2006/02/17 20:57:37 iha 1.2.4.28: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/02 14:37:48 iha 1.2.4.27: create inner axis only if accessed directly 2006/02/01 19:15:35 iha 1.2.4.26: don't hold axis ref in WrappedGapwidthProperty 2006/02/01 19:13:13 iha 1.2.4.25: offer XShape and XNumberFormatsSupplier interface for old api axis 2006/01/27 09:51:10 bm 1.2.4.24: InlineContainer.hxx moved to comphelper 2006/01/17 19:25:43 iha 1.2.4.23: load sub interval on scales correctly 2006/01/17 19:02:59 iha 1.2.4.22: load sub interval on scales correctly 2005/12/07 12:22:04 iha 1.2.4.21: remove dependendy from special axis identifiers 2005/11/22 14:08:45 iha 1.2.4.20: support BarOverlap and GapWidth 2005/11/15 15:29:49 bm 1.2.4.19: garbage collection, disposing, reference release issues 2005/10/24 11:06:36 iha 1.2.4.18: coordinate system restructure 2005/10/07 11:08:00 bm 1.2.4.17: RESYNC: (1.2-1.3); FILE MERGED 2005/08/22 15:40:36 iha 1.2.4.16: load property 'LinkNumberFormatToSource' correctly 2005/08/03 16:36:11 bm 1.2.4.15: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/22 08:20:02 bm 1.2.4.14: +LinkNumberFormatToSource property and specialized wrappers for this and NumberFormat 2005/07/14 12:45:39 iha 1.2.4.13: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:44 iha 1.2.4.12: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:53 bm 1.2.4.11: use named properties for gradients etc. in chart model 2005/07/05 16:48:12 bm 1.2.4.10: DisplayLabels has default False in old API 2005/06/08 11:25:46 iha 1.2.4.9: use number format key at API instead of string 2005/06/07 15:59:13 iha 1.2.4.8: use numberformatter from model 2005/05/31 19:04:41 iha 1.2.4.7: create old api without controller 2005/04/19 17:28:38 iha 1.2.4.6: improved old api support (introduced wrappedpropertyset ...) 2004/08/24 11:11:06 iha 1.2.4.5: View independent loading - old api should set fixed font sizes 2004/04/19 16:36:12 bm 1.2.4.4: +static method to create Axis-Id 2004/04/13 16:01:25 bm 1.2.4.3: unsafe bool comparison 2004/03/12 15:32:50 iha 1.2.4.2: added AxisPosition for secondary axes 2004/02/13 16:51:11 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:16:13 +00:00
Sequence< OUString > aServices( 3 );
2012-04-08 10:47:56 -04:30
aServices[ 0 ] = "com.sun.star.chart.ChartAxis";
aServices[ 1 ] = "com.sun.star.xml.UserDefinedAttributesSupplier";
2012-04-08 10:47:56 -04:30
aServices[ 2 ] = "com.sun.star.style.CharacterProperties";
2003-12-18 12:50:56 +00:00
return aServices;
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL AxisWrapper::getImplementationName()
throw( css::uno::RuntimeException, std::exception )
{
return getImplementationName_Static();
}
OUString AxisWrapper::getImplementationName_Static()
{
return OUString(lcl_aServiceName);
}
sal_Bool SAL_CALL AxisWrapper::supportsService( const OUString& rServiceName )
throw( css::uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
css::uno::Sequence< OUString > SAL_CALL AxisWrapper::getSupportedServiceNames()
throw( css::uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_Static();
}
2003-12-18 12:50:56 +00:00
} // namespace wrapper
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */