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/XTextViewTextRangeSupplier.hpp>
27 #include <com/sun/star/text/XRubySelection.hpp>
28 #include <com/sun/star/view/XFormLayerAccess.hpp>
29 #include <com/sun/star/view/XScreenCursor.hpp>
30 #include <com/sun/star/view/XViewSettingsSupplier.hpp>
31 #include <com/sun/star/view/XSelectionSupplier.hpp>
32 #include <com/sun/star/view/XLineCursor.hpp>
33 #include <com/sun/star/view/XViewCursor.hpp>
34 #include <com/sun/star/text/XPageCursor.hpp>
35 #include <com/sun/star/beans/XPropertySet.hpp>
36 #include <com/sun/star/beans/XPropertySetInfo.hpp>
37 #include <com/sun/star/beans/XPropertyState.hpp>
38 #include <com/sun/star/lang/XServiceInfo.hpp>
39 #include <com/sun/star/datatransfer/XTransferableSupplier.hpp>
40 #include <com/sun/star/datatransfer/XTransferableTextSupplier.hpp>
41 #include <cppuhelper/implbase.hxx>
42 #include <svl/itemprop.hxx>
43 #include <TextCursorHelper.hxx>
44 #include <comphelper/uno3.hxx>
45 
46 #include <sfx2/objsh.hxx>
47 
48 class SdrObject;
49 class SwView;
50 
51 class SwXTextView final :
52  public css::view::XSelectionSupplier,
53  public css::lang::XServiceInfo,
54  public css::view::XFormLayerAccess,
55  public css::text::XTextViewCursorSupplier,
56  public css::text::XTextViewTextRangeSupplier,
57  public css::text::XRubySelection,
58  public css::view::XViewSettingsSupplier,
59  public css::beans::XPropertySet,
60  public css::datatransfer::XTransferableSupplier,
61  public css::datatransfer::XTransferableTextSupplier,
62  public SfxBaseController
63 {
65 
67  const SfxItemPropertySet* m_pPropSet; // property map for SwXTextView properties
68  // (not related to mxViewSettings!)
69 
70  css::uno::Reference< css::beans::XPropertySet > mxViewSettings;
71  css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor;
72 
74  const css::uno::Reference< css::awt::XControlModel > & Model,
75  css::uno::Reference< css::awt::XControl >& xToFill );
76 
77  virtual ~SwXTextView() override;
78 public:
79  SwXTextView(SwView* pSwView);
80 
81  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
82  virtual void SAL_CALL acquire( ) noexcept override;
83  virtual void SAL_CALL release( ) noexcept override;
84 
85  //XTypeProvider
86  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
87  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
88 
89  //XSelectionSupplier
90  virtual css::uno::Any SAL_CALL getSelection() override;
91  virtual sal_Bool SAL_CALL select(const css::uno::Any& rInterface) override;
92  virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > & xListener) override;
93  virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > & xListener) override;
94 
95  // XFormLayerAccess
96  virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController( const css::uno::Reference< css::form::XForm >& Form ) override;
97  virtual sal_Bool SAL_CALL isFormDesignMode( ) override;
98  virtual void SAL_CALL setFormDesignMode( sal_Bool DesignMode ) override;
99 
100  // XControlAccess
101  virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > & Model) override;
102 
103  //XTextViewCursorSupplier
104  virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override;
105 
106  // XTextViewTextRangeSupplier
107  virtual css::uno::Reference<css::text::XTextRange>
108  SAL_CALL createTextRangeByPixelPosition(const css::awt::Point& rPixelPosition) override;
109 
110  //XViewSettings
111  virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override;
112 
113  //XRubySelection
114  virtual css::uno::Sequence<
115  css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList( sal_Bool bAutomatic ) override;
116 
117  virtual void SAL_CALL setRubyList(
118  const css::uno::Sequence<
119  css::uno::Sequence< css::beans::PropertyValue > >& RubyList, sal_Bool bAutomatic ) override;
120 
121  //XPropertySet
122  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
123  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
124  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
125  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
126  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
127  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
128  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
129 
130  //XServiceInfo
131  virtual OUString SAL_CALL getImplementationName() override;
132  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
133  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
134 
135  //XTransferableSupplier
136  virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable( ) override;
137  virtual void SAL_CALL insertTransferable( const css::uno::Reference< css::datatransfer::XTransferable >& xTrans ) override;
138 
139  // XTransferableTextSupplier
140  virtual css::uno::Reference<css::datatransfer::XTransferable> SAL_CALL getTransferableForTextRange(css::uno::Reference<css::text::XTextRange> const& xTextRange) override;
141 
142  void NotifySelChanged();
143  void NotifyDBChanged();
144 
145  SwView* GetView() {return m_pView;}
146  void Invalidate();
147 
148  // temporary document used for PDF export of selections/multi-selections
150 };
151 
152 typedef cppu::WeakImplHelper<
153  css::text::XTextViewCursor,
154  css::lang::XServiceInfo,
155  css::text::XPageCursor,
156  css::view::XScreenCursor,
157  css::view::XViewCursor,
158  css::view::XLineCursor,
159  css::beans::XPropertySet,
160  css::beans::XPropertyState
162 
164 {
167  bool IsTextSelection( bool bAllowTables = true ) const;
168  virtual ~SwXTextViewCursor() override;
169 
170 public:
172 
174 
175  //XTextViewCursor
176  virtual sal_Bool SAL_CALL isVisible() override;
177  virtual void SAL_CALL setVisible(sal_Bool bVisible) override;
178  virtual css::awt::Point SAL_CALL getPosition() override;
179 
180  //XTextCursor - new
181  virtual void SAL_CALL collapseToStart() override;
182  virtual void SAL_CALL collapseToEnd() override;
183  virtual sal_Bool SAL_CALL isCollapsed() override;
184  virtual sal_Bool SAL_CALL goLeft( sal_Int16 nCount, sal_Bool bExpand ) override;
185  virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, sal_Bool bExpand ) override;
186  virtual void SAL_CALL gotoStart( sal_Bool bExpand ) override;
187  virtual void SAL_CALL gotoEnd( sal_Bool bExpand ) override;
188  virtual void SAL_CALL gotoRange( const css::uno::Reference< css::text::XTextRange >& xRange, sal_Bool bExpand ) override;
189 
190  //XPageCursor
191  virtual sal_Bool SAL_CALL jumpToFirstPage() override;
192  virtual sal_Bool SAL_CALL jumpToLastPage() override;
193  virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override;
194  virtual sal_Bool SAL_CALL jumpToNextPage() override;
195  virtual sal_Bool SAL_CALL jumpToPreviousPage() override;
196  virtual sal_Bool SAL_CALL jumpToEndOfPage() override;
197  virtual sal_Bool SAL_CALL jumpToStartOfPage() override;
198  virtual sal_Int16 SAL_CALL getPage() override;
199 
200  //XTextRange
201  virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override;
202  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override;
203  virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override;
204  virtual OUString SAL_CALL getString() override;
205  virtual void SAL_CALL setString(const OUString& aString) override;
206 
207  //XScreenCursor
208  virtual sal_Bool SAL_CALL screenDown() override;
209  virtual sal_Bool SAL_CALL screenUp() override;
210 
211  //XViewCursor
212  virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override;
213  virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) override;
214 
215  //XLineCursor
216  virtual sal_Bool SAL_CALL isAtStartOfLine() override;
217  virtual sal_Bool SAL_CALL isAtEndOfLine() override;
218  virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override;
219  virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override;
220 
221  //XPropertySet
222  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
223  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
224  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
225  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
226  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
227  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
228  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
229 
230  //XPropertyState
231  virtual css::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) override;
232  virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( const css::uno::Sequence< OUString >& aPropertyName ) override;
233  virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) override;
234  virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
235 
236  //XServiceInfo
237  virtual OUString SAL_CALL getImplementationName() override;
238  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
239  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
240 
241  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
242 
243  //XUnoTunnel
244  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
245 
246  void Invalidate(){m_pView = nullptr;}
247 
248  // ITextCursorHelper
249  virtual const SwPaM* GetPaM() const override;
250  virtual SwPaM* GetPaM() override;
251  virtual const SwDoc* GetDoc() const override;
252  virtual SwDoc* GetDoc() override;
253 };
254 
255 #endif
256 
257 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unotxvw.cxx:146
Type
virtual sal_Bool SAL_CALL screenUp() override
Definition: unotxvw.cxx:1324
virtual void SAL_CALL collapseToEnd() override
Definition: unotxvw.cxx:967
bool IsTextSelection(bool bAllowTables=true) const
Definition: unotxvw.cxx:894
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:854
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxvw.cxx:1465
virtual void SAL_CALL gotoEnd(sal_Bool bExpand) override
Definition: unotxvw.cxx:1182
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxvw.cxx:861
virtual void SAL_CALL setVisible(sal_Bool bVisible) override
Definition: unotxvw.cxx:917
signed char sal_Int8
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
Definition: unotxvw.cxx:1745
css::uno::Reference< css::beans::XPropertySet > mxViewSettings
Definition: unotxvw.hxx:70
virtual const SwPaM * GetPaM() const override
Definition: unotxvw.cxx:1710
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxvw.cxx:1483
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override
Definition: unotxvw.cxx:542
SwView * m_pView
Definition: unotxvw.hxx:66
Definition: doc.hxx:188
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:847
virtual OUString SAL_CALL getString() override
Definition: unotxvw.cxx:1393
virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override
Definition: unotxvw.cxx:1636
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unotxvw.cxx:1690
virtual void SAL_CALL setRubyList(const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &RubyList, sal_Bool bAutomatic) override
Definition: unotxvw.cxx:602
const SfxItemPropertySet * m_pPropSet
Definition: unotxvw.hxx:67
virtual sal_Bool SAL_CALL isFormDesignMode() override
Definition: unotxvw.cxx:492
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxvw.cxx:745
virtual sal_Bool SAL_CALL screenDown() override
Definition: unotxvw.cxx:1309
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override
Definition: unotxvw.cxx:1357
virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1590
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unotxvw.cxx:1518
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxvw.cxx:1672
SwView * GetView()
Definition: unotxvw.hxx:145
virtual sal_Bool SAL_CALL goLeft(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1006
virtual sal_Bool SAL_CALL isCollapsed() override
Definition: unotxvw.cxx:989
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxvw.cxx:833
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unotxvw.cxx:129
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxvw.cxx:1459
virtual css::uno::Any SAL_CALL getSelection() override
Definition: unotxvw.cxx:348
virtual sal_Bool SAL_CALL jumpToLastPage() override
Definition: unotxvw.cxx:1215
virtual sal_Bool SAL_CALL jumpToPreviousPage() override
Definition: unotxvw.cxx:1259
virtual ~SwXTextViewCursor() override
Definition: unotxvw.cxx:882
virtual sal_Bool SAL_CALL jumpToFirstPage() override
Definition: unotxvw.cxx:1196
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxvw.cxx:786
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: unotxvw.cxx:437
virtual void SAL_CALL gotoStart(sal_Bool bExpand) override
Definition: unotxvw.cxx:1168
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:1560
virtual void SAL_CALL collapseToStart() override
Definition: unotxvw.cxx:945
SwXTextView(SwView *pSwView)
Definition: unotxvw.cxx:87
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unotxvw.cxx:1548
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxvw.cxx:1667
virtual void SAL_CALL acquire() noexcept override
Definition: unotxvw.cxx:151
virtual sal_Bool SAL_CALL isAtStartOfLine() override
Definition: unotxvw.cxx:1606
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unotxvw.cxx:1683
SwView * m_pView
Definition: unotxvw.hxx:165
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: unotxvw.cxx:444
SwXTextViewCursor(SwView *pVw)
Definition: unotxvw.cxx:876
unsigned char sal_Bool
virtual sal_Bool SAL_CALL isVisible() override
Definition: unotxvw.cxx:911
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:1513
virtual sal_Bool SAL_CALL jumpToStartOfPage() override
Definition: unotxvw.cxx:1283
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxvw.cxx:1662
void NotifySelChanged()
Definition: unotxvw.cxx:709
const SfxItemPropertySet * m_pPropSet
Definition: unotxvw.hxx:166
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL createTextRangeByPixelPosition(const css::awt::Point &rPixelPosition) override
Definition: unotxvw.cxx:524
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unotxvw.cxx:922
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:1508
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &Model) override
Definition: unotxvw.cxx:468
virtual sal_Bool SAL_CALL goRight(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1021
void Invalidate()
Definition: unotxvw.cxx:101
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxvw.cxx:1503
::comphelper::OInterfaceContainerHelper2 m_SelChangedListeners
Definition: unotxvw.hxx:64
virtual sal_Int16 SAL_CALL getPage() override
Definition: unotxvw.cxx:1295
virtual sal_Bool SAL_CALL select(const css::uno::Any &rInterface) override
Definition: unotxvw.cxx:224
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferableForTextRange(css::uno::Reference< css::text::XTextRange > const &xTextRange) override
Definition: unotxvw.cxx:1723
virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override
Definition: unotxvw.cxx:1649
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
Definition: unotxvw.cxx:476
virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override
Definition: unotxvw.cxx:1235
virtual void SAL_CALL setString(const OUString &aString) override
Definition: unotxvw.cxx:1429
virtual sal_Bool SAL_CALL jumpToEndOfPage() override
Definition: unotxvw.cxx:1271
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxvw.cxx:866
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxvw.cxx:840
virtual const SwDoc * GetDoc() const override
Definition: unotxvw.cxx:1698
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
Definition: unotxvw.cxx:500
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxvw.cxx:1498
void NotifyDBChanged()
Definition: unotxvw.cxx:736
virtual void SAL_CALL release() noexcept override
Definition: unotxvw.cxx:156
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
Definition: unotxvw.cxx:1769
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList(sal_Bool bAutomatic) override
Definition: unotxvw.cxx:556
virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1574
SfxObjectShellLock BuildTmpSelectionDoc()
Definition: unotxvw.cxx:674
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override
Definition: unotxvw.cxx:1375
virtual void SAL_CALL gotoRange(const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) override
Definition: unotxvw.cxx:1037
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxvw.cxx:871
SdrObject * GetControl(const css::uno::Reference< css::awt::XControlModel > &Model, css::uno::Reference< css::awt::XControl > &xToFill)
Definition: unotxvw.cxx:451
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:161
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unotxvw.cxx:161
virtual sal_Bool SAL_CALL isAtEndOfLine() override
Definition: unotxvw.cxx:1621
virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override
Definition: unotxvw.cxx:509
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
Definition: unotxvw.cxx:1339
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
Definition: unotxvw.hxx:71
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unotxvw.cxx:1533
virtual ~SwXTextView() override
Definition: unotxvw.cxx:96
virtual sal_Bool SAL_CALL jumpToNextPage() override
Definition: unotxvw.cxx:1247
Definition: view.hxx:144
#define DECLARE_XINTERFACE()
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxvw.cxx:752