summaryrefslogtreecommitdiff
path: root/sc/inc/userdat.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-06 11:31:41 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-06 11:31:41 +0000
commitf6b87dbafda2339f8a16317ef9973b4fe892aff3 (patch)
tree5abf7205537c17dcb7ba0925188527e7ab7ae9d1 /sc/inc/userdat.hxx
parented0c5c4d364a4c5c004ea930d26f9e0890f993c3 (diff)
INTEGRATION: CWS dr55 (1.6.158); FILE MERGED
2007/06/28 13:56:56 dr 1.6.158.3: #i66550# disabled 2007/06/15 15:41:18 dr 1.6.158.2: #i66550# add hyperlinks to shapes, patch by npower, reviewed by dr 2007/06/13 14:35:54 dr 1.6.158.1: #i59082# assign macros to drawing objects and pictures, patch by npower, reviewed by dr
Diffstat (limited to 'sc/inc/userdat.hxx')
-rw-r--r--sc/inc/userdat.hxx31
1 files changed, 29 insertions, 2 deletions
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index ff5c6e54f3f4..7a61cfb10bb5 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: userdat.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: ihi $ $Date: 2006-11-14 15:46:30 $
+ * last change: $Author: rt $ $Date: 2007-07-06 12:31:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -60,6 +60,7 @@
// Object-Ids fuer UserData
#define SC_UD_OBJDATA 1
#define SC_UD_IMAPDATA 2
+#define SC_UD_MACRODATA 3
//-------------------------------------------------------------------------
@@ -103,6 +104,32 @@ public:
const ImageMap& GetImageMap() const { return aImageMap; }
};
+//-------------------------------------------------------------------------
+
+class ScMacroInfo : public SdrObjUserData
+{
+public:
+ ScMacroInfo();
+ virtual ~ScMacroInfo();
+
+ virtual SdrObjUserData* Clone( SdrObject* pObj ) const;
+
+ void SetMacro( const rtl::OUString& rMacro ) { maMacro = rMacro; }
+ const rtl::OUString& GetMacro() const { return maMacro; }
+
+#ifdef ISSUE66550_HLINK_FOR_SHAPES
+ void SetHlink( const rtl::OUString& rHlink ) { maHlink = rHlink; }
+ const rtl::OUString& GetHlink() const { return maHlink; }
+#endif
+
+private:
+ rtl::OUString maMacro;
+#ifdef ISSUE66550_HLINK_FOR_SHAPES
+ rtl::OUString maHlink;
+#endif
+};
+
+//-------------------------------------------------------------------------
#endif