summaryrefslogtreecommitdiff
path: root/inc/dplevel.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'inc/dplevel.hxx')
-rw-r--r--inc/dplevel.hxx60
1 files changed, 57 insertions, 3 deletions
diff --git a/inc/dplevel.hxx b/inc/dplevel.hxx
index a661a53..69a40c1 100644
--- a/inc/dplevel.hxx
+++ b/inc/dplevel.hxx
@@ -1,8 +1,9 @@
#ifndef __DPLEVEL_HXX__
#define __DPLEVEL_HXX__
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase3.hxx>
+#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/sheet/XMembersSupplier.hpp>
@@ -14,12 +15,15 @@ namespace com { namespace sun { namespace star {
namespace dpsource {
-class DPLevel : public ::cppu::WeakImplHelper2<
+class SourceProvider;
+
+class DPLevel : public ::cppu::WeakImplHelper3<
+ ::com::sun::star::beans::XPropertySet,
::com::sun::star::container::XNamed,
::com::sun::star::sheet::XMembersSupplier >
{
public:
- DPLevel();
+ DPLevel(SourceProvider* pSrc);
~DPLevel();
// XNamed
@@ -34,8 +38,58 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >
SAL_CALL getMembers() throw (::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& aPropertyName)
+ 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);
+
private:
+ ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >
+ mxMembers;
::rtl::OUString maName;
+ SourceProvider* mpSource;
};
}