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

563 lines
20 KiB
C++
Raw Normal View History

2003-12-18 12:50:56 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-12-18 12:50:56 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2003-12-18 12:50:56 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-12-18 12:50:56 +00:00
*
* $RCSfile: AxisWrapper.cxx,v $
* $Revision: 1.11 $
2003-12-18 12:50:56 +00:00
*
* This file is part of OpenOffice.org.
2003-12-18 12:50:56 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2003-12-18 12:50:56 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2003-12-18 12:50:56 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2003-12-18 12:50:56 +00:00
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_chart2.hxx"
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"
2003-12-18 12:50:56 +00:00
#include "Scaling.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 <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>
#include "CharacterProperties.hxx"
#include "LineProperties.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 "NamedLineProperties.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 "WrappedNamedProperty.hxx"
#include "WrappedGapwidthProperty.hxx"
#include "WrappedScaleProperty.hxx"
#include "WrappedDefaultProperty.hxx"
#include "WrappedNumberFormatProperty.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;
using ::rtl::OUString;
2003-12-18 12:50:56 +00:00
namespace
{
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
static const OUString lcl_aServiceName(
2003-12-18 12:50:56 +00:00
RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.chart.Axis" ));
enum
{
PROP_AXIS_MAX,
PROP_AXIS_MIN,
PROP_AXIS_ORIGIN,
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_ORIGIN,
PROP_AXIS_AUTO_STEPMAIN,
PROP_AXIS_AUTO_STEPHELP,
PROP_AXIS_LOGARITHMIC,
PROP_AXIS_REVERSEDIRECTION,
2003-12-18 12:50:56 +00:00
PROP_AXIS_DISPLAY_LABELS,
PROP_AXIS_TEXT_ROTATION,
PROP_AXIS_MARKS,
PROP_AXIS_HELPMARKS,
PROP_AXIS_OVERLAP,
PROP_AXIS_GAP_WIDTH,
PROP_AXIS_ARRANGE_ORDER,
PROP_AXIS_TEXTBREAK,
PROP_AXIS_CAN_OVERLAP,
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
PROP_AXIS_NUMBERFORMAT,
PROP_AXIS_LINK_NUMBERFORMAT_TO_SOURCE,
PROP_AXIS_VISIBLE,
PROP_AXIS_STACKEDTEXT
2003-12-18 12:50:56 +00:00
};
void lcl_AddPropertiesToVector(
::std::vector< Property > & rOutProperties )
{
rOutProperties.push_back(
Property( C2U( "Max" ),
PROP_AXIS_MAX,
::getCppuType( reinterpret_cast< const double * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
Property( C2U( "Min" ),
PROP_AXIS_MIN,
::getCppuType( reinterpret_cast< const double * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
Property( C2U( "Origin" ),
PROP_AXIS_ORIGIN,
::getCppuType( reinterpret_cast< const double * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
Property( C2U( "StepMain" ),
PROP_AXIS_STEPMAIN,
::getCppuType( reinterpret_cast< const double * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
//deprecated property use 'StepHelpCount' instead
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
Property( C2U( "StepHelp" ),
PROP_AXIS_STEPHELP,
::getCppuType( reinterpret_cast< const double * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
Property( C2U( "StepHelpCount" ),
PROP_AXIS_STEPHELP_COUNT,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
Property( C2U( "AutoMax" ),
PROP_AXIS_AUTO_MAX,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "AutoMin" ),
PROP_AXIS_AUTO_MIN,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "AutoOrigin" ),
PROP_AXIS_AUTO_ORIGIN,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "AutoStepMain" ),
PROP_AXIS_AUTO_STEPMAIN,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "AutoStepHelp" ),
PROP_AXIS_AUTO_STEPHELP,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "Logarithmic" ),
PROP_AXIS_LOGARITHMIC,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "ReverseDirection" ),
PROP_AXIS_REVERSEDIRECTION,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
2003-12-18 12:50:56 +00:00
rOutProperties.push_back(
Property( C2U( "DisplayLabels" ),
PROP_AXIS_DISPLAY_LABELS,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "TextRotation" ),
PROP_AXIS_TEXT_ROTATION,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "Marks" ),
PROP_AXIS_MARKS,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "HelpMarks" ),
PROP_AXIS_HELPMARKS,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "Overlap" ),
PROP_AXIS_OVERLAP,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
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
Property( C2U( "GapWidth" ),
2003-12-18 12:50:56 +00:00
PROP_AXIS_GAP_WIDTH,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "ArrangeOrder" ),
PROP_AXIS_ARRANGE_ORDER,
::getCppuType( reinterpret_cast< const ::com::sun::star::chart::ChartAxisArrangeOrderType * >(0)),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "TextBreak" ),
PROP_AXIS_TEXTBREAK,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "TextCanOverlap" ),
PROP_AXIS_CAN_OVERLAP,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "NumberFormat" ),
PROP_AXIS_NUMBERFORMAT,
::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
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
rOutProperties.push_back(
Property( C2U( "LinkNumberFormatToSource" ),
PROP_AXIS_LINK_NUMBERFORMAT_TO_SOURCE,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "Visible" ),
PROP_AXIS_VISIBLE,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( C2U( "StackedText" ),
PROP_AXIS_STACKEDTEXT,
::getBooleanCppuType(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
}
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< Property > & lcl_GetPropertySequence()
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
static Sequence< Property > aPropSeq;
2003-12-18 12:50:56 +00:00
// /--
MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if( 0 == aPropSeq.getLength() )
{
// get properties
::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::LineProperties::AddPropertiesToVector( aProperties );
// ::chart::NamedLineProperties::AddPropertiesToVector( aProperties );
2003-12-18 12:50:56 +00:00
::chart::UserDefinedProperties::AddPropertiesToVector( aProperties );
// and sort them for access via bsearch
::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
// transfer result to static Sequence
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
aPropSeq = ::chart::ContainerHelper::ContainerToSequence( aProperties );
2003-12-18 12:50:56 +00:00
}
return aPropSeq;
}
} // 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()
{
}
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()
2003-12-18 12:50:56 +00:00
throw (uno::RuntimeException)
{
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*/ )
2003-12-18 12:50:56 +00:00
throw (uno::RuntimeException)
{
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
OSL_ENSURE( false, "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()
2003-12-18 12:50:56 +00:00
throw (uno::RuntimeException)
{
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)
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
OSL_ENSURE( false, "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)
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 C2U( "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)
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)
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
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
// static
void AxisWrapper::getDimensionAndMainAxisBool( tAxisType eType, sal_Int32& rnDimensionIndex, sal_Bool& rbMainAxis )
{
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 = sal_True; break;
case Y_AXIS:
rnDimensionIndex = 1; rbMainAxis = sal_True; break;
case Z_AXIS:
rnDimensionIndex = 2; rbMainAxis = sal_True; break;
case SECOND_X_AXIS:
rnDimensionIndex = 0; rbMainAxis = sal_False; break;
case SECOND_Y_AXIS:
rnDimensionIndex = 1; rbMainAxis = sal_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)
{
Reference< uno::XInterface > xSource( static_cast< ::cppu::OWeakObject* >( this ) );
m_aEventListenerContainer.disposeAndClear( lang::EventObject( xSource ) );
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
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)
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)
{
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
// ================================================================================
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
void AxisWrapper::setCurrentSizeAsReference()
{
/*
Reference< beans::XPropertySet > xProp( this->getAxis(), uno::UNO_QUERY );
if( xProp.is() )
xProp->setPropertyValue( C2U("ReferenceDiagramSize"), uno::makeAny(
m_spChart2ModelContact->GetDiagramSize() ));
*/
}
Any AxisWrapper::getReferenceSize()
{
Any aRet;
Reference< beans::XPropertySet > xProp( this->getAxis(), uno::UNO_QUERY );
if( xProp.is() )
aRet = xProp->getPropertyValue( C2U("ReferenceDiagramSize") );
return aRet;
}
awt::Size AxisWrapper::getCurrentSizeForReference()
{
return m_spChart2ModelContact->GetDiagramSize();
}
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
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;
sal_Bool bMainAxis = sal_True;
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() )
xProp->setPropertyValue( C2U( "Show" ), uno::makeAny( sal_False ) );
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
catch( uno::Exception & ex )
{
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
{
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 lcl_GetPropertySequence();
}
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() );
aWrappedProperties.push_back( new WrappedProperty( C2U( "Marks" ), C2U( "MajorTickmarks" ) ) );
aWrappedProperties.push_back( new WrappedProperty( C2U( "HelpMarks" ), C2U( "MinorTickmarks" ) ) );
aWrappedProperties.push_back( new WrappedProperty( C2U( "TextCanOverlap" ), C2U( "TextOverlap" ) ) );
aWrappedProperties.push_back( new WrappedProperty( C2U( "ArrangeOrder" ), C2U( "ArrangeOrder" ) ) );
aWrappedProperties.push_back( new WrappedProperty( C2U( "Visible" ), C2U( "Show" ) ) );
aWrappedProperties.push_back( new WrappedDirectStateProperty( C2U( "DisplayLabels" ), C2U( "DisplayLabels" ) ) );
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
aWrappedProperties.push_back( new WrappedDirectStateProperty( C2U( "TextBreak" ), C2U( "TextBreak" ) ) );
WrappedNumberFormatProperty* pWrappedNumberFormatProperty = new WrappedNumberFormatProperty( m_spChart2ModelContact );
aWrappedProperties.push_back( pWrappedNumberFormatProperty );
aWrappedProperties.push_back( new WrappedLinkNumberFormatProperty(pWrappedNumberFormatProperty) );
aWrappedProperties.push_back( new WrappedProperty( C2U( "StackedText" ), C2U( "StackCharacters" ) ) );
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;
sal_Bool bMainAxis = sal_True;
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
//aWrappedProperties.push_back( new WrappedStackedTextProperty() );
// WrappedNamedProperty::addWrappedLineProperties( aWrappedProperties, m_spChart2ModelContact );
WrappedCharacterHeightProperty::addWrappedProperties( aWrappedProperties, this );
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 );
2003-12-18 12:50:56 +00:00
aServices[ 0 ] = C2U( "com.sun.star.chart.ChartAxis" );
aServices[ 1 ] = C2U( "com.sun.star.xml.UserDefinedAttributeSupplier" );
aServices[ 2 ] = C2U( "com.sun.star.style.CharacterProperties" );
// aServices[ 3 ] = C2U( "com.sun.star.beans.PropertySet" );
// aServices[ 4 ] = C2U( "com.sun.star.drawing.LineProperties" );
return aServices;
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( AxisWrapper, lcl_aServiceName );
} // namespace wrapper
} // namespace chart