summaryrefslogtreecommitdiff
path: root/sw/inc/unotextcursor.hxx
diff options
context:
space:
mode:
authorJürgen Schmidt <jsc@apache.org>2013-03-20 14:17:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-23 11:55:26 +0100
commitc5b604b9527d0dc32066e17dc3ce7f7370a78fe1 (patch)
treeb00c084f1ad200d345aa25e656b4ae0caade166b /sw/inc/unotextcursor.hxx
parent5e059c1ee53b6be058f66a7c43af0e75f3cadfa1 (diff)
Resolves: #i121732# add new interface XMarkingAccess
Patch by: Kai Labusch Review by: arielch, jsc (cherry picked from commit c1fb6ce135ad39299164aeecebfa746db210d0e3) Conflicts: offapi/com/sun/star/text/makefile.mk sw/inc/unotextcursor.hxx sw/source/core/unocore/unoobj.cxx Change-Id: I68029b28908a57c4ed39d798269b5a8786972be0
Diffstat (limited to 'sw/inc/unotextcursor.hxx')
-rw-r--r--sw/inc/unotextcursor.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sw/inc/unotextcursor.hxx b/sw/inc/unotextcursor.hxx
index 6bb5bab8e9d6..fc45d436528f 100644
--- a/sw/inc/unotextcursor.hxx
+++ b/sw/inc/unotextcursor.hxx
@@ -34,11 +34,18 @@
#include <com/sun/star/text/XWordCursor.hpp>
#include <com/sun/star/text/XParagraphCursor.hpp>
#include <com/sun/star/text/XRedline.hpp>
+#include <com/sun/star/text/XMarkingAccess.hpp>
#include <cppuhelper/implbase13.hxx>
#include <comphelper/uno3.hxx>
+#if ! defined(INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_14)
+#define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_14
+#define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 14
+#include <comphelper/implbase_var.hxx>
+#endif
+
#include <unobaseclass.hxx>
#include <TextCursorHelper.hxx>
@@ -47,8 +54,7 @@ class SwDoc;
struct SwPosition;
class SwUnoCrsr;
-
-typedef ::cppu::WeakImplHelper13
+typedef ::comphelper::WeakImplHelper14
< ::com::sun::star::lang::XServiceInfo
, ::com::sun::star::beans::XPropertySet
, ::com::sun::star::beans::XPropertyState
@@ -62,6 +68,7 @@ typedef ::cppu::WeakImplHelper13
, ::com::sun::star::text::XWordCursor
, ::com::sun::star::text::XParagraphCursor
, ::com::sun::star::text::XRedline
+, ::com::sun::star::text::XMarkingAccess
> SwXTextCursor_Base;
class SwXTextCursor
@@ -362,6 +369,10 @@ public:
throw (::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::uno::RuntimeException);
+ //XMarkingAccess
+ virtual void SAL_CALL invalidateMarkings(::sal_Int32 nType)
+ throw (::com::sun::star::uno::RuntimeException);
+
};
#endif // SW_UNOTEXTCURSOR_HXX