summaryrefslogtreecommitdiff
path: root/basctl/source/inc
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2001-03-01 08:50:51 +0000
committerThomas Benisch <tbe@openoffice.org>2001-03-01 08:50:51 +0000
commitb2ba8bc0bb3fc1965e92aea39e0faeaa6a1521c5 (patch)
tree53de6a375ec54521636318640437834a59f1704f /basctl/source/inc
parent99efd68efb72737cdf1d22944e5ef1ec2460e3c9 (diff)
added default and unique names, handling of name property changes
Diffstat (limited to 'basctl/source/inc')
-rw-r--r--basctl/source/inc/dlgedobj.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx
index 3063f1d11b9e..f24f98f85106 100644
--- a/basctl/source/inc/dlgedobj.hxx
+++ b/basctl/source/inc/dlgedobj.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgedobj.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tbe $ $Date: 2001-02-26 10:57:50 $
+ * last change: $Author: tbe $ $Date: 2001-03-01 09:50:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -89,6 +89,7 @@ class DlgEdObj: public SdrUnoObj
private:
sal_Bool bIsListening;
sal_uInt32 nEvent;
+ //String aName;
DlgEdForm* pDlgEdForm;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener> m_xListener;
@@ -115,6 +116,9 @@ public:
virtual void SetRectFromProps();
virtual void SetPropsFromRect();
+ virtual void SAL_CALL SetNameFromProp( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException);
+
+ String GetUniqueName();
virtual sal_uInt32 GetObjInventor() const;
virtual sal_uInt16 GetObjIdentifier() const;
@@ -135,6 +139,8 @@ protected:
DECL_LINK(OnCreate, void* );
+ String GetDefaultName();
+
public:
virtual void SAL_CALL _propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException);