LibreOffice Module sw (master)  1
unotxvw.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_UNOTXVW_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_INC_UNOTXVW_HXX
21 
24 #include <com/sun/star/text/XTextViewCursor.hpp>
25 #include <com/sun/star/text/XTextViewCursorSupplier.hpp>
26 #include <com/sun/star/text/XRubySelection.hpp>
27 #include <com/sun/star/view/XFormLayerAccess.hpp>
28 #include <com/sun/star/view/XScreenCursor.hpp>
29 #include <com/sun/star/view/XViewSettingsSupplier.hpp>
30 #include <com/sun/star/view/XSelectionSupplier.hpp>
31 #include <com/sun/star/view/XLineCursor.hpp>
32 #include <com/sun/star/view/XViewCursor.hpp>
33 #include <com/sun/star/text/XPageCursor.hpp>
34 #include <com/sun/star/beans/XPropertySet.hpp>
35 #include <com/sun/star/beans/XPropertySetInfo.hpp>
36 #include <com/sun/star/beans/XPropertyState.hpp>
37 #include <com/sun/star/lang/XServiceInfo.hpp>
38 #include <com/sun/star/datatransfer/XTransferableSupplier.hpp>
39 #include <cppuhelper/implbase.hxx>
40 #include <svl/itemprop.hxx>
41 #include <calbck.hxx>
42 #include <TextCursorHelper.hxx>
43 #include <comphelper/uno3.hxx>
44 
45 #include <sfx2/objsh.hxx>
46 
47 class SdrObject;
48 class SwView;
49 
50 class SwXTextView :
51  public css::view::XSelectionSupplier,
52  public css::lang::XServiceInfo,
53  public css::view::XFormLayerAccess,
54  public css::text::XTextViewCursorSupplier,
55  public css::text::XRubySelection,
56  public css::view::XViewSettingsSupplier,
57  public css::beans::XPropertySet,
58  public css::datatransfer::XTransferableSupplier,
59  public SfxBaseController
60 {
62 
64  const SfxItemPropertySet* m_pPropSet; // property map for SwXTextView properties
65  // (not related to mxViewSettings!)
66 
67  css::uno::Reference< css::beans::XPropertySet > mxViewSettings;
68  css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor;
69 
71  const css::uno::Reference< css::awt::XControlModel > & Model,
72  css::uno::Reference< css::awt::XControl >& xToFill );
73 
74 protected:
75  virtual ~SwXTextView() override;
76 public:
77  SwXTextView(SwView* pSwView);
78 
79  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
80  virtual void SAL_CALL acquire( ) throw() override;
81  virtual void SAL_CALL release( ) throw() override;
82 
83  //XTypeProvider
84  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
85  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
86 
87  //XSelectionSupplier
88  virtual css::uno::Any SAL_CALL getSelection() override;
89  virtual sal_Bool SAL_CALL select(const css::uno::Any& rInterface) override;
90  virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > & xListener) override;
91  virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > & xListener) override;
92 
93  // XFormLayerAccess
94  virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController( const css::uno::Reference< css::form::XForm >& Form ) override;
95  virtual sal_Bool SAL_CALL isFormDesignMode( ) override;
96  virtual void SAL_CALL setFormDesignMode( sal_Bool DesignMode ) override;
97 
98  // XControlAccess
99  virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > & Model) override;
100 
101  //XTextViewCursorSupplier
102  virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override;
103 
104  //XViewSettings
105  virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override;
106 
107  //XRubySelection
108  virtual css::uno::Sequence<
109  css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList( sal_Bool bAutomatic ) override;
110 
111  virtual void SAL_CALL setRubyList(
112  const css::uno::Sequence<
113  css::uno::Sequence< css::beans::PropertyValue > >& RubyList, sal_Bool bAutomatic ) override;
114 
115  //XPropertySet
116  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
117  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
118  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
119  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
120  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
121  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
122  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
123 
124  //XServiceInfo
125  virtual OUString SAL_CALL getImplementationName() override;
126  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
127  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
128 
129  //XTransferableSupplier
130  virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable( ) override;
131  virtual void SAL_CALL insertTransferable( const css::uno::Reference< css::datatransfer::XTransferable >& xTrans ) override;
132 
133  void NotifySelChanged();
134  void NotifyDBChanged();
135 
136  SwView* GetView() {return m_pView;}
137  void Invalidate();
138 
139  // temporary document used for PDF export of selections/multi-selections
141 };
142 
143 typedef cppu::WeakImplHelper<
144  css::text::XTextViewCursor,
145  css::lang::XServiceInfo,
146  css::text::XPageCursor,
147  css::view::XScreenCursor,
148  css::view::XViewCursor,
149  css::view::XLineCursor,
150  css::beans::XPropertySet,
151  css::beans::XPropertyState
153 
155  public SwClient,
156  public OTextCursorHelper
157 {
160  bool IsTextSelection( bool bAllowTables = true ) const;
161  virtual ~SwXTextViewCursor() override;
162 
163 public:
165 
167 
168  //XTextViewCursor
169  virtual sal_Bool SAL_CALL isVisible() override;
170  virtual void SAL_CALL setVisible(sal_Bool bVisible) override;
171  virtual css::awt::Point SAL_CALL getPosition() override;
172 
173  //XTextCursor - new
174  virtual void SAL_CALL collapseToStart() override;
175  virtual void SAL_CALL collapseToEnd() override;
176  virtual sal_Bool SAL_CALL isCollapsed() override;
177  virtual sal_Bool SAL_CALL goLeft( sal_Int16 nCount, sal_Bool bExpand ) override;
178  virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, sal_Bool bExpand ) override;
179  virtual void SAL_CALL gotoStart( sal_Bool bExpand ) override;
180  virtual void SAL_CALL gotoEnd( sal_Bool bExpand ) override;
181  virtual void SAL_CALL gotoRange( const css::uno::Reference< css::text::XTextRange >& xRange, sal_Bool bExpand ) override;
182 
183  //XPageCursor
184  virtual sal_Bool SAL_CALL jumpToFirstPage() override;
185  virtual sal_Bool SAL_CALL jumpToLastPage() override;
186  virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override;
187  virtual sal_Bool SAL_CALL jumpToNextPage() override;
188  virtual sal_Bool SAL_CALL jumpToPreviousPage() override;
189  virtual sal_Bool SAL_CALL jumpToEndOfPage() override;
190  virtual sal_Bool SAL_CALL jumpToStartOfPage() override;
191  virtual sal_Int16 SAL_CALL getPage() override;
192 
193  //XTextRange
194  virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
195  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override;
196  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override;
197  virtual OUString SAL_CALL getString() override;
198  virtual void SAL_CALL setString(const OUString& aString) override;
199 
200  //XScreenCursor
201  virtual sal_Bool SAL_CALL screenDown() override;
202  virtual sal_Bool SAL_CALL screenUp() override;
203 
204  //XViewCursor
205  virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override;
206  virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) override;
207 
208  //XLineCursor
209  virtual sal_Bool SAL_CALL isAtStartOfLine() override;
210  virtual sal_Bool SAL_CALL isAtEndOfLine() override;
211  virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override;
212  virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override;
213 
214  //XPropertySet
215  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
216  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
217  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
218  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
219  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
220  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
221  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
222 
223  //XPropertyState
224  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
225  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
226  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
227  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
228 
229  //XServiceInfo
230  virtual OUString SAL_CALL getImplementationName() override;
231  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
232  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
233 
234  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
235 
236  //XUnoTunnel
237  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
238 
239  void Invalidate(){m_pView = nullptr;}
240 
241  // ITextCursorHelper
242  virtual const SwPaM* GetPaM() const override;
243  virtual SwPaM* GetPaM() override;
244  virtual const SwDoc* GetDoc() const override;
245  virtual SwDoc* GetDoc() override;
246 };
247 
248 #endif
249 
250 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unotxvw.cxx:151
Type
virtual sal_Bool SAL_CALL screenUp() override
Definition: unotxvw.cxx:1314
virtual void SAL_CALL collapseToEnd() override
Definition: unotxvw.cxx:948
bool IsTextSelection(bool bAllowTables=true) const
Definition: unotxvw.cxx:875
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:831
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxvw.cxx:1455
virtual void SAL_CALL gotoEnd(sal_Bool bExpand) override
Definition: unotxvw.cxx:1172
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxvw.cxx:838
virtual void SAL_CALL setVisible(sal_Bool bVisible) override
Definition: unotxvw.cxx:898
signed char sal_Int8
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
Definition: unotxvw.cxx:1724
css::uno::Reference< css::beans::XPropertySet > mxViewSettings
Definition: unotxvw.hxx:67
virtual const SwPaM * GetPaM() const override
Definition: unotxvw.cxx:1712
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxvw.cxx:1473
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override
Definition: unotxvw.cxx:519
SwView * m_pView
Definition: unotxvw.hxx:63
Definition: doc.hxx:185
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:824
virtual OUString SAL_CALL getString() override
Definition: unotxvw.cxx:1383
virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override
Definition: unotxvw.cxx:1626
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unotxvw.cxx:1687
virtual void SAL_CALL setRubyList(const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &RubyList, sal_Bool bAutomatic) override
Definition: unotxvw.cxx:579
const SfxItemPropertySet * m_pPropSet
Definition: unotxvw.hxx:64
virtual sal_Bool SAL_CALL isFormDesignMode() override
Definition: unotxvw.cxx:488
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxvw.cxx:722
virtual sal_Bool SAL_CALL screenDown() override
Definition: unotxvw.cxx:1299
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override
Definition: unotxvw.cxx:1347
virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1580
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unotxvw.cxx:1508
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxvw.cxx:1662
SwView * GetView()
Definition: unotxvw.hxx:136
virtual sal_Bool SAL_CALL goLeft(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:987
virtual sal_Bool SAL_CALL isCollapsed() override
Definition: unotxvw.cxx:970
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxvw.cxx:810
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unotxvw.cxx:136
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxvw.cxx:1449
virtual css::uno::Any SAL_CALL getSelection() override
Definition: unotxvw.cxx:343
virtual sal_Bool SAL_CALL jumpToLastPage() override
Definition: unotxvw.cxx:1205
virtual sal_Bool SAL_CALL jumpToPreviousPage() override
Definition: unotxvw.cxx:1249
virtual ~SwXTextViewCursor() override
Definition: unotxvw.cxx:863
virtual sal_Bool SAL_CALL jumpToFirstPage() override
Definition: unotxvw.cxx:1186
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxvw.cxx:763
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: unotxvw.cxx:433
virtual void SAL_CALL gotoStart(sal_Bool bExpand) override
Definition: unotxvw.cxx:1158
PaM is Point and Mark: a selection of the document model.
Definition: pam.hxx:136
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unotxvw.cxx:1550
virtual void SAL_CALL collapseToStart() override
Definition: unotxvw.cxx:926
SwXTextView(SwView *pSwView)
Definition: unotxvw.cxx:92
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unotxvw.cxx:1538
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxvw.cxx:1657
virtual sal_Bool SAL_CALL isAtStartOfLine() override
Definition: unotxvw.cxx:1596
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unotxvw.cxx:1681
SwView * m_pView
Definition: unotxvw.hxx:158
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: unotxvw.cxx:440
SwXTextViewCursor(SwView *pVw)
Definition: unotxvw.cxx:857
unsigned char sal_Bool
virtual sal_Bool SAL_CALL isVisible() override
Definition: unotxvw.cxx:892
virtual void SAL_CALL acquire() override
Definition: unotxvw.cxx:156
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:1503
virtual sal_Bool SAL_CALL jumpToStartOfPage() override
Definition: unotxvw.cxx:1273
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxvw.cxx:1652
void NotifySelChanged()
Definition: unotxvw.cxx:686
const SfxItemPropertySet * m_pPropSet
Definition: unotxvw.hxx:159
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unotxvw.cxx:903
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:1498
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &Model) override
Definition: unotxvw.cxx:464
virtual sal_Bool SAL_CALL goRight(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1002
void Invalidate()
Definition: unotxvw.cxx:108
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxvw.cxx:1493
::comphelper::OInterfaceContainerHelper2 m_SelChangedListeners
Definition: unotxvw.hxx:61
virtual sal_Int16 SAL_CALL getPage() override
Definition: unotxvw.cxx:1285
virtual sal_Bool SAL_CALL select(const css::uno::Any &rInterface) override
Definition: unotxvw.cxx:219
virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override
Definition: unotxvw.cxx:1639
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
Definition: unotxvw.cxx:472
virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override
Definition: unotxvw.cxx:1225
virtual void SAL_CALL setString(const OUString &aString) override
Definition: unotxvw.cxx:1419
virtual sal_Bool SAL_CALL jumpToEndOfPage() override
Definition: unotxvw.cxx:1261
virtual void SAL_CALL release() override
Definition: unotxvw.cxx:161
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxvw.cxx:843
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxvw.cxx:817
virtual const SwDoc * GetDoc() const override
Definition: unotxvw.cxx:1700
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
Definition: unotxvw.cxx:496
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxvw.cxx:1488
void NotifyDBChanged()
Definition: unotxvw.cxx:713
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
Definition: unotxvw.cxx:1748
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList(sal_Bool bAutomatic) override
Definition: unotxvw.cxx:533
virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1564
SfxObjectShellLock BuildTmpSelectionDoc()
Definition: unotxvw.cxx:651
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override
Definition: unotxvw.cxx:1365
virtual void SAL_CALL gotoRange(const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) override
Definition: unotxvw.cxx:1018
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxvw.cxx:848
SdrObject * GetControl(const css::uno::Reference< css::awt::XControlModel > &Model, css::uno::Reference< css::awt::XControl > &xToFill)
Definition: unotxvw.cxx:447
cppu::WeakImplHelper< css::text::XTextViewCursor, css::lang::XServiceInfo, css::text::XPageCursor, css::view::XScreenCursor, css::view::XViewCursor, css::view::XLineCursor, css::beans::XPropertySet, css::beans::XPropertyState > SwXTextViewCursor_Base
Definition: unotxvw.hxx:152
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unotxvw.cxx:166
virtual sal_Bool SAL_CALL isAtEndOfLine() override
Definition: unotxvw.cxx:1611
virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override
Definition: unotxvw.cxx:505
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
Definition: unotxvw.cxx:1329
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
Definition: unotxvw.hxx:68
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unotxvw.cxx:1523
virtual ~SwXTextView() override
Definition: unotxvw.cxx:103
virtual sal_Bool SAL_CALL jumpToNextPage() override
Definition: unotxvw.cxx:1237
Definition: view.hxx:146
#define DECLARE_XINTERFACE()
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxvw.cxx:729