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/datatransfer/XTransferableSupplier.hpp>
51#define SC_VIEWPANE_ACTIVE 0xFFFF
57 public css::sheet::XCellRangeReferrer,
58 public css::view::XFormLayerAccess,
59 public css::lang::XServiceInfo,
60 public css::lang::XTypeProvider,
76 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
85 virtual css::table::CellRangeAddress SAL_CALL
getVisibleRange()
override;
88 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
92 virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL
93 getFormController(
const css::uno::Reference< css::form::XForm >& Form )
override;
99 virtual css::uno::Reference< css::awt::XControl > SAL_CALL
100 getControl(
const css::uno::Reference< css::awt::XControlModel >& xModel )
override;
108 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
override;
120 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
121 virtual void SAL_CALL
acquire()
noexcept override;
122 virtual void SAL_CALL
release()
noexcept override;
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::datatransfer::XTransferableSupplier,
140 public css::sheet::XSelectedSheetsSupplier
144 std::vector<css::uno::Reference<css::view::XSelectionChangeListener> >
146 std::vector<css::uno::Reference<css::sheet::XRangeSelectionListener> >
148 std::vector<css::uno::Reference<css::sheet::XRangeSelectionChangeListener> >
150 std::vector<css::uno::Reference<css::beans::XPropertyChangeListener> >
152 std::vector<css::uno::Reference<css::awt::XEnhancedMouseClickHandler> >
154 std::vector<css::uno::Reference<css::sheet::XActivationEventListener> >
175 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
176 virtual void SAL_CALL
acquire() noexcept override;
177 virtual
void SAL_CALL
release() noexcept override;
202 virtual css::
uno::Reference< css::beans::XPropertySetInfo >
205 const css::
uno::Any& aValue ) override;
208 const css::
uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
210 const css::
uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
212 const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
214 const css::
uno::Reference<
215 css::beans::XVetoableChangeListener >& aListener ) override;
218 virtual css::
uno::Reference< css::container::XEnumeration > SAL_CALL
222 virtual sal_Int32 SAL_CALL
getCount() override;
230 virtual css::
uno::Reference< css::sheet::XSpreadsheet > SAL_CALL
232 virtual
void SAL_CALL
setActiveSheet( const css::
uno::Reference< css::sheet::XSpreadsheet >& xActiveSheet ) override;
237 css::awt::XEnhancedMouseClickHandler >& aListener ) override;
251 virtual
void SAL_CALL
splitAtPosition( sal_Int32 nPixelX, sal_Int32 nPixelY ) override;
255 virtual
void SAL_CALL
freezeAtPosition( sal_Int32 nColumns, sal_Int32 nRows ) override;
258 virtual
void SAL_CALL
startRangeSelection( const css::
uno::Sequence< css::beans::PropertyValue >& aArguments ) override;
260 virtual
void SAL_CALL
addRangeSelectionListener( const css::
uno::Reference< css::sheet::XRangeSelectionListener >& aListener ) override;
275 virtual css::
uno::Reference< css::datatransfer::XTransferable > SAL_CALL
getTransferable() override;
276 virtual
void SAL_CALL
insertTransferable( const css::
uno::Reference< css::datatransfer::XTransferable >& xTrans ) override;
284 public css::sheet::XSelectedSheetsSupplier
291 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType)
override;
293 virtual void SAL_CALL
acquire() noexcept override;
294 virtual
void SAL_CALL
release() noexcept override;
ScPreviewShell * mpViewShell
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
sal_Int16 GetZoom() const
std::vector< css::uno::Reference< css::sheet::XActivationEventListener > > aActivationListeners
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
rtl::Reference< ScViewPaneObj > GetObjectByIndex_Impl(sal_uInt16 nIndex) const
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedSheets() override
virtual sal_Int32 SAL_CALL getSplitColumn() override
css::uno::Reference< css::uno::XInterface > GetClickedObject(const Point &rPoint) const
virtual sal_Bool SAL_CALL select(const css::uno::Any &aSelection) override
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
std::vector< css::uno::Reference< css::sheet::XRangeSelectionChangeListener > > aRangeChgListeners
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addEnhancedMouseClickHandler(const css::uno::Reference< css::awt::XEnhancedMouseClickHandler > &aListener) override
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
virtual void SAL_CALL freezeAtPosition(sal_Int32 nColumns, sal_Int32 nRows) override
virtual void SAL_CALL startRangeSelection(const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override
virtual void SAL_CALL addRangeSelectionChangeListener(const css::uno::Reference< css::sheet::XRangeSelectionChangeListener > &aListener) override
bool bFilteredRangeSelection
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
sal_Int16 GetZoomType() const
virtual void SAL_CALL removeActivationEventListener(const css::uno::Reference< css::sheet::XActivationEventListener > &aListener) override
void RangeSelChanged(const OUString &rText)
virtual void SAL_CALL removeEnhancedMouseClickHandler(const css::uno::Reference< css::awt::XEnhancedMouseClickHandler > &aListener) override
void SetZoom(sal_Int16 Zoom)
SfxItemPropertySet aPropSet
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
XPrintable?
virtual void SAL_CALL setActiveSheet(const css::uno::Reference< css::sheet::XSpreadsheet > &xActiveSheet) override
void EndActivationListening()
virtual void SAL_CALL addActivationEventListener(const css::uno::Reference< css::sheet::XActivationEventListener > &aListener) override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Any SAL_CALL getSelection() override
bool MousePressed(const css::awt::MouseEvent &e)
virtual void SAL_CALL removeRangeSelectionListener(const css::uno::Reference< css::sheet::XRangeSelectionListener > &aListener) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
std::vector< css::uno::Reference< css::sheet::XRangeSelectionListener > > aRangeSelListeners
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Int32 SAL_CALL getSplitHorizontal() override
std::vector< css::uno::Reference< css::view::XSelectionChangeListener > > aSelectionChgListeners
std::vector< css::uno::Reference< css::awt::XEnhancedMouseClickHandler > > aMouseClickHandlers
virtual void SAL_CALL acquire() noexcept override
virtual sal_Bool SAL_CALL getIsWindowSplit() override
void RangeSelAborted(const OUString &rText)
virtual void SAL_CALL abortRangeSelection() override
virtual void SAL_CALL removeRangeSelectionChangeListener(const css::uno::Reference< css::sheet::XRangeSelectionChangeListener > &aListener) override
virtual sal_Bool SAL_CALL hasFrozenPanes() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
bool IsMouseListening() const
virtual sal_Int32 SAL_CALL getSplitRow() override
virtual sal_Int32 SAL_CALL getSplitVertical() override
void SetZoomType(sal_Int16 ZoomType)
void RangeSelDone(const OUString &rText)
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL release() noexcept override
void SheetChanged(bool bSameTabButMoved)
virtual css::uno::Reference< css::sheet::XSpreadsheet > SAL_CALL getActiveSheet() override
bool MouseReleased(const css::awt::MouseEvent &e)
virtual void SAL_CALL addRangeSelectionListener(const css::uno::Reference< css::sheet::XRangeSelectionListener > &aListener) override
std::vector< css::uno::Reference< css::beans::XPropertyChangeListener > > aPropertyChgListeners
virtual ~ScTabViewObj() override
virtual void SAL_CALL splitAtPosition(sal_Int32 nPixelX, sal_Int32 nPixelY) override
virtual void SAL_CALL setFirstVisibleColumn(sal_Int32 nFirstVisibleColumn) override
virtual sal_Int32 SAL_CALL getFirstVisibleColumn() override
css::awt::Rectangle GetVisArea() const
virtual ~ScViewPaneBase() override
ScTabViewShell * GetViewShell() const
virtual sal_Int32 SAL_CALL getFirstVisibleRow() override
virtual css::table::CellRangeAddress SAL_CALL getVisibleRange() override
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setFirstVisibleRow(sal_Int32 nFirstVisibleRow) override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getReferredCells() override
ScViewPaneBase(ScTabViewShell *pViewSh, sal_uInt16 nP)
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &xModel) override
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual sal_Bool SAL_CALL isFormDesignMode() override
ScTabViewShell * pViewShell
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL release() noexcept override
ScViewPaneObj(ScTabViewShell *pViewSh, sal_uInt16 nP)
virtual ~ScViewPaneObj() override