diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-07-06 15:53:01 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-07-06 15:53:01 +0000 |
commit | f100c28074b969057316990866b258be85be9697 (patch) | |
tree | 2528778404622f5c4238d77b2573d2e531f66963 /framework/inc/uielement | |
parent | 7ac140460de175b554ac1b0f73c0529ce4146923 (diff) |
INTEGRATION: CWS docking1 (1.3.10); FILE MERGED
2004/04/21 06:43:24 cd 1.3.10.1: #i24937# Support property to change/load/store a user defined UI name
Diffstat (limited to 'framework/inc/uielement')
-rw-r--r-- | framework/inc/uielement/rootitemcontainer.hxx | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx index d7c7a1e5ffee..c7571eb0a323 100644 --- a/framework/inc/uielement/rootitemcontainer.hxx +++ b/framework/inc/uielement/rootitemcontainer.hxx @@ -2,9 +2,9 @@ * * $RCSfile: rootitemcontainer.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2004-03-11 11:05:25 $ + * last change: $Author: obo $ $Date: 2004-07-06 16:53:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -121,6 +121,14 @@ #include <cppuhelper/weak.hxx> #endif +#ifndef _CPPUHELPER_PROPSHLP_HXX +#include <cppuhelper/propshlp.hxx> +#endif + +#ifndef _CPPUHELPER_INTERFACECONTAINER_HXX_ +#include <cppuhelper/interfacecontainer.hxx> +#endif + #include <vector> namespace framework @@ -132,6 +140,9 @@ class RootItemContainer : public ::com::sun::star::lang::XTypeProvider public ::com::sun::star::container::XIndexContainer , public ::com::sun::star::lang::XSingleComponentFactory , public ::com::sun::star::lang::XUnoTunnel , + protected ThreadHelpBase , + public ::cppu::OBroadcastHelper , + public ::cppu::OPropertySetHelper , public ::cppu::OWeakObject { friend class ConstItemContainer; @@ -185,6 +196,21 @@ class RootItemContainer : public ::com::sun::star::lang::XTypeProvider virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithContext( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& Context ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArgumentsAndContext( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& Context ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + protected: + // OPropertySetHelper + virtual sal_Bool SAL_CALL convertFastPropertyValue ( com::sun::star::uno::Any& aConvertedValue , + com::sun::star::uno::Any& aOldValue , + sal_Int32 nHandle , + const com::sun::star::uno::Any& aValue ) throw( com::sun::star::lang::IllegalArgumentException ); + virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle , + const com::sun::star::uno::Any& aValue ) throw( com::sun::star::uno::Exception ); + virtual void SAL_CALL getFastPropertyValue( com::sun::star::uno::Any& aValue , + sal_Int32 nHandle ) const; + virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); + virtual ::com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (::com::sun::star::uno::RuntimeException); + + static const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > impl_getStaticPropertyDescriptor(); + private: RootItemContainer& operator=( const RootItemContainer& ); RootItemContainer( const RootItemContainer& ); @@ -194,6 +220,7 @@ class RootItemContainer : public ::com::sun::star::lang::XTypeProvider mutable ShareableMutex m_aShareMutex; std::vector< com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > > m_aItemVector; + rtl::OUString m_aUIName; }; } |