LibreOffice Module sc (master)  1
viewuno.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 
20 #ifndef INCLUDED_SC_INC_VIEWUNO_HXX
21 #define INCLUDED_SC_INC_VIEWUNO_HXX
22 
24 #include <svl/itemprop.hxx>
25 #include <svl/lstner.hxx>
26 #include <tools/gen.hxx>
27 #include <com/sun/star/view/XFormLayerAccess.hpp>
28 #include <com/sun/star/view/XSelectionSupplier.hpp>
29 #include <com/sun/star/sheet/XCellRangeReferrer.hpp>
30 #include <com/sun/star/sheet/XViewSplitable.hpp>
31 #include <com/sun/star/sheet/XViewFreezable.hpp>
32 #include <com/sun/star/sheet/XSelectedSheetsSupplier.hpp>
33 #include <com/sun/star/sheet/XSpreadsheetView.hpp>
34 #include <com/sun/star/sheet/XEnhancedMouseClickBroadcaster.hpp>
35 #include <com/sun/star/sheet/XActivationBroadcaster.hpp>
36 #include <com/sun/star/sheet/XViewPane.hpp>
37 #include <com/sun/star/sheet/XRangeSelection.hpp>
38 #include <com/sun/star/lang/XServiceInfo.hpp>
39 #include <com/sun/star/container/XEnumerationAccess.hpp>
40 #include <com/sun/star/beans/XPropertySet.hpp>
41 #include <com/sun/star/lang/XUnoTunnel.hpp>
42 #include <com/sun/star/datatransfer/XTransferableSupplier.hpp>
44 
45 #include "types.hxx"
46 
47 namespace com::sun::star::view { class XSelectionChangeListener; }
48 
49 class ScTabViewShell;
50 class ScPreviewShell;
51 
52 #define SC_VIEWPANE_ACTIVE 0xFFFF
53 
54 // ScViewPaneBase not derived from OWeakObject
55 // to avoid duplicate OWeakObject in ScTabViewObj
56 
57 class ScViewPaneBase : public css::sheet::XViewPane,
58  public css::sheet::XCellRangeReferrer,
59  public css::view::XFormLayerAccess,
60  public css::lang::XServiceInfo,
61  public css::lang::XTypeProvider,
62  public SfxListener
63 {
64 private:
66  sal_uInt16 nPane; // ScSplitPos or SC_VIEWPANE_ACTIVE
67 
68 protected:
69  css::awt::Rectangle GetVisArea() const;
70 
71 public:
72  ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP);
73  virtual ~ScViewPaneBase() override;
74 
75  ScTabViewShell* GetViewShell() const { return pViewShell; }
76 
77  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
78 
79  virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
80 
81  // XViewPane
82  virtual sal_Int32 SAL_CALL getFirstVisibleColumn() override;
83  virtual void SAL_CALL setFirstVisibleColumn( sal_Int32 nFirstVisibleColumn ) override;
84  virtual sal_Int32 SAL_CALL getFirstVisibleRow() override;
85  virtual void SAL_CALL setFirstVisibleRow( sal_Int32 nFirstVisibleRow ) override;
86  virtual css::table::CellRangeAddress SAL_CALL getVisibleRange() override;
87 
88  // XCellRangeReferrer
89  virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
90  getReferredCells() override;
91 
92  // XFormLayerAccess
93  virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL
94  getFormController( const css::uno::Reference< css::form::XForm >& Form ) override;
95  virtual sal_Bool SAL_CALL
96  isFormDesignMode( ) override;
97  virtual void SAL_CALL setFormDesignMode( sal_Bool DesignMode ) override;
98 
99  // XControlAccess
100  virtual css::uno::Reference< css::awt::XControl > SAL_CALL
101  getControl( const css::uno::Reference< css::awt::XControlModel >& xModel ) override;
102 
103  // XServiceInfo
104  virtual OUString SAL_CALL getImplementationName() override;
105  virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
106  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
107 
108  // XTypeProvider
109  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
110  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
111 };
112 
113 // ScViewPaneObj for direct use (including OWeakObject)
114 
115 class ScViewPaneObj final : public ScViewPaneBase, public cppu::OWeakObject
116 {
117 public:
118  ScViewPaneObj(ScTabViewShell* pViewSh, sal_uInt16 nP);
119  virtual ~ScViewPaneObj() override;
120 
121  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
122  virtual void SAL_CALL acquire() throw() override;
123  virtual void SAL_CALL release() throw() override;
124 };
125 
126 // OWeakObject is base of SfxBaseController -> use ScViewPaneBase
127 
128 class ScTabViewObj final : public ScViewPaneBase,
129  public SfxBaseController,
130  public css::sheet::XSpreadsheetView,
131  public css::sheet::XEnhancedMouseClickBroadcaster,
132  public css::sheet::XActivationBroadcaster,
133  public css::container::XEnumerationAccess,
134  public css::container::XIndexAccess,
135  public css::view::XSelectionSupplier,
136  public css::beans::XPropertySet,
137  public css::sheet::XViewSplitable,
138  public css::sheet::XViewFreezable,
139  public css::sheet::XRangeSelection,
140  public css::lang::XUnoTunnel,
141  public css::datatransfer::XTransferableSupplier,
142  public css::sheet::XSelectedSheetsSupplier
143 {
144 private:
146  std::vector<css::uno::Reference<css::view::XSelectionChangeListener> >
148  std::vector<css::uno::Reference<css::sheet::XRangeSelectionListener> >
150  std::vector<css::uno::Reference<css::sheet::XRangeSelectionChangeListener> >
152  std::vector<css::uno::Reference<css::beans::XPropertyChangeListener> >
154  std::vector<css::uno::Reference<css::awt::XEnhancedMouseClickHandler> >
156  std::vector<css::uno::Reference<css::sheet::XActivationEventListener> >
161 
162  ScViewPaneObj* GetObjectByIndex_Impl(sal_uInt16 nIndex) const;
163  sal_Int16 GetZoom() const;
164  void SetZoom(sal_Int16 Zoom);
165  sal_Int16 GetZoomType() const;
166  void SetZoomType(sal_Int16 ZoomType);
167 
168  css::uno::Reference< css::uno::XInterface > GetClickedObject(const Point& rPoint) const;
169  void EndMouseListening();
170  void EndActivationListening();
172 public:
173  ScTabViewObj(ScTabViewShell* pViewSh);
174  ScTabViewObj() = delete;
175  virtual ~ScTabViewObj() override;
176 
177  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
178  virtual void SAL_CALL acquire() throw() override;
179  virtual void SAL_CALL release() throw() override;
180 
181  void SelectionChanged();
182  void VisAreaChanged();
183  // bSameTabButMoved = true if the same sheet as before is activated, used after moving/copying/inserting/deleting a sheet
184  void SheetChanged( bool bSameTabButMoved );
185  bool IsMouseListening() const;
187  bool MousePressed( const css::awt::MouseEvent& e );
189  bool MouseReleased( const css::awt::MouseEvent& e );
190 
191  void RangeSelDone( const OUString& rText );
192  void RangeSelAborted( const OUString& rText );
193  void RangeSelChanged( const OUString& rText );
194 
195  // XSelectionSupplier
196  virtual sal_Bool SAL_CALL select( const css::uno::Any& aSelection ) override;
197  virtual css::uno::Any SAL_CALL getSelection() override;
198  virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override;
199  virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override;
200 
202 
203  // XPropertySet
204  virtual css::uno::Reference< css::beans::XPropertySetInfo >
205  SAL_CALL getPropertySetInfo() override;
206  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName,
207  const css::uno::Any& aValue ) override;
208  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
209  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
210  const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
211  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName,
212  const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
213  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName,
214  const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
215  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName,
216  const css::uno::Reference<
217  css::beans::XVetoableChangeListener >& aListener ) override;
218 
219  // XEnumerationAccess
220  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
221  createEnumeration() override;
222 
223  // XIndexAccess
224  virtual sal_Int32 SAL_CALL getCount() override;
225  virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
226 
227  // XElementAccess
228  virtual css::uno::Type SAL_CALL getElementType() override;
229  virtual sal_Bool SAL_CALL hasElements() override;
230 
231  // XSpreadsheetView
232  virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL
233  getActiveSheet() override;
234  virtual void SAL_CALL setActiveSheet( const css::uno::Reference< css::sheet::XSpreadsheet >& xActiveSheet ) override;
235 
236  //XEnhancedMouseClickBroadcaster
237 
238  virtual void SAL_CALL addEnhancedMouseClickHandler( const css::uno::Reference<
239  css::awt::XEnhancedMouseClickHandler >& aListener ) override;
240  virtual void SAL_CALL removeEnhancedMouseClickHandler( const css::uno::Reference< css::awt::XEnhancedMouseClickHandler >& aListener ) override;
241 
242  //XActivationBroadcaster
243 
244  virtual void SAL_CALL addActivationEventListener( const css::uno::Reference< css::sheet::XActivationEventListener >& aListener ) override;
245  virtual void SAL_CALL removeActivationEventListener( const css::uno::Reference< css::sheet::XActivationEventListener >& aListener ) override;
246 
247  // XViewSplitable
248  virtual sal_Bool SAL_CALL getIsWindowSplit() override;
249  virtual sal_Int32 SAL_CALL getSplitHorizontal() override;
250  virtual sal_Int32 SAL_CALL getSplitVertical() override;
251  virtual sal_Int32 SAL_CALL getSplitColumn() override;
252  virtual sal_Int32 SAL_CALL getSplitRow() override;
253  virtual void SAL_CALL splitAtPosition( sal_Int32 nPixelX, sal_Int32 nPixelY ) override;
254 
255  // XViewFreezable
256  virtual sal_Bool SAL_CALL hasFrozenPanes() override;
257  virtual void SAL_CALL freezeAtPosition( sal_Int32 nColumns, sal_Int32 nRows ) override;
258 
259  // XRangeSelection
260  virtual void SAL_CALL startRangeSelection( const css::uno::Sequence< css::beans::PropertyValue >& aArguments ) override;
261  virtual void SAL_CALL abortRangeSelection() override;
262  virtual void SAL_CALL addRangeSelectionListener( const css::uno::Reference< css::sheet::XRangeSelectionListener >& aListener ) override;
263  virtual void SAL_CALL removeRangeSelectionListener( const css::uno::Reference< css::sheet::XRangeSelectionListener >& aListener ) override;
264  virtual void SAL_CALL addRangeSelectionChangeListener( const css::uno::Reference< css::sheet::XRangeSelectionChangeListener >& aListener ) override;
265  virtual void SAL_CALL removeRangeSelectionChangeListener( const css::uno::Reference< css::sheet::XRangeSelectionChangeListener >& aListener ) override;
266 
267  // XServiceInfo
268  virtual OUString SAL_CALL getImplementationName() override;
269  virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
270  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
271 
272  // XUnoTunnel
273  UNO3_GETIMPLEMENTATION_DECL(ScTabViewObj)
274 
275  // XTypeProvider
276  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
277  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
278 
279  // XTransferableSupplier
280  virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override;
281  virtual void SAL_CALL insertTransferable( const css::uno::Reference< css::datatransfer::XTransferable >& xTrans ) override;
282 
283  // XSelectedSheetsSupplier
284  virtual css::uno::Sequence<sal_Int32> SAL_CALL getSelectedSheets() override;
285 };
286 
287 class ScPreviewObj final : public SfxBaseController,
288  public SfxListener,
289  public css::sheet::XSelectedSheetsSupplier
290 {
292 public:
293  ScPreviewObj(ScPreviewShell* pViewSh);
294  virtual ~ScPreviewObj() override;
295 
296  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType) override;
297 
298  virtual void SAL_CALL acquire() throw() override;
299  virtual void SAL_CALL release() throw() override;
300 
301  virtual void Notify(SfxBroadcaster&, const SfxHint& rHint) override;
302 
303  // XSelectedSheetsSupplier
304  virtual css::uno::Sequence<sal_Int32> SAL_CALL getSelectedSheets() override;
305 };
306 
307 #endif
308 
309 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Type
ScTabViewShell * pViewShell
Definition: viewuno.hxx:65
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
Definition: viewuno.cxx:2060
bool mbLeftMousePressed
Definition: viewuno.hxx:171
std::vector< css::uno::Reference< css::beans::XPropertyChangeListener > > aPropertyChgListeners
Definition: viewuno.hxx:153
virtual void SAL_CALL removeRangeSelectionListener(const css::uno::Reference< css::sheet::XRangeSelectionListener > &aListener) override
Definition: viewuno.cxx:1976
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
Definition: viewuno.cxx:413
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Definition: viewuno.cxx:136
void RangeSelAborted(const OUString &rText)
Definition: viewuno.cxx:2014
sal_uInt16 nPane
Definition: viewuno.hxx:66
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
Definition: viewuno.cxx:310
virtual void SAL_CALL release() override
Definition: viewuno.cxx:428
virtual void SAL_CALL setFirstVisibleRow(sal_Int32 nFirstVisibleRow) override
Definition: viewuno.cxx:224
virtual void SAL_CALL addRangeSelectionChangeListener(const css::uno::Reference< css::sheet::XRangeSelectionChangeListener > &aListener) override
Definition: viewuno.cxx:1985
signed char sal_Int8
virtual void SAL_CALL startRangeSelection(const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override
Definition: viewuno.cxx:1922
ScViewPaneObj * GetObjectByIndex_Impl(sal_uInt16 nIndex) const
Definition: viewuno.cxx:986
std::vector< css::uno::Reference< css::awt::XEnhancedMouseClickHandler > > aMouseClickHandlers
Definition: viewuno.hxx:155
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
Definition: viewuno.cxx:962
bool MousePressed(const css::awt::MouseEvent &e)
Definition: viewuno.cxx:1138
virtual void SAL_CALL splitAtPosition(sal_Int32 nPixelX, sal_Int32 nPixelY) override
Definition: viewuno.cxx:1590
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getImplementationName() override
Definition: viewuno.cxx:2041
bool IsMouseListening() const
Definition: viewuno.cxx:1122
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL removeEnhancedMouseClickHandler(const css::uno::Reference< css::awt::XEnhancedMouseClickHandler > &aListener) override
Definition: viewuno.cxx:1331
std::vector< css::uno::Reference< css::sheet::XRangeSelectionChangeListener > > aRangeChgListeners
Definition: viewuno.hxx:151
virtual void SAL_CALL setFirstVisibleColumn(sal_Int32 nFirstVisibleColumn) override
Definition: viewuno.cxx:191
sal_Int16 GetZoomType() const
Definition: viewuno.cxx:1402
void SheetChanged(bool bSameTabButMoved)
Definition: viewuno.cxx:534
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: viewuno.cxx:154
virtual sal_Int32 SAL_CALL getSplitColumn() override
Definition: viewuno.cxx:1543
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: viewuno.cxx:2046
std::vector< css::uno::Reference< css::sheet::XActivationEventListener > > aActivationListeners
Definition: viewuno.hxx:157
ScViewPaneObj(ScTabViewShell *pViewSh, sal_uInt16 nP)
Definition: viewuno.cxx:404
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: viewuno.cxx:1829
SCTAB nPreviousTab
Definition: viewuno.hxx:158
virtual ~ScViewPaneObj() override
Definition: viewuno.cxx:409
virtual void SAL_CALL addActivationEventListener(const css::uno::Reference< css::sheet::XActivationEventListener > &aListener) override
Definition: viewuno.cxx:1344
void SetZoom(sal_Int16 Zoom)
Definition: viewuno.cxx:1376
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
Definition: viewuno.cxx:2086
void RangeSelChanged(const OUString &rText)
Definition: viewuno.cxx:2027
std::vector< css::uno::Reference< css::view::XSelectionChangeListener > > aSelectionChgListeners
Definition: viewuno.hxx:147
virtual sal_Bool SAL_CALL isFormDesignMode() override
Definition: viewuno.cxx:325
virtual sal_Int32 SAL_CALL getSplitRow() override
Definition: viewuno.cxx:1568
bool MouseReleased(const css::awt::MouseEvent &e)
Definition: viewuno.cxx:1228
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &xModel) override
Definition: viewuno.cxx:351
css::awt::Rectangle GetVisArea() const
Definition: viewuno.cxx:370
void EndMouseListening()
Definition: viewuno.cxx:1287
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: viewuno.cxx:2051
virtual void SAL_CALL addEnhancedMouseClickHandler(const css::uno::Reference< css::awt::XEnhancedMouseClickHandler > &aListener) override
Definition: viewuno.cxx:1321
virtual sal_Bool SAL_CALL hasElements() override
Definition: viewuno.cxx:978
virtual sal_Int32 SAL_CALL getCount() override
Definition: viewuno.cxx:945
void EndActivationListening()
Definition: viewuno.cxx:1304
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getReferredCells() override
Definition: viewuno.cxx:272
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: viewuno.cxx:1708
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
Definition: viewuno.cxx:142
std::vector< css::uno::Reference< css::sheet::XRangeSelectionListener > > aRangeSelListeners
Definition: viewuno.hxx:149
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: viewuno.cxx:1907
bool bFilteredRangeSelection
Definition: viewuno.hxx:160
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: viewuno.cxx:937
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: viewuno.cxx:1627
virtual void SAL_CALL abortRangeSelection() override
Definition: viewuno.cxx:1961
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
Definition: viewuno.cxx:465
virtual void SAL_CALL addRangeSelectionListener(const css::uno::Reference< css::sheet::XRangeSelectionListener > &aListener) override
Definition: viewuno.cxx:1969
sal_Int16 GetZoom() const
Definition: viewuno.cxx:1365
unsigned char sal_Bool
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: viewuno.cxx:167
virtual sal_Int32 SAL_CALL getFirstVisibleColumn() override
Definition: viewuno.cxx:174
virtual void SAL_CALL acquire() override
Definition: viewuno.cxx:488
ScPreviewShell * mpViewShell
Definition: viewuno.hxx:291
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: viewuno.cxx:595
ScTabViewShell * GetViewShell() const
Definition: viewuno.hxx:75
virtual sal_Bool SAL_CALL getIsWindowSplit() override
Definition: viewuno.cxx:1485
virtual void SAL_CALL freezeAtPosition(sal_Int32 nColumns, sal_Int32 nRows) override
Definition: viewuno.cxx:1602
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: viewuno.cxx:1902
void RangeSelDone(const OUString &rText)
Definition: viewuno.cxx:2001
virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL getActiveSheet() override
Definition: viewuno.cxx:1033
SfxItemPropertySet aPropSet
Definition: viewuno.hxx:145
void SelectionChanged()
Definition: viewuno.cxx:1643
virtual sal_Int32 SAL_CALL getSplitHorizontal() override
Definition: viewuno.cxx:1517
virtual css::uno::Any SAL_CALL getSelection() override
Definition: viewuno.cxx:854
virtual css::table::CellRangeAddress SAL_CALL getVisibleRange() override
Definition: viewuno.cxx:240
virtual void SAL_CALL removeRangeSelectionChangeListener(const css::uno::Reference< css::sheet::XRangeSelectionChangeListener > &aListener) override
Definition: viewuno.cxx:1992
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Int32 SAL_CALL getFirstVisibleRow() override
Definition: viewuno.cxx:207
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
XPrintable?
Definition: viewuno.cxx:1700
virtual void SAL_CALL removeActivationEventListener(const css::uno::Reference< css::sheet::XActivationEventListener > &aListener) override
Definition: viewuno.cxx:1354
css::uno::Reference< css::uno::XInterface > GetClickedObject(const Point &rPoint) const
Definition: viewuno.cxx:1071
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedSheets() override
Definition: viewuno.cxx:2128
virtual sal_Int32 SAL_CALL getSplitVertical() override
Definition: viewuno.cxx:1530
void VisAreaChanged()
Definition: viewuno.cxx:1912
virtual sal_Bool SAL_CALL hasFrozenPanes() override
Definition: viewuno.cxx:1501
virtual sal_Bool SAL_CALL select(const css::uno::Any &aSelection) override
Definition: viewuno.cxx:646
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
Definition: viewuno.cxx:338
ScViewPaneBase(ScTabViewShell *pViewSh, sal_uInt16 nP)
Definition: viewuno.cxx:120
virtual void SAL_CALL release() override
Definition: viewuno.cxx:493
virtual void SAL_CALL setActiveSheet(const css::uno::Reference< css::sheet::XSpreadsheet > &xActiveSheet) override
Definition: viewuno.cxx:1047
bool bDrawSelModeSet
Definition: viewuno.hxx:159
ScTabViewObj()=delete
struct _ADOIndex Index
virtual void SAL_CALL acquire() override
Definition: viewuno.cxx:423
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: viewuno.cxx:1893
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: viewuno.cxx:573
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: viewuno.cxx:1634
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: viewuno.cxx:1886
void SetZoomType(sal_Int16 ZoomType)
Definition: viewuno.cxx:1431
virtual css::uno::Type SAL_CALL getElementType() override
Definition: viewuno.cxx:972
sal_Int16 SCTAB
Definition: types.hxx:23
virtual ~ScViewPaneBase() override
Definition: viewuno.cxx:128
virtual ~ScTabViewObj() override
Definition: viewuno.cxx:450