summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-03-12 09:07:40 +0000
committerRüdiger Timm <rt@openoffice.org>2008-03-12 09:07:40 +0000
commit7664271a9b49f8c93bab24aec4949588539c6e7c (patch)
treec436fb4ab7d46570935f65c5532a83c706ca304b /svx
parent4f898bb52e74681fc592ff5fe3a81c7a73bc04a6 (diff)
INTEGRATION: CWS impresstables2 (1.1.2); FILE ADDED
2007/03/15 17:17:28 cl 1.1.2.1: #i68103# adding a shape for tables
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/viewcontactoftableobj.hxx80
1 files changed, 80 insertions, 0 deletions
diff --git a/svx/source/table/viewcontactoftableobj.hxx b/svx/source/table/viewcontactoftableobj.hxx
new file mode 100644
index 000000000000..5e630ce1224b
--- /dev/null
+++ b/svx/source/table/viewcontactoftableobj.hxx
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: viewcontactoftableobj.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2008-03-12 10:07:40 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef _SDR_CONTACT_VIEWCONTACTOFTABLEOBJ_HXX
+#define _SDR_CONTACT_VIEWCONTACTOFTABLEOBJ_HXX
+
+#include <svx/sdr/contact/viewcontactofsdrobj.hxx>
+
+//////////////////////////////////////////////////////////////////////////////
+// predeclarations
+
+//////////////////////////////////////////////////////////////////////////////
+
+namespace sdr
+{
+ namespace table
+ {
+ class SdrTableObj;
+ }
+
+ namespace contact
+ {
+ class ViewContactOfTableObj : public ViewContactOfSdrObj
+ {
+ protected:
+ // internal access to SdrTextObj
+ ::sdr::table::SdrTableObj& GetTextObj() const
+ {
+ return (::sdr::table::SdrTableObj&)GetSdrObject();
+ }
+
+ public:
+ // basic constructor, used from SdrObject.
+ ViewContactOfTableObj(::sdr::table::SdrTableObj& rTextObj);
+
+ // The destructor. When PrepareDelete() was not called before (see there)
+ // warnings will be generated in debug version if there are still contacts
+ // existing.
+ virtual ~ViewContactOfTableObj();
+ };
+ } // end of namespace contact
+} // end of namespace sdr
+
+//////////////////////////////////////////////////////////////////////////////
+
+#endif
+
+// eof