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