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 #pragma once
21 
23 #include <svl/itemprop.hxx>
24 #include <svl/lstner.hxx>
25 #include <tools/gen.hxx>
26 #include <com/sun/star/view/XFormLayerAccess.hpp>
27 #include <com/sun/star/view/XSelectionSupplier.hpp>
28 #include <com/sun/star/sheet/XCellRangeReferrer.hpp>
29 #include <com/sun/star/sheet/XViewSplitable.hpp>
30 #include <com/sun/star/sheet/XViewFreezable.hpp>
31 #include <com/sun/star/sheet/XSelectedSheetsSupplier.hpp>
32 #include <com/sun/star/sheet/XSpreadsheetView.hpp>
33 #include <com/sun/star/sheet/XEnhancedMouseClickBroadcaster.hpp>
34 #include <com/sun/star/sheet/XActivationBroadcaster.hpp>
35 #include <com/sun/star/sheet/XViewPane.hpp>
36 #include <com/sun/star/sheet/XRangeSelection.hpp>
37 #include <com/sun/star/lang/XServiceInfo.hpp>
38 #include <com/sun/star/container/XEnumerationAccess.hpp>
39 #include <com/sun/star/beans/XPropertySet.hpp>
40 #include <com/sun/star/lang/XUnoTunnel.hpp>
41 #include <com/sun/star/datatransfer/XTransferableSupplier.hpp>
43 
44 #include "types.hxx"
45 
46 namespace com::sun::star::view { class XSelectionChangeListener; }
47 
48 class ScTabViewShell;
49 class ScPreviewShell;
50 
51 #define SC_VIEWPANE_ACTIVE 0xFFFF
52 
53 // ScViewPaneBase not derived from OWeakObject
54 // to avoid duplicate OWeakObject in ScTabViewObj
55 
56 class ScViewPaneBase : public css::sheet::XViewPane,
57  public css::sheet::XCellRangeReferrer,
58  public css::view::XFormLayerAccess,
59  public css::lang::XServiceInfo,
60  public css::lang::XTypeProvider,
61  public SfxListener
62 {
63 private:
65  sal_uInt16 nPane; // ScSplitPos or SC_VIEWPANE_ACTIVE
66 
67 protected:
68  css::awt::Rectangle GetVisArea() const;
69 
70 public:
71  ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP);
72  virtual ~ScViewPaneBase() override;
73 
74  ScTabViewShell* GetViewShell() const { return pViewShell; }
75 
76  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
77 
78  virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
79 
80  // XViewPane
81  virtual sal_Int32 SAL_CALL getFirstVisibleColumn() override;
82  virtual void SAL_CALL setFirstVisibleColumn( sal_Int32 nFirstVisibleColumn ) override;
83  virtual sal_Int32 SAL_CALL getFirstVisibleRow() override;
84  virtual void SAL_CALL setFirstVisibleRow( sal_Int32 nFirstVisibleRow ) override;
85  virtual css::table::CellRangeAddress SAL_CALL getVisibleRange() override;
86 
87  // XCellRangeReferrer
88  virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
89  getReferredCells() override;
90 
91  // XFormLayerAccess
92  virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL
93  getFormController( const css::uno::Reference< css::form::XForm >& Form ) override;
94  virtual sal_Bool SAL_CALL
95  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
100  getControl( const css::uno::Reference< css::awt::XControlModel >& xModel ) override;
101 
102  // XServiceInfo
103  virtual OUString SAL_CALL getImplementationName() override;
104  virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
105  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
106 
107  // XTypeProvider
108  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
109  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
110 };
111 
112 // ScViewPaneObj for direct use (including OWeakObject)
113 
114 class ScViewPaneObj final : public ScViewPaneBase, public cppu::OWeakObject
115 {
116 public:
117  ScViewPaneObj(ScTabViewShell* pViewSh, sal_uInt16 nP);
118  virtual ~ScViewPaneObj() override;
119 
120  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
121  virtual void SAL_CALL acquire() throw() override;
122  virtual void SAL_CALL release() throw() override;
123 };
124 
125 // OWeakObject is base of SfxBaseController -> use ScViewPaneBase
126 
127 class ScTabViewObj final : public ScViewPaneBase,
128  public SfxBaseController,
129  public css::sheet::XSpreadsheetView,
130  public css::sheet::XEnhancedMouseClickBroadcaster,
131  public css::sheet::XActivationBroadcaster,
132  public css::container::XEnumerationAccess,
133  public css::container::XIndexAccess,
134  public css::view::XSelectionSupplier,
135  public css::beans::XPropertySet,
136  public css::sheet::XViewSplitable,
137  public css::sheet::XViewFreezable,
138  public css::sheet::XRangeSelection,
139  public css::lang::XUnoTunnel,
140  public css::datatransfer::XTransferableSupplier,
141  public css::sheet::XSelectedSheetsSupplier
142 {
143 private:
145  std::vector<css::uno::Reference<css::view::XSelectionChangeListener> >
147  std::vector<css::uno::Reference<css::sheet::XRangeSelectionListener> >
149  std::vector<css::uno::Reference<css::sheet::XRangeSelectionChangeListener> >
151  std::vector<css::uno::Reference<css::beans::XPropertyChangeListener> >
153  std::vector<css::uno::Reference<css::awt::XEnhancedMouseClickHandler> >
155  std::vector<css::uno::Reference<css::sheet::XActivationEventListener> >
160 
161  rtl::Reference<ScViewPaneObj> GetObjectByIndex_Impl(sal_uInt16 nIndex) const;
162  sal_Int16 GetZoom() const;
163  void SetZoom(sal_Int16 Zoom);
164  sal_Int16 GetZoomType() const;
165  void SetZoomType(sal_Int16 ZoomType);
166 
167  css::uno::Reference< css::uno::XInterface > GetClickedObject(const Point& rPoint) const;
168  void EndMouseListening();
169  void EndActivationListening();
171 public:
172  ScTabViewObj(ScTabViewShell* pViewSh);
173  ScTabViewObj() = delete;
174  virtual ~ScTabViewObj() override;
175 
176  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
177  virtual void SAL_CALL acquire() throw() override;
178  virtual void SAL_CALL release() throw() override;
179 
180  void SelectionChanged();
181  void VisAreaChanged();
182  // bSameTabButMoved = true if the same sheet as before is activated, used after moving/copying/inserting/deleting a sheet
183  void SheetChanged( bool bSameTabButMoved );
184  bool IsMouseListening() const;
186  bool MousePressed( const css::awt::MouseEvent& e );
188  bool MouseReleased( const css::awt::MouseEvent& e );
189 
190  void RangeSelDone( const OUString& rText );
191  void RangeSelAborted( const OUString& rText );
192  void RangeSelChanged( const OUString& rText );
193 
194  // XSelectionSupplier
195  virtual sal_Bool SAL_CALL select( const css::uno::Any& aSelection ) override;
196  virtual css::uno::Any SAL_CALL getSelection() override;
197  virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override;
198  virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override;
199 
201 
202  // XPropertySet
203  virtual css::uno::Reference< css::beans::XPropertySetInfo >
204  SAL_CALL getPropertySetInfo() override;
205  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName,
206  const css::uno::Any& aValue ) override;
207  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
208  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
209  const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
210  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName,
211  const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
212  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName,
213  const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
214  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName,
215  const css::uno::Reference<
216  css::beans::XVetoableChangeListener >& aListener ) override;
217 
218  // XEnumerationAccess
219  virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
220  createEnumeration() override;
221 
222  // XIndexAccess
223  virtual sal_Int32 SAL_CALL getCount() override;
224  virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
225 
226  // XElementAccess
227  virtual css::uno::Type SAL_CALL getElementType() override;
228  virtual sal_Bool SAL_CALL hasElements() override;
229 
230  // XSpreadsheetView
231  virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL
232  getActiveSheet() override;
233  virtual void SAL_CALL setActiveSheet( const css::uno::Reference< css::sheet::XSpreadsheet >& xActiveSheet ) override;
234 
235  //XEnhancedMouseClickBroadcaster
236 
237  virtual void SAL_CALL addEnhancedMouseClickHandler( const css::uno::Reference<
238  css::awt::XEnhancedMouseClickHandler >& aListener ) override;
239  virtual void SAL_CALL removeEnhancedMouseClickHandler( const css::uno::Reference< css::awt::XEnhancedMouseClickHandler >& aListener ) override;
240 
241  //XActivationBroadcaster
242 
243  virtual void SAL_CALL addActivationEventListener( const css::uno::Reference< css::sheet::XActivationEventListener >& aListener ) override;
244  virtual void SAL_CALL removeActivationEventListener( const css::uno::Reference< css::sheet::XActivationEventListener >& aListener ) override;
245 
246  // XViewSplitable
247  virtual sal_Bool SAL_CALL getIsWindowSplit() override;
248  virtual sal_Int32 SAL_CALL getSplitHorizontal() override;
249  virtual sal_Int32 SAL_CALL getSplitVertical() override;
250  virtual sal_Int32 SAL_CALL getSplitColumn() override;
251  virtual sal_Int32 SAL_CALL getSplitRow() override;
252  virtual void SAL_CALL splitAtPosition( sal_Int32 nPixelX, sal_Int32 nPixelY ) override;
253 
254  // XViewFreezable
255  virtual sal_Bool SAL_CALL hasFrozenPanes() override;
256  virtual void SAL_CALL freezeAtPosition( sal_Int32 nColumns, sal_Int32 nRows ) override;
257 
258  // XRangeSelection
259  virtual void SAL_CALL startRangeSelection( const css::uno::Sequence< css::beans::PropertyValue >& aArguments ) override;
260  virtual void SAL_CALL abortRangeSelection() override;
261  virtual void SAL_CALL addRangeSelectionListener( const css::uno::Reference< css::sheet::XRangeSelectionListener >& aListener ) override;
262  virtual void SAL_CALL removeRangeSelectionListener( const css::uno::Reference< css::sheet::XRangeSelectionListener >& aListener ) override;
263  virtual void SAL_CALL addRangeSelectionChangeListener( const css::uno::Reference< css::sheet::XRangeSelectionChangeListener >& aListener ) override;
264  virtual void SAL_CALL removeRangeSelectionChangeListener( const css::uno::Reference< css::sheet::XRangeSelectionChangeListener >& aListener ) override;
265 
266  // XServiceInfo
267  virtual OUString SAL_CALL getImplementationName() override;
268  virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
269  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
270 
271  // XUnoTunnel
272  UNO3_GETIMPLEMENTATION_DECL(ScTabViewObj)
273 
274  // XTypeProvider
275  virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
276  virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
277 
278  // XTransferableSupplier
279  virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override;
280  virtual void SAL_CALL insertTransferable( const css::uno::Reference< css::datatransfer::XTransferable >& xTrans ) override;
281 
282  // XSelectedSheetsSupplier
283  virtual css::uno::Sequence<sal_Int32> SAL_CALL getSelectedSheets() override;
284 };
285 
286 class ScPreviewObj final : public SfxBaseController,
287  public SfxListener,
288  public css::sheet::XSelectedSheetsSupplier
289 {
291 public:
292  ScPreviewObj(ScPreviewShell* pViewSh);
293  virtual ~ScPreviewObj() override;
294 
295  virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType) override;
296 
297  virtual void SAL_CALL acquire() throw() override;
298  virtual void SAL_CALL release() throw() override;
299 
300  virtual void Notify(SfxBroadcaster&, const SfxHint& rHint) override;
301 
302  // XSelectedSheetsSupplier
303  virtual css::uno::Sequence<sal_Int32> SAL_CALL getSelectedSheets() override;
304 };
305 
306 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Type
ScTabViewShell * pViewShell
Definition: viewuno.hxx:64
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
Definition: viewuno.cxx:2058
bool mbLeftMousePressed
Definition: viewuno.hxx:170
std::vector< css::uno::Reference< css::beans::XPropertyChangeListener > > aPropertyChgListeners
Definition: viewuno.hxx:152
virtual void SAL_CALL removeRangeSelectionListener(const css::uno::Reference< css::sheet::XRangeSelectionListener > &aListener) override
Definition: viewuno.cxx:1974
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:2012
sal_uInt16 nPane
Definition: viewuno.hxx:65
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:1983
signed char sal_Int8
virtual void SAL_CALL startRangeSelection(const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override
Definition: viewuno.cxx:1920
std::vector< css::uno::Reference< css::awt::XEnhancedMouseClickHandler > > aMouseClickHandlers
Definition: viewuno.hxx:154
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
Definition: viewuno.cxx:958
bool MousePressed(const css::awt::MouseEvent &e)
Definition: viewuno.cxx:1134
virtual void SAL_CALL splitAtPosition(sal_Int32 nPixelX, sal_Int32 nPixelY) override
Definition: viewuno.cxx:1588
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getImplementationName() override
Definition: viewuno.cxx:2039
bool IsMouseListening() const
Definition: viewuno.cxx:1118
rtl::Reference< ScViewPaneObj > GetObjectByIndex_Impl(sal_uInt16 nIndex) const
Definition: viewuno.cxx:982
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:1327
std::vector< css::uno::Reference< css::sheet::XRangeSelectionChangeListener > > aRangeChgListeners
Definition: viewuno.hxx:150
virtual void SAL_CALL setFirstVisibleColumn(sal_Int32 nFirstVisibleColumn) override
Definition: viewuno.cxx:191
sal_Int16 GetZoomType() const
Definition: viewuno.cxx:1400
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:1541
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: viewuno.cxx:2044
std::vector< css::uno::Reference< css::sheet::XActivationEventListener > > aActivationListeners
Definition: viewuno.hxx:156
ScViewPaneObj(ScTabViewShell *pViewSh, sal_uInt16 nP)
Definition: viewuno.cxx:404
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: viewuno.cxx:1827
SCTAB nPreviousTab
Definition: viewuno.hxx:157
virtual ~ScViewPaneObj() override
Definition: viewuno.cxx:409
virtual void SAL_CALL addActivationEventListener(const css::uno::Reference< css::sheet::XActivationEventListener > &aListener) override
Definition: viewuno.cxx:1340
void SetZoom(sal_Int16 Zoom)
Definition: viewuno.cxx:1372
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
Definition: viewuno.cxx:2082
void RangeSelChanged(const OUString &rText)
Definition: viewuno.cxx:2025
std::vector< css::uno::Reference< css::view::XSelectionChangeListener > > aSelectionChgListeners
Definition: viewuno.hxx:146
virtual sal_Bool SAL_CALL isFormDesignMode() override
Definition: viewuno.cxx:325
virtual sal_Int32 SAL_CALL getSplitRow() override
Definition: viewuno.cxx:1566
bool MouseReleased(const css::awt::MouseEvent &e)
Definition: viewuno.cxx:1224
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:1283
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: viewuno.cxx:2049
virtual void SAL_CALL addEnhancedMouseClickHandler(const css::uno::Reference< css::awt::XEnhancedMouseClickHandler > &aListener) override
Definition: viewuno.cxx:1317
virtual sal_Bool SAL_CALL hasElements() override
Definition: viewuno.cxx:974
virtual sal_Int32 SAL_CALL getCount() override
Definition: viewuno.cxx:941
void EndActivationListening()
Definition: viewuno.cxx:1300
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:1706
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:148
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: viewuno.cxx:1905
bool bFilteredRangeSelection
Definition: viewuno.hxx:159
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
Definition: viewuno.cxx:933
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
Definition: viewuno.cxx:1625
virtual void SAL_CALL abortRangeSelection() override
Definition: viewuno.cxx:1959
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:1967
sal_Int16 GetZoom() const
Definition: viewuno.cxx:1361
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:290
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
Definition: viewuno.cxx:595
ScTabViewShell * GetViewShell() const
Definition: viewuno.hxx:74
virtual sal_Bool SAL_CALL getIsWindowSplit() override
Definition: viewuno.cxx:1483
virtual void SAL_CALL freezeAtPosition(sal_Int32 nColumns, sal_Int32 nRows) override
Definition: viewuno.cxx:1600
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: viewuno.cxx:1900
void RangeSelDone(const OUString &rText)
Definition: viewuno.cxx:1999
virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL getActiveSheet() override
Definition: viewuno.cxx:1029
SfxItemPropertySet aPropSet
Definition: viewuno.hxx:144
void SelectionChanged()
Definition: viewuno.cxx:1641
virtual sal_Int32 SAL_CALL getSplitHorizontal() override
Definition: viewuno.cxx:1515
virtual css::uno::Any SAL_CALL getSelection() override
Definition: viewuno.cxx:850
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:1990
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:1698
virtual void SAL_CALL removeActivationEventListener(const css::uno::Reference< css::sheet::XActivationEventListener > &aListener) override
Definition: viewuno.cxx:1350
css::uno::Reference< css::uno::XInterface > GetClickedObject(const Point &rPoint) const
Definition: viewuno.cxx:1067
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedSheets() override
Definition: viewuno.cxx:2124
virtual sal_Int32 SAL_CALL getSplitVertical() override
Definition: viewuno.cxx:1528
void VisAreaChanged()
Definition: viewuno.cxx:1910
virtual sal_Bool SAL_CALL hasFrozenPanes() override
Definition: viewuno.cxx:1499
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:1043
bool bDrawSelModeSet
Definition: viewuno.hxx:158
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:1891
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:1632
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: viewuno.cxx:1884
void SetZoomType(sal_Int16 ZoomType)
Definition: viewuno.cxx:1429
virtual css::uno::Type SAL_CALL getElementType() override
Definition: viewuno.cxx:968
sal_Int16 SCTAB
Definition: types.hxx:22
virtual ~ScViewPaneBase() override
Definition: viewuno.cxx:128
virtual ~ScTabViewObj() override
Definition: viewuno.cxx:450