summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-03-12 08:31:12 +0000
committerRüdiger Timm <rt@openoffice.org>2008-03-12 08:31:12 +0000
commit492ee94eb408a207c820a58428600ae77e5fa6b7 (patch)
treeffa42cab9201a1eb903e0651a40f2f34181ddd64 /svx/inc
parent52e0052542c2348302047c0e84baff5877cabe63 (diff)
INTEGRATION: CWS impresstables2 (1.1.2); FILE ADDED
2007/10/11 15:10:26 cl 1.1.2.2: #i68103# working on tables 2007/05/31 12:00:19 cl 1.1.2.1: #i68103# moved from svx/inc
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/svdtext.hxx93
1 files changed, 93 insertions, 0 deletions
diff --git a/svx/inc/svx/svdtext.hxx b/svx/inc/svx/svdtext.hxx
new file mode 100644
index 000000000000..6f98771e48cb
--- /dev/null
+++ b/svx/inc/svx/svdtext.hxx
@@ -0,0 +1,93 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: svdtext.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2008-03-12 09:31:12 $
+ *
+ * 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 _SVDTEXT_HXX
+#define _SVDTEXT_HXX
+
+#include <sal/types.h>
+
+#ifndef INCLUDED_SVXDLLAPI_H
+#include "svx/svxdllapi.h"
+#endif
+
+// --------------------------------------------------------------------
+
+class OutlinerParaObject;
+class SdrOutliner;
+class SdrTextObj;
+class SdrModel;
+
+namespace sdr { namespace properties {
+ class TextProperties;
+}}
+
+/** This class stores information about one text inside a shape.
+*/
+
+class SVX_DLLPUBLIC SdrText
+{
+public:
+ SdrText( SdrTextObj* pObject, OutlinerParaObject* pOutlinerParaObject = 0 );
+ virtual ~SdrText();
+
+ virtual void SetModel(SdrModel* pNewModel);
+ virtual void ForceOutlinerParaObject( USHORT nOutlMode );
+
+ virtual void SetOutlinerParaObject( OutlinerParaObject* pTextObject );
+ virtual OutlinerParaObject* GetOutlinerParaObject() const;
+
+ virtual void CheckPortionInfo( SdrOutliner& rOutliner );
+ virtual void ReformatText();
+
+ SdrModel* GetModel() const { return mpModel; }
+ SdrTextObj* GetObject() const { return mpObject; }
+
+ /** returns the current OutlinerParaObject and removes it from this instance */
+ OutlinerParaObject* RemoveOutlinerParaObject();
+
+protected:
+ virtual const SfxItemSet& GetObjectItemSet();
+ virtual void SetObjectItem(const SfxPoolItem& rItem);
+ virtual SfxStyleSheet* GetStyleSheet() const;
+
+private:
+ OutlinerParaObject* mpOutlinerParaObject;
+ SdrTextObj* mpObject;
+ SdrModel* mpModel;
+ bool mbPortionInfoChecked;
+};
+
+#endif //_SVDTEXT_HXX
+