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

554 lines
20 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
2003-12-18 12:50:56 +00:00
#include "TitleWrapper.hxx"
#include "macros.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
#include "ContainerHelper.hxx"
#include "ControllerLockGuard.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
#include <comphelper/InlineContainer.hxx>
#include <cppuhelper/supportsservice.hxx>
2003-12-18 12:50:56 +00:00
#include <com/sun/star/beans/PropertyAttribute.hpp>
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
#include <com/sun/star/chart2/RelativePosition.hpp>
2003-12-18 12:50:56 +00:00
#include "CharacterProperties.hxx"
#include "LinePropertiesHelper.hxx"
2003-12-18 12:50:56 +00:00
#include "FillProperties.hxx"
#include "UserDefinedProperties.hxx"
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
#include "WrappedCharacterHeightProperty.hxx"
#include "WrappedTextRotationProperty.hxx"
2008-10-01 07:35:04 +00:00
#include "WrappedAutomaticPositionProperties.hxx"
#include "WrappedScaleTextProperties.hxx"
2003-12-18 12:50:56 +00:00
#include <algorithm>
#include <rtl/ustrbuf.hxx>
using namespace ::com::sun::star;
using ::com::sun::star::beans::Property;
using ::osl::MutexGuard;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
namespace chart
{
class WrappedTitleStringProperty : public WrappedProperty
{
public:
WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext );
virtual ~WrappedTitleStringProperty();
virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const
throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) SAL_OVERRIDE;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
virtual Any getPropertyValue( const Reference< beans::XPropertySet >& xInnerPropertySet ) const
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) SAL_OVERRIDE;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
virtual Any getPropertyDefault( const Reference< beans::XPropertyState >& xInnerPropertyState ) const
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) SAL_OVERRIDE;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
protected:
Reference< uno::XComponentContext > m_xContext;
};
WrappedTitleStringProperty::WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext )
2012-04-08 10:48:08 -04:30
: ::chart::WrappedProperty( "String", OUString() )
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
, m_xContext( xContext )
{
}
WrappedTitleStringProperty::~WrappedTitleStringProperty()
{
}
void WrappedTitleStringProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const
throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException)
{
Reference< chart2::XTitle > xTitle(xInnerPropertySet,uno::UNO_QUERY);
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
if(xTitle.is())
{
OUString aString;
rOuterValue >>= aString;
TitleHelper::setCompleteString( aString, xTitle, m_xContext );
}
}
Any WrappedTitleStringProperty::getPropertyValue( const Reference< beans::XPropertySet >& xInnerPropertySet ) const
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
Any aRet( getPropertyDefault( Reference< beans::XPropertyState >( xInnerPropertySet, uno::UNO_QUERY ) ) );
Reference< chart2::XTitle > xTitle(xInnerPropertySet,uno::UNO_QUERY);
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
if(xTitle.is())
{
Sequence< Reference< chart2::XFormattedString > > aStrings( xTitle->getText());
OUStringBuffer aBuf;
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
for( sal_Int32 i = 0; i < aStrings.getLength(); ++i )
{
aBuf.append( aStrings[ i ]->getString());
}
aRet <<= aBuf.makeStringAndClear();
}
return aRet;
}
Any WrappedTitleStringProperty::getPropertyDefault( const Reference< beans::XPropertyState >& /*xInnerPropertyState*/ ) const
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
return uno::makeAny( OUString() );//default title is a empty String
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
}
class WrappedStackedTextProperty : public WrappedProperty
{
public:
WrappedStackedTextProperty();
virtual ~WrappedStackedTextProperty();
};
WrappedStackedTextProperty::WrappedStackedTextProperty()
2012-04-08 10:48:08 -04:30
: ::chart::WrappedProperty( "StackedText", "StackCharacters" )
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
{
}
WrappedStackedTextProperty::~WrappedStackedTextProperty()
{
}
}// end namespace chart
2003-12-18 12:50:56 +00:00
namespace
{
static const char lcl_aServiceName[] = "com.sun.star.comp.chart.Title";
2003-12-18 12:50:56 +00:00
enum
{
PROP_TITLE_STRING,
PROP_TITLE_TEXT_ROTATION,
PROP_TITLE_TEXT_STACKED
};
void lcl_AddPropertiesToVector(
::std::vector< Property > & rOutProperties )
{
rOutProperties.push_back(
2012-04-08 10:48:08 -04:30
Property( "String",
2003-12-18 12:50:56 +00:00
PROP_TITLE_STRING,
cppu::UnoType<OUString>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
2012-04-08 10:48:08 -04:30
Property( "TextRotation",
2003-12-18 12:50:56 +00:00
PROP_TITLE_TEXT_ROTATION,
cppu::UnoType<sal_Int32>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
2012-04-08 10:48:08 -04:30
Property( "StackedText",
2003-12-18 12:50:56 +00:00
PROP_TITLE_TEXT_STACKED,
cppu::UnoType<bool>::get(),
2003-12-18 12:50:56 +00:00
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
}
struct StaticTitleWrapperPropertyArray_Initializer
2003-12-18 12:50:56 +00:00
{
Sequence< Property >* operator()()
{
static Sequence< Property > aPropSeq( lcl_GetPropertySequence() );
return &aPropSeq;
}
2003-12-18 12:50:56 +00:00
private:
Sequence< Property > lcl_GetPropertySequence()
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
::std::vector< beans::Property > aProperties;
2003-12-18 12:50:56 +00:00
lcl_AddPropertiesToVector( aProperties );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
::chart::CharacterProperties::AddPropertiesToVector( aProperties );
::chart::LinePropertiesHelper::AddPropertiesToVector( aProperties );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
::chart::FillProperties::AddPropertiesToVector( aProperties );
2003-12-18 12:50:56 +00:00
::chart::UserDefinedProperties::AddPropertiesToVector( aProperties );
2008-10-01 07:35:04 +00:00
::chart::wrapper::WrappedAutomaticPositionProperties::addProperties( aProperties );
::chart::wrapper::WrappedScaleTextProperties::addProperties( aProperties );
2003-12-18 12:50:56 +00:00
::std::sort( aProperties.begin(), aProperties.end(),
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
::chart::PropertyNameLess() );
2003-12-18 12:50:56 +00:00
return ::chart::ContainerHelper::ContainerToSequence( aProperties );
2003-12-18 12:50:56 +00:00
}
};
2003-12-18 12:50:56 +00:00
struct StaticTitleWrapperPropertyArray : public rtl::StaticAggregate< Sequence< Property >, StaticTitleWrapperPropertyArray_Initializer >
{
};
2003-12-18 12:50:56 +00:00
} // anonymous namespace
namespace chart
{
namespace wrapper
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
TitleWrapper::TitleWrapper( ::chart::TitleHelper::eTitleType eTitleType,
::boost::shared_ptr< Chart2ModelContact > spChart2ModelContact ) :
m_spChart2ModelContact( spChart2ModelContact ),
m_aEventListenerContainer( m_aMutex ),
m_eTitleType(eTitleType)
2003-12-18 12:50:56 +00:00
{
ControllerLockGuardUNO aCtrlLockGuard( Reference< frame::XModel >( m_spChart2ModelContact->getChart2Document(), uno::UNO_QUERY ));
if( !getTitleObject().is() ) //#i83831# create an empty title at the model, thus references to properties can be mapped mapped correctly
TitleHelper::createTitle( m_eTitleType, OUString(), m_spChart2ModelContact->getChartModel(), m_spChart2ModelContact->m_xContext );
2003-12-18 12:50:56 +00:00
}
TitleWrapper::~TitleWrapper()
{
}
// ____ XShape ____
awt::Point SAL_CALL TitleWrapper::getPosition()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
return m_spChart2ModelContact->GetTitlePosition( this->getTitleObject() );
2003-12-18 12:50:56 +00:00
}
void SAL_CALL TitleWrapper::setPosition( const awt::Point& aPosition )
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< beans::XPropertySet > xPropertySet( this->getInnerPropertySet() );
if(xPropertySet.is())
{
awt::Size aPageSize( m_spChart2ModelContact->GetPageSize() );
chart2::RelativePosition aRelativePosition;
aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT;
aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width);
aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height);
2012-04-08 10:48:08 -04:30
xPropertySet->setPropertyValue( "RelativePosition", uno::makeAny(aRelativePosition) );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
}
2003-12-18 12:50:56 +00:00
}
awt::Size SAL_CALL TitleWrapper::getSize()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
return m_spChart2ModelContact->GetTitleSize( this->getTitleObject() );
2003-12-18 12:50:56 +00:00
}
void SAL_CALL TitleWrapper::setSize( const awt::Size& /*aSize*/ )
2003-12-18 12:50:56 +00:00
throw (beans::PropertyVetoException,
uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
OSL_FAIL( "trying to set size of title" );
2003-12-18 12:50:56 +00:00
}
// ____ XShapeDescriptor (base of XShape) ____
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
OUString SAL_CALL TitleWrapper::getShapeType()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
return OUString( "com.sun.star.chart.ChartTitle" );
2003-12-18 12:50:56 +00:00
}
// ____ XComponent ____
void SAL_CALL TitleWrapper::dispose()
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< uno::XInterface > xSource( static_cast< ::cppu::OWeakObject* >( this ) );
m_aEventListenerContainer.disposeAndClear( lang::EventObject( xSource ) );
2003-12-18 12:50:56 +00:00
MutexGuard aGuard( GetMutex());
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
clearWrappedPropertySet();
2003-12-18 12:50:56 +00:00
}
void SAL_CALL TitleWrapper::addEventListener(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const Reference< lang::XEventListener >& xListener )
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
m_aEventListenerContainer.addInterface( xListener );
}
void SAL_CALL TitleWrapper::removeEventListener(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const Reference< lang::XEventListener >& aListener )
throw (uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
m_aEventListenerContainer.removeInterface( aListener );
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< beans::XPropertySet > TitleWrapper::getFirstCharacterPropertySet()
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< beans::XPropertySet > xProp;
2003-12-18 12:50:56 +00:00
Reference< chart2::XTitle > xTitle( this->getTitleObject() );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
if( xTitle.is())
{
Sequence< Reference< chart2::XFormattedString > > aStrings( xTitle->getText());
if( aStrings.getLength() > 0 )
xProp.set( aStrings[0], uno::UNO_QUERY );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
return xProp;
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
void TitleWrapper::getFastCharacterPropertyValue( sal_Int32 nHandle, Any& rValue )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
OSL_ASSERT( FAST_PROPERTY_ID_START_CHAR_PROP <= nHandle &&
nHandle < CharacterProperties::FAST_PROPERTY_ID_END_CHAR_PROP );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< beans::XPropertySet > xProp( getFirstCharacterPropertySet(), uno::UNO_QUERY );
Reference< beans::XFastPropertySet > xFastProp( xProp, uno::UNO_QUERY );
if(xProp.is())
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const WrappedProperty* pWrappedProperty = getWrappedProperty( nHandle );
if( pWrappedProperty )
{
rValue = pWrappedProperty->getPropertyValue( xProp );
}
else if( xFastProp.is() )
{
rValue = xFastProp->getFastPropertyValue( nHandle );
}
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
}
void TitleWrapper::setFastCharacterPropertyValue(
sal_Int32 nHandle, const Any& rValue ) throw (uno::Exception)
{
OSL_ASSERT( FAST_PROPERTY_ID_START_CHAR_PROP <= nHandle &&
nHandle < CharacterProperties::FAST_PROPERTY_ID_END_CHAR_PROP );
Reference< chart2::XTitle > xTitle( this->getTitleObject() );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
if( xTitle.is())
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Sequence< Reference< chart2::XFormattedString > > aStrings( xTitle->getText());
const WrappedProperty* pWrappedProperty = getWrappedProperty( nHandle );
for( sal_Int32 i = 0; i < aStrings.getLength(); ++i )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< beans::XFastPropertySet > xFastPropertySet( aStrings[ i ], uno::UNO_QUERY );
Reference< beans::XPropertySet > xPropSet( xFastPropertySet, uno::UNO_QUERY );
if( pWrappedProperty )
pWrappedProperty->setPropertyValue( rValue, xPropSet );
else if( xFastPropertySet.is() )
xFastPropertySet->setFastPropertyValue( nHandle, rValue );
2003-12-18 12:50:56 +00:00
}
}
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
// WrappedPropertySet
void SAL_CALL TitleWrapper::setPropertyValue( const OUString& rPropertyName, const Any& rValue )
throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
setFastCharacterPropertyValue( nHandle, rValue );
2003-12-18 12:50:56 +00:00
}
else
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
WrappedPropertySet::setPropertyValue( rPropertyName, rValue );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Any SAL_CALL TitleWrapper::getPropertyValue( const OUString& rPropertyName )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Any aRet;
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
getFastCharacterPropertyValue( nHandle, aRet );
else
aRet = WrappedPropertySet::getPropertyValue( rPropertyName );
return aRet;
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
beans::PropertyState SAL_CALL TitleWrapper::getPropertyState( const OUString& rPropertyName )
throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
{
beans::PropertyState aState( beans::PropertyState_DIRECT_VALUE );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Reference< beans::XPropertyState > xPropState( getFirstCharacterPropertySet(), uno::UNO_QUERY );
if( xPropState.is() )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const WrappedProperty* pWrappedProperty = getWrappedProperty( rPropertyName );
if( pWrappedProperty )
aState = pWrappedProperty->getPropertyState( xPropState );
else
aState = xPropState->getPropertyState( rPropertyName );
2003-12-18 12:50:56 +00:00
}
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
else
aState = WrappedPropertySet::getPropertyState( rPropertyName );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
return aState;
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
void SAL_CALL TitleWrapper::setPropertyToDefault( const OUString& rPropertyName )
throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Any aDefault = getPropertyDefault( rPropertyName );
setFastCharacterPropertyValue( nHandle, aDefault );
}
else
WrappedPropertySet::setPropertyToDefault( rPropertyName );
}
Any SAL_CALL TitleWrapper::getPropertyDefault( const OUString& rPropertyName )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
{
Any aRet;
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
{
Reference< beans::XPropertyState > xPropState( getFirstCharacterPropertySet(), uno::UNO_QUERY );
if( xPropState.is() )
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const WrappedProperty* pWrappedProperty = getWrappedProperty( rPropertyName );
if( pWrappedProperty )
aRet = pWrappedProperty->getPropertyDefault(xPropState);
else
aRet = xPropState->getPropertyDefault( rPropertyName );
2003-12-18 12:50:56 +00:00
}
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
else
aRet = WrappedPropertySet::getPropertyDefault( rPropertyName );
return aRet;
2003-12-18 12:50:56 +00:00
}
void SAL_CALL TitleWrapper::addPropertyChangeListener( const OUString& rPropertyName, const Reference< beans::XPropertyChangeListener >& xListener )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
{
Reference< beans::XPropertySet > xPropSet( getFirstCharacterPropertySet(), uno::UNO_QUERY );
if( xPropSet.is() )
xPropSet->addPropertyChangeListener( rPropertyName, xListener );
}
else
WrappedPropertySet::addPropertyChangeListener( rPropertyName, xListener );
}
void SAL_CALL TitleWrapper::removePropertyChangeListener( const OUString& rPropertyName, const Reference< beans::XPropertyChangeListener >& xListener )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
sal_Int32 nHandle = getInfoHelper().getHandleByName( rPropertyName );
if( CharacterProperties::IsCharacterPropertyHandle( nHandle ) )
{
Reference< beans::XPropertySet > xPropSet( getFirstCharacterPropertySet(), uno::UNO_QUERY );
if( xPropSet.is() )
xPropSet->removePropertyChangeListener( rPropertyName, xListener );
}
else
WrappedPropertySet::removePropertyChangeListener( rPropertyName, xListener );
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
//ReferenceSizePropertyProvider
2008-10-01 07:35:04 +00:00
void TitleWrapper::updateReferenceSize()
2003-12-18 12:50:56 +00:00
{
Reference< beans::XPropertySet > xProp( this->getTitleObject(), uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
if( xProp.is() )
2008-10-01 07:35:04 +00:00
{
2012-04-08 10:48:08 -04:30
if( xProp->getPropertyValue( "ReferencePageSize" ).hasValue() )
xProp->setPropertyValue( "ReferencePageSize", uno::makeAny(
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
m_spChart2ModelContact->GetPageSize() ));
2008-10-01 07:35:04 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
}
Any TitleWrapper::getReferenceSize()
{
Any aRet;
Reference< beans::XPropertySet > xProp( this->getTitleObject(), uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
if( xProp.is() )
2012-04-08 10:48:08 -04:30
aRet = xProp->getPropertyValue( "ReferencePageSize" );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
return aRet;
}
awt::Size TitleWrapper::getCurrentSizeForReference()
{
return m_spChart2ModelContact->GetPageSize();
}
2003-12-18 12:50:56 +00:00
Reference< chart2::XTitle > TitleWrapper::getTitleObject()
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
{
return TitleHelper::getTitle( m_eTitleType, m_spChart2ModelContact->getChartModel() );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
// WrappedPropertySet
Reference< beans::XPropertySet > TitleWrapper::getInnerPropertySet()
2003-12-18 12:50:56 +00:00
{
return Reference< beans::XPropertySet >( this->getTitleObject(), uno::UNO_QUERY );
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const Sequence< beans::Property >& TitleWrapper::getPropertySequence()
{
return *StaticTitleWrapperPropertyArray::get();
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
}
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
const std::vector< WrappedProperty* > TitleWrapper::createWrappedProperties()
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
::std::vector< ::chart::WrappedProperty* > aWrappedProperties;
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
aWrappedProperties.push_back( new WrappedTitleStringProperty( m_spChart2ModelContact->m_xContext ) );
aWrappedProperties.push_back( new WrappedTextRotationProperty( true ) );
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
aWrappedProperties.push_back( new WrappedStackedTextProperty() );
WrappedCharacterHeightProperty::addWrappedProperties( aWrappedProperties, this );
2008-10-01 07:35:04 +00:00
WrappedAutomaticPositionProperties::addWrappedProperties( aWrappedProperties );
WrappedScaleTextProperties::addWrappedProperties( aWrappedProperties, m_spChart2ModelContact );
2003-12-18 12:50:56 +00:00
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
return aWrappedProperties;
2003-12-18 12:50:56 +00:00
}
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Sequence< OUString > TitleWrapper::getSupportedServiceNames_Static()
2003-12-18 12:50:56 +00:00
{
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED 2006/10/18 17:03:07 bm 1.2.4.22: RESYNC: (1.3-1.4); FILE MERGED 2006/03/14 19:05:37 iha 1.2.4.21: #i63008# crash leaving inplace mode while having subtitlesx 2006/03/12 00:54:26 iha 1.2.4.20: merged ChartAPIValueProvider with Chart2ModelContact 2006/02/25 15:16:47 iha 1.2.4.19: correct default value for title string property 2006/02/17 20:57:43 iha 1.2.4.18: enlarge validity of api wrapper objects to lifetime of new chartmodel 2006/02/06 14:55:29 iha 1.2.4.17: enlarge lifetime of titlewrapper 2006/01/27 09:51:17 bm 1.2.4.16: InlineContainer.hxx moved to comphelper 2005/11/15 15:30:12 bm 1.2.4.15: garbage collection, disposing, reference release issues 2005/10/07 11:10:23 bm 1.2.4.14: RESYNC: (1.2-1.3); FILE MERGED 2005/08/03 16:36:13 bm 1.2.4.13: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/15 13:32:27 iha 1.2.4.12: removed support if FastPropertySet at WrappedPropertySet as this is to errorprone due to mismatch of FastPropertyIds 2005/07/14 12:45:39 iha 1.2.4.11: remove unused parameter 'bIncludeStyleProperties' from characterproperties 2005/07/14 12:32:48 iha 1.2.4.10: remove unused parameter 'bIncludeStyleProperties' 2005/07/12 12:56:55 bm 1.2.4.9: use named properties for gradients etc. in chart model 2005/05/31 19:07:16 iha 1.2.4.8: create old api without controller 2005/04/19 17:28:40 iha 1.2.4.7: improved old api support (introduced wrappedpropertyset ...) 2004/08/25 16:35:59 iha 1.2.4.6: View independent loading - relative position with dynamic anchor point 2004/05/07 13:48:45 bm 1.2.4.5: some updates 2004/04/26 19:02:08 iha 1.2.4.4: #i27367# use simpler interface to move objects at PositionAndSizeHelper 2004/04/26 11:17:44 iha 1.2.4.3: #i27367# get title size and position from ChartAPIValueProvider 2004/03/29 12:59:17 bm 1.2.4.2: do not create template again 2004/02/13 16:51:16 bm 1.2.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:19:25 +00:00
Sequence< OUString > aServices( 4 );
2012-04-08 10:48:08 -04:30
aServices[ 0 ] = "com.sun.star.chart.ChartTitle";
aServices[ 1 ] = "com.sun.star.drawing.Shape";
aServices[ 2 ] = "com.sun.star.xml.UserDefinedAttributesSupplier";
2012-04-08 10:48:08 -04:30
aServices[ 3 ] = "com.sun.star.style.CharacterProperties";
2003-12-18 12:50:56 +00:00
return aServices;
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
OUString SAL_CALL TitleWrapper::getImplementationName()
throw( css::uno::RuntimeException, std::exception )
{
return getImplementationName_Static();
}
OUString TitleWrapper::getImplementationName_Static()
{
return OUString(lcl_aServiceName);
}
sal_Bool SAL_CALL TitleWrapper::supportsService( const OUString& rServiceName )
throw( css::uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
css::uno::Sequence< OUString > SAL_CALL TitleWrapper::getSupportedServiceNames()
throw( css::uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_Static();
}
2003-12-18 12:50:56 +00:00
} // namespace wrapper
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */