xref: /aoo42x/main/sw/inc/unotextcursor.hxx (revision fe77a1f4)
11d2dbeb0SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
31d2dbeb0SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
41d2dbeb0SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
51d2dbeb0SAndrew Rist  * distributed with this work for additional information
61d2dbeb0SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
71d2dbeb0SAndrew Rist  * to you under the Apache License, Version 2.0 (the
81d2dbeb0SAndrew Rist  * "License"); you may not use this file except in compliance
91d2dbeb0SAndrew Rist  * with the License.  You may obtain a copy of the License at
101d2dbeb0SAndrew Rist  *
111d2dbeb0SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
121d2dbeb0SAndrew Rist  *
131d2dbeb0SAndrew Rist  * Unless required by applicable law or agreed to in writing,
141d2dbeb0SAndrew Rist  * software distributed under the License is distributed on an
151d2dbeb0SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
161d2dbeb0SAndrew Rist  * KIND, either express or implied.  See the License for the
171d2dbeb0SAndrew Rist  * specific language governing permissions and limitations
181d2dbeb0SAndrew Rist  * under the License.
191d2dbeb0SAndrew Rist  *
201d2dbeb0SAndrew Rist  *************************************************************/
211d2dbeb0SAndrew Rist 
221d2dbeb0SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef SW_UNOTEXTCURSOR_HXX
25cdf0e10cSrcweir #define SW_UNOTEXTCURSOR_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <com/sun/star/lang/XUnoTunnel.hpp>
28cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp>
29cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp>
30cdf0e10cSrcweir #include <com/sun/star/beans/XPropertyState.hpp>
31cdf0e10cSrcweir #include <com/sun/star/beans/XMultiPropertyStates.hpp>
32cdf0e10cSrcweir #include <com/sun/star/container/XEnumerationAccess.hpp>
33cdf0e10cSrcweir #include <com/sun/star/container/XContentEnumerationAccess.hpp>
34cdf0e10cSrcweir #include <com/sun/star/util/XSortable.hpp>
35cdf0e10cSrcweir #include <com/sun/star/document/XDocumentInsertable.hpp>
36cdf0e10cSrcweir #include <com/sun/star/text/XSentenceCursor.hpp>
37cdf0e10cSrcweir #include <com/sun/star/text/XWordCursor.hpp>
38cdf0e10cSrcweir #include <com/sun/star/text/XParagraphCursor.hpp>
39cdf0e10cSrcweir #include <com/sun/star/text/XRedline.hpp>
40*fe77a1f4SJürgen Schmidt #include <com/sun/star/text/XMarkingAccess.hpp>
41cdf0e10cSrcweir 
42cdf0e10cSrcweir #include <cppuhelper/implbase12.hxx>
43cdf0e10cSrcweir 
44cdf0e10cSrcweir #include <comphelper/uno3.hxx>
45cdf0e10cSrcweir 
46*fe77a1f4SJürgen Schmidt #if ! defined(INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_13)
47*fe77a1f4SJürgen Schmidt #define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_13
48*fe77a1f4SJürgen Schmidt #define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 13
49*fe77a1f4SJürgen Schmidt #include <comphelper/implbase_var.hxx>
50*fe77a1f4SJürgen Schmidt #endif
51*fe77a1f4SJürgen Schmidt 
52cdf0e10cSrcweir #include <unobaseclass.hxx>
53cdf0e10cSrcweir #include <TextCursorHelper.hxx>
54cdf0e10cSrcweir 
55cdf0e10cSrcweir 
56cdf0e10cSrcweir class SwDoc;
57cdf0e10cSrcweir struct SwPosition;
58cdf0e10cSrcweir class SwUnoCrsr;
59cdf0e10cSrcweir 
60*fe77a1f4SJürgen Schmidt typedef ::comphelper::WeakImplHelper13
61cdf0e10cSrcweir <   ::com::sun::star::lang::XServiceInfo
62cdf0e10cSrcweir ,   ::com::sun::star::beans::XPropertySet
63cdf0e10cSrcweir ,   ::com::sun::star::beans::XPropertyState
64cdf0e10cSrcweir ,   ::com::sun::star::beans::XMultiPropertyStates
65cdf0e10cSrcweir ,   ::com::sun::star::container::XEnumerationAccess
66cdf0e10cSrcweir ,   ::com::sun::star::container::XContentEnumerationAccess
67cdf0e10cSrcweir ,   ::com::sun::star::util::XSortable
68cdf0e10cSrcweir ,   ::com::sun::star::document::XDocumentInsertable
69cdf0e10cSrcweir ,   ::com::sun::star::text::XSentenceCursor
70cdf0e10cSrcweir ,   ::com::sun::star::text::XWordCursor
71cdf0e10cSrcweir ,   ::com::sun::star::text::XParagraphCursor
72cdf0e10cSrcweir ,   ::com::sun::star::text::XRedline
73*fe77a1f4SJürgen Schmidt ,   ::com::sun::star::text::XMarkingAccess
74cdf0e10cSrcweir > SwXTextCursor_Base;
75cdf0e10cSrcweir 
76cdf0e10cSrcweir class SwXTextCursor
77cdf0e10cSrcweir     : public SwXTextCursor_Base
78cdf0e10cSrcweir     , public OTextCursorHelper
79cdf0e10cSrcweir {
80cdf0e10cSrcweir 
81cdf0e10cSrcweir private:
82cdf0e10cSrcweir 
83cdf0e10cSrcweir     class Impl;
84cdf0e10cSrcweir     ::sw::UnoImplPtr<Impl> m_pImpl;
85cdf0e10cSrcweir 
86cdf0e10cSrcweir     virtual ~SwXTextCursor();
87cdf0e10cSrcweir 
88cdf0e10cSrcweir public:
89cdf0e10cSrcweir 
90cdf0e10cSrcweir     SwXTextCursor(
91cdf0e10cSrcweir             SwDoc & rDoc,
92cdf0e10cSrcweir             ::com::sun::star::uno::Reference<
93cdf0e10cSrcweir                 ::com::sun::star::text::XText > const& xParent,
94cdf0e10cSrcweir             const enum CursorType eType,
95cdf0e10cSrcweir             SwPosition const& rPos,
96cdf0e10cSrcweir             SwPosition const*const pMark = 0);
97cdf0e10cSrcweir     SwXTextCursor(
98cdf0e10cSrcweir             ::com::sun::star::uno::Reference<
99cdf0e10cSrcweir                 ::com::sun::star::text::XText > const& xParent,
100cdf0e10cSrcweir             SwPaM const& rSourceCursor,
101cdf0e10cSrcweir             const enum CursorType eType = CURSOR_ALL);
102cdf0e10cSrcweir 
103cdf0e10cSrcweir           SwUnoCrsr *   GetCursor();
104cdf0e10cSrcweir     const SwUnoCrsr *   GetCursor() const;
105cdf0e10cSrcweir 
106cdf0e10cSrcweir     bool IsAtEndOfMeta() const;
107cdf0e10cSrcweir 
108cdf0e10cSrcweir     void DeleteAndInsert(::rtl::OUString const& rText,
109cdf0e10cSrcweir                 const bool bForceExpandHints);
110cdf0e10cSrcweir 
111cdf0e10cSrcweir     // OTextCursorHelper
112cdf0e10cSrcweir     virtual const SwPaM*        GetPaM() const;
113cdf0e10cSrcweir     virtual SwPaM*              GetPaM();
114cdf0e10cSrcweir     virtual const SwDoc*        GetDoc() const;
115cdf0e10cSrcweir     virtual SwDoc*              GetDoc();
116cdf0e10cSrcweir 
117cdf0e10cSrcweir     DECLARE_XINTERFACE()
118cdf0e10cSrcweir 
119cdf0e10cSrcweir     static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
120cdf0e10cSrcweir 
121cdf0e10cSrcweir     // XUnoTunnel
122cdf0e10cSrcweir     virtual sal_Int64 SAL_CALL getSomething(
123cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier)
124cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
125cdf0e10cSrcweir 
126cdf0e10cSrcweir     // XServiceInfo
127cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getImplementationName()
128cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
129cdf0e10cSrcweir     virtual sal_Bool SAL_CALL supportsService(
130cdf0e10cSrcweir             const ::rtl::OUString& rServiceName)
131cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
132cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
133cdf0e10cSrcweir         getSupportedServiceNames()
134cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
135cdf0e10cSrcweir 
136cdf0e10cSrcweir     // XPropertySet
137cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference<
138cdf0e10cSrcweir                 ::com::sun::star::beans::XPropertySetInfo > SAL_CALL
139cdf0e10cSrcweir         getPropertySetInfo()
140cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
141cdf0e10cSrcweir     virtual void SAL_CALL setPropertyValue(
142cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName,
143cdf0e10cSrcweir             const ::com::sun::star::uno::Any& rValue)
144cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
145cdf0e10cSrcweir                 ::com::sun::star::beans::PropertyVetoException,
146cdf0e10cSrcweir                 ::com::sun::star::lang::IllegalArgumentException,
147cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
148cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
149cdf0e10cSrcweir     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
150cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName)
151cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
152cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
153cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
154cdf0e10cSrcweir     virtual void SAL_CALL addPropertyChangeListener(
155cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName,
156cdf0e10cSrcweir             const ::com::sun::star::uno::Reference<
157cdf0e10cSrcweir                 ::com::sun::star::beans::XPropertyChangeListener >& xListener)
158cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
159cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
160cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
161cdf0e10cSrcweir     virtual void SAL_CALL removePropertyChangeListener(
162cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName,
163cdf0e10cSrcweir             const ::com::sun::star::uno::Reference<
164cdf0e10cSrcweir                 ::com::sun::star::beans::XPropertyChangeListener >& xListener)
165cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
166cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
167cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
168cdf0e10cSrcweir     virtual void SAL_CALL addVetoableChangeListener(
169cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName,
170cdf0e10cSrcweir             const ::com::sun::star::uno::Reference<
171cdf0e10cSrcweir                 ::com::sun::star::beans::XVetoableChangeListener >& xListener)
172cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
173cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
174cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
175cdf0e10cSrcweir     virtual void SAL_CALL removeVetoableChangeListener(
176cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName,
177cdf0e10cSrcweir             const ::com::sun::star::uno::Reference<
178cdf0e10cSrcweir                 ::com::sun::star::beans::XVetoableChangeListener >& xListener)
179cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
180cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
181cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
182cdf0e10cSrcweir 
183cdf0e10cSrcweir     // XPropertyState
184cdf0e10cSrcweir     virtual ::com::sun::star::beans::PropertyState SAL_CALL
185cdf0e10cSrcweir         getPropertyState(const ::rtl::OUString& rPropertyName)
186cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
187cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
188cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence<
189cdf0e10cSrcweir             ::com::sun::star::beans::PropertyState > SAL_CALL
190cdf0e10cSrcweir         getPropertyStates(
191cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence<
192cdf0e10cSrcweir                 ::rtl::OUString >& rPropertyNames)
193cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
194cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
195cdf0e10cSrcweir     virtual void SAL_CALL setPropertyToDefault(
196cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName)
197cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
198cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
199cdf0e10cSrcweir     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault(
200cdf0e10cSrcweir             const ::rtl::OUString& rPropertyName)
201cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
202cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
203cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
204cdf0e10cSrcweir 
205cdf0e10cSrcweir     // XMultiPropertyStates
206cdf0e10cSrcweir     virtual void SAL_CALL setAllPropertiesToDefault()
207cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
208cdf0e10cSrcweir     virtual void SAL_CALL setPropertiesToDefault(
209cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence< ::rtl::OUString >&
210cdf0e10cSrcweir                 rPropertyNames)
211cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
212cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
213cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >
214cdf0e10cSrcweir         SAL_CALL getPropertyDefaults(
215cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence< ::rtl::OUString >&
216cdf0e10cSrcweir                 rPropertyNames)
217cdf0e10cSrcweir         throw (::com::sun::star::beans::UnknownPropertyException,
218cdf0e10cSrcweir                 ::com::sun::star::lang::WrappedTargetException,
219cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
220cdf0e10cSrcweir 
221cdf0e10cSrcweir     // XElementAccess
222cdf0e10cSrcweir     virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
223cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
224cdf0e10cSrcweir     virtual sal_Bool SAL_CALL hasElements()
225cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
226cdf0e10cSrcweir 
227cdf0e10cSrcweir     // XEnumerationAccess
228cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference<
229cdf0e10cSrcweir             ::com::sun::star::container::XEnumeration >  SAL_CALL
230cdf0e10cSrcweir         createEnumeration()
231cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
232cdf0e10cSrcweir 
233cdf0e10cSrcweir     // XContentEnumerationAccess
234cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference<
235cdf0e10cSrcweir                 ::com::sun::star::container::XEnumeration > SAL_CALL
236cdf0e10cSrcweir         createContentEnumeration(const ::rtl::OUString& rServiceName)
237cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
238cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
239cdf0e10cSrcweir         getAvailableServiceNames()
240cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
241cdf0e10cSrcweir 
242cdf0e10cSrcweir     // XSortable
243cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence<
244cdf0e10cSrcweir                 ::com::sun::star::beans::PropertyValue > SAL_CALL
245cdf0e10cSrcweir         createSortDescriptor()
246cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
247cdf0e10cSrcweir     virtual void SAL_CALL sort(
248cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence<
249cdf0e10cSrcweir                 ::com::sun::star::beans::PropertyValue >& xDescriptor)
250cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
251cdf0e10cSrcweir 
252cdf0e10cSrcweir     // XDocumentInsertable
253cdf0e10cSrcweir     virtual void SAL_CALL insertDocumentFromURL(
254cdf0e10cSrcweir             const ::rtl::OUString& rURL,
255cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence<
256cdf0e10cSrcweir                 ::com::sun::star::beans::PropertyValue >& rOptions)
257cdf0e10cSrcweir         throw (::com::sun::star::lang::IllegalArgumentException,
258cdf0e10cSrcweir                 ::com::sun::star::io::IOException,
259cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
260cdf0e10cSrcweir 
261cdf0e10cSrcweir     // XTextRange
262cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText >
263cdf0e10cSrcweir         SAL_CALL getText()
264cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
265cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference<
266cdf0e10cSrcweir                 ::com::sun::star::text::XTextRange > SAL_CALL getStart()
267cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
268cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference<
269cdf0e10cSrcweir                 ::com::sun::star::text::XTextRange > SAL_CALL getEnd()
270cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
271cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getString()
272cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
273cdf0e10cSrcweir     virtual void SAL_CALL setString(const ::rtl::OUString& rString)
274cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
275cdf0e10cSrcweir 
276cdf0e10cSrcweir     // XTextCursor
277cdf0e10cSrcweir     virtual void SAL_CALL collapseToStart()
278cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
279cdf0e10cSrcweir     virtual void SAL_CALL collapseToEnd()
280cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
281cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isCollapsed()
282cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
283cdf0e10cSrcweir     virtual sal_Bool SAL_CALL goLeft(sal_Int16 nCount, sal_Bool bExpand)
284cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
285cdf0e10cSrcweir     virtual sal_Bool SAL_CALL goRight(sal_Int16 nCount, sal_Bool bExpand)
286cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
287cdf0e10cSrcweir     virtual void SAL_CALL gotoStart(sal_Bool bExpand)
288cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
289cdf0e10cSrcweir     virtual void SAL_CALL gotoEnd(sal_Bool bExpand)
290cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
291cdf0e10cSrcweir     virtual void SAL_CALL gotoRange(
292cdf0e10cSrcweir             const ::com::sun::star::uno::Reference<
293cdf0e10cSrcweir                 ::com::sun::star::text::XTextRange >& xRange,
294cdf0e10cSrcweir             sal_Bool bExpand)
295cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
296cdf0e10cSrcweir 
297cdf0e10cSrcweir     // XWordCursor
298cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isStartOfWord()
299cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
300cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isEndOfWord()
301cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
302cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoNextWord(sal_Bool bExpand)
303cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
304cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoPreviousWord(sal_Bool bExpand)
305cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
306cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoEndOfWord(sal_Bool bExpand)
307cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
308cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoStartOfWord(sal_Bool bExpand)
309cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
310cdf0e10cSrcweir 
311cdf0e10cSrcweir     // XSentenceCursor
312cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isStartOfSentence()
313cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
314cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isEndOfSentence()
315cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
316cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoNextSentence(sal_Bool Expand)
317cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
318cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoPreviousSentence(sal_Bool Expand)
319cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
320cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoStartOfSentence(sal_Bool Expand)
321cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
322cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoEndOfSentence(sal_Bool Expand)
323cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
324cdf0e10cSrcweir 
325cdf0e10cSrcweir     // XParagraphCursor
326cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isStartOfParagraph()
327cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
328cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isEndOfParagraph()
329cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
330cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoStartOfParagraph(sal_Bool Expand)
331cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
332cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoEndOfParagraph(sal_Bool Expand)
333cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
334cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoNextParagraph(sal_Bool Expand)
335cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
336cdf0e10cSrcweir     virtual sal_Bool SAL_CALL gotoPreviousParagraph(sal_Bool Expand)
337cdf0e10cSrcweir         throw (::com::sun::star::uno::RuntimeException);
338cdf0e10cSrcweir 
339cdf0e10cSrcweir     // XRedline
340cdf0e10cSrcweir     virtual void SAL_CALL makeRedline(
341cdf0e10cSrcweir             const ::rtl::OUString& rRedlineType,
342cdf0e10cSrcweir             const ::com::sun::star::uno::Sequence<
343cdf0e10cSrcweir                 ::com::sun::star::beans::PropertyValue >& RedlineProperties)
344cdf0e10cSrcweir         throw (::com::sun::star::lang::IllegalArgumentException,
345cdf0e10cSrcweir                 ::com::sun::star::uno::RuntimeException);
346cdf0e10cSrcweir 
347*fe77a1f4SJürgen Schmidt     //XMarkingAccess
348*fe77a1f4SJürgen Schmidt     virtual void SAL_CALL invalidateMarkings(::sal_Int32 nType)
349*fe77a1f4SJürgen Schmidt 	throw (::com::sun::star::uno::RuntimeException);
350*fe77a1f4SJürgen Schmidt 
351cdf0e10cSrcweir };
352cdf0e10cSrcweir 
353cdf0e10cSrcweir #endif // SW_UNOTEXTCURSOR_HXX
354cdf0e10cSrcweir 
355