summaryrefslogtreecommitdiff
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-11-27 17:20:44 +0000
committerNiklas Nebel <nn@openoffice.org>2002-11-27 17:20:44 +0000
commitc06bdae03d08b0ded134e7d98b770caabbc34629 (patch)
tree90194dc19360520786508337e6876ecb10994464 /sc/inc/textuno.hxx
parentb77432b29064f6419c9456fed47df278fc5c0578 (diff)
#105585# text cursor subclass for text in drawing objects
Diffstat (limited to 'sc/inc/textuno.hxx')
-rw-r--r--sc/inc/textuno.hxx26
1 files changed, 24 insertions, 2 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index dabbac583c52..89303795c11f 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: textuno.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: sab $ $Date: 2002-10-01 16:33:19 $
+ * last change: $Author: nn $ $Date: 2002-11-27 18:20:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -358,6 +358,28 @@ public:
com::sun::star::uno::XInterface> xObj );
};
+class ScDrawTextCursor : public SvxUnoTextCursor
+{
+private:
+ com::sun::star::uno::Reference< com::sun::star::text::XText > xParentText;
+
+public:
+ ScDrawTextCursor(const ScDrawTextCursor& rOther);
+ ScDrawTextCursor( const com::sun::star::uno::Reference<
+ com::sun::star::text::XText >& xParent,
+ const SvxUnoTextBase& rText );
+ virtual ~ScDrawTextCursor() throw();
+
+ // SvxUnoTextCursor methods reimplemented here:
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL
+ getText() throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL
+ getStart() throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL
+ getEnd() throw(::com::sun::star::uno::RuntimeException);
+};
+
+
// ScAnnotationTextCursor isn't needed anymore - SvxUnoTextCursor is used instead