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>
42#include <svl/itemprop.hxx>
43#include <TextCursorHelper.hxx>
44#include <comphelper/uno3.hxx>
45
46#include <sfx2/objsh.hxx>
47
48class SdrObject;
49class SwView;
50
51class 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,
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;
78public:
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
152typedef 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
170public:
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: */
Definition: doc.hxx:194
PaM is Point and Mark: a selection of the document model.
Definition: pam.hxx:187
Definition: view.hxx:146
virtual sal_Bool SAL_CALL jumpToNextPage() override
Definition: unotxvw.cxx:1256
virtual sal_Bool SAL_CALL jumpToFirstPage() override
Definition: unotxvw.cxx:1205
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxvw.cxx:1468
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:1517
virtual void SAL_CALL collapseToEnd() override
Definition: unotxvw.cxx:977
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxvw.cxx:1492
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unotxvw.cxx:1699
SwView * m_pView
Definition: unotxvw.hxx:165
virtual css::awt::Point SAL_CALL getPosition() override
Definition: unotxvw.cxx:932
virtual sal_Bool SAL_CALL isCollapsed() override
Definition: unotxvw.cxx:999
virtual ~SwXTextViewCursor() override
Definition: unotxvw.cxx:892
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxvw.cxx:1507
virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override
Definition: unotxvw.cxx:1645
const SfxItemPropertySet * m_pPropSet
Definition: unotxvw.hxx:166
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxvw.cxx:1512
SwXTextViewCursor(SwView *pVw)
Definition: unotxvw.cxx:886
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:1522
bool IsTextSelection(bool bAllowTables=true) const
Definition: unotxvw.cxx:904
virtual const SwDoc * GetDoc() const override
Definition: unotxvw.cxx:1707
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override
Definition: unotxvw.cxx:1366
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unotxvw.cxx:1692
virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1599
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
Definition: unotxvw.cxx:1542
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxvw.cxx:1474
virtual sal_Bool SAL_CALL isAtEndOfLine() override
Definition: unotxvw.cxx:1630
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
Definition: unotxvw.cxx:1348
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxvw.cxx:1671
virtual sal_Bool SAL_CALL goRight(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1031
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxvw.cxx:1681
virtual sal_Bool SAL_CALL isVisible() override
Definition: unotxvw.cxx:921
virtual OUString SAL_CALL getString() override
Definition: unotxvw.cxx:1402
virtual void SAL_CALL collapseToStart() override
Definition: unotxvw.cxx:955
virtual void SAL_CALL gotoStart(sal_Bool bExpand) override
Definition: unotxvw.cxx:1177
virtual sal_Bool SAL_CALL jumpToStartOfPage() override
Definition: unotxvw.cxx:1292
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxvw.cxx:1676
virtual sal_Int16 SAL_CALL getPage() override
Definition: unotxvw.cxx:1304
virtual sal_Bool SAL_CALL screenDown() override
Definition: unotxvw.cxx:1318
virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override
Definition: unotxvw.cxx:1658
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
Definition: unotxvw.cxx:1557
virtual sal_Bool SAL_CALL jumpToLastPage() override
Definition: unotxvw.cxx:1224
virtual void SAL_CALL setString(const OUString &aString) override
Definition: unotxvw.cxx:1438
virtual sal_Bool SAL_CALL isAtStartOfLine() override
Definition: unotxvw.cxx:1615
virtual sal_Bool SAL_CALL goLeft(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1016
virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override
Definition: unotxvw.cxx:1583
virtual void SAL_CALL setVisible(sal_Bool bVisible) override
Definition: unotxvw.cxx:927
virtual sal_Bool SAL_CALL jumpToEndOfPage() override
Definition: unotxvw.cxx:1280
virtual sal_Bool SAL_CALL jumpToPreviousPage() override
Definition: unotxvw.cxx:1268
virtual sal_Bool SAL_CALL screenUp() override
Definition: unotxvw.cxx:1333
virtual const SwPaM * GetPaM() const override
Definition: unotxvw.cxx:1719
virtual void SAL_CALL gotoRange(const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) override
Definition: unotxvw.cxx:1047
virtual void SAL_CALL gotoEnd(sal_Bool bExpand) override
Definition: unotxvw.cxx:1191
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override
Definition: unotxvw.cxx:1384
virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override
Definition: unotxvw.cxx:1244
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
Definition: unotxvw.cxx:1527
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
Definition: unotxvw.cxx:1569
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
Definition: unotxvw.cxx:1778
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
Definition: unotxvw.cxx:161
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override
Definition: unotxvw.cxx:562
css::uno::Reference< css::beans::XPropertySet > mxViewSettings
Definition: unotxvw.hxx:70
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:857
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferableForTextRange(css::uno::Reference< css::text::XTextRange > const &xTextRange) override
Definition: unotxvw.cxx:1732
virtual ~SwXTextView() override
Definition: unotxvw.cxx:96
virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override
Definition: unotxvw.cxx:512
virtual void SAL_CALL setRubyList(const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &RubyList, sal_Bool bAutomatic) override
Definition: unotxvw.cxx:622
SwView * GetView()
Definition: unotxvw.hxx:145
virtual css::uno::Any SAL_CALL getSelection() override
Definition: unotxvw.cxx:351
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &Model) override
Definition: unotxvw.cxx:471
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: unotxvw.cxx:447
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList(sal_Bool bAutomatic) override
Definition: unotxvw.cxx:576
virtual void SAL_CALL release() noexcept override
Definition: unotxvw.cxx:156
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unotxvw.cxx:843
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: unotxvw.cxx:440
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unotxvw.cxx:755
void NotifyDBChanged()
Definition: unotxvw.cxx:741
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: unotxvw.cxx:129
SfxObjectShellLock BuildTmpSelectionDoc()
Definition: unotxvw.cxx:694
virtual sal_Bool SAL_CALL isFormDesignMode() override
Definition: unotxvw.cxx:495
virtual void SAL_CALL acquire() noexcept override
Definition: unotxvw.cxx:151
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unotxvw.cxx:876
void NotifySelChanged()
Definition: unotxvw.cxx:729
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: unotxvw.cxx:146
SdrObject * GetControl(const css::uno::Reference< css::awt::XControlModel > &Model, css::uno::Reference< css::awt::XControl > &xToFill)
Definition: unotxvw.cxx:454
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unotxvw.cxx:881
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
Definition: unotxvw.cxx:1754
SwView * m_pView
Definition: unotxvw.hxx:66
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unotxvw.cxx:850
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
Definition: unotxvw.hxx:71
::comphelper::OInterfaceContainerHelper3< css::view::XSelectionChangeListener > m_SelChangedListeners
Definition: unotxvw.hxx:64
virtual OUString SAL_CALL getImplementationName() override
Definition: unotxvw.cxx:871
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unotxvw.cxx:864
virtual sal_Bool SAL_CALL select(const css::uno::Any &rInterface) override
Definition: unotxvw.cxx:224
SwXTextView(SwView *pSwView)
Definition: unotxvw.cxx:87
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
Definition: unotxvw.cxx:479
void Invalidate()
Definition: unotxvw.cxx:101
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unotxvw.cxx:762
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unotxvw.cxx:796
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
Definition: unotxvw.cxx:503
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL createTextRangeByPixelPosition(const css::awt::Point &rPixelPosition) override
Definition: unotxvw.cxx:527
const SfxItemPropertySet * m_pPropSet
Definition: unotxvw.hxx:67
Type
unsigned char sal_Bool
signed char sal_Int8
#define DECLARE_XINTERFACE()
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