diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-10-12 09:16:45 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-10-12 09:16:45 +0000 |
commit | db751428b74e40eaff184b53312177707bc5b3d6 (patch) | |
tree | 941e434874a5a32ec4e409341816e67a12f80344 /sc/inc/funcuno.hxx | |
parent | 413ef831ee81f0070113782debc27126137b383e (diff) |
support XPropertySet / SpreadsheetDocumentSettings
Diffstat (limited to 'sc/inc/funcuno.hxx')
-rw-r--r-- | sc/inc/funcuno.hxx | 57 |
1 files changed, 52 insertions, 5 deletions
diff --git a/sc/inc/funcuno.hxx b/sc/inc/funcuno.hxx index d968d29b497b..bdafc2b9e87f 100644 --- a/sc/inc/funcuno.hxx +++ b/sc/inc/funcuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: funcuno.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-10-06 17:45:51 $ + * last change: $Author: nn $ $Date: 2000-10-12 10:15:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,9 +68,12 @@ #ifndef _COM_SUN_STAR_SHEET_XFUNCTIONACCESS_HPP_ #include <com/sun/star/sheet/XFunctionAccess.hpp> #endif +#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_ +#include <com/sun/star/beans/XPropertySet.hpp> +#endif -#ifndef _CPPUHELPER_IMPLBASE2_HXX_ -#include <cppuhelper/implbase2.hxx> +#ifndef _CPPUHELPER_IMPLBASE3_HXX_ +#include <cppuhelper/implbase3.hxx> #endif #ifndef _SFXLSTNER_HXX @@ -78,6 +81,7 @@ #endif class ScDocument; +class ScDocOptions; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL @@ -104,13 +108,15 @@ public: void Clear(); }; -class ScFunctionAccess : public cppu::WeakImplHelper2< +class ScFunctionAccess : public cppu::WeakImplHelper3< com::sun::star::sheet::XFunctionAccess, + com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceInfo>, public SfxListener { private: ScTempDocCache aDocCache; + ScDocOptions* pOptions; BOOL bInvalid; public: @@ -131,6 +137,47 @@ public: ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + // XPropertySet + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > + SAL_CALL getPropertySetInfo() + throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, + const ::com::sun::star::uno::Any& aValue ) + throw(::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::beans::PropertyVetoException, + ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( + const ::rtl::OUString& PropertyName ) + throw(::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, + const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XPropertyChangeListener >& xListener ) + throw(::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, + const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XPropertyChangeListener >& aListener ) + throw(::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, + const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XVetoableChangeListener >& aListener ) + throw(::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, + const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XVetoableChangeListener >& aListener ) + throw(::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + // XServiceInfo virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException); |