21#include <ooo/vba/excel/XWindow.hpp>
22#include <com/sun/star/uno/XComponentContext.hpp>
23#include <com/sun/star/frame/XModel.hpp>
24#include <ooo/vba/excel/XPane.hpp>
25#include <com/sun/star/awt/XDevice.hpp>
30typedef cppu::ImplInheritanceHelper< VbaWindowBase, ov::excel::XWindow >
WindowImpl_BASE;
35 css::uno::Reference< ov::excel::XPane >
m_xPane;
41 css::uno::Reference< css::beans::XPropertySet >
getFrameProps()
const;
43 css::uno::Reference< css::awt::XDevice >
getDevice()
const;
50 void Scroll(
const css::uno::Any& Down,
const css::uno::Any& Up,
const css::uno::Any& ToRight,
const css::uno::Any& ToLeft,
bool bLargeScroll );
55 const css::uno::Reference< ov::XHelperInterface >& xParent,
56 const css::uno::Reference< css::uno::XComponentContext >& xContext,
57 const css::uno::Reference< css::frame::XModel >& xModel,
58 const css::uno::Reference< css::frame::XController >& xController );
61 const css::uno::Sequence< css::uno::Any >& aArgs,
62 const css::uno::Reference< css::uno::XComponentContext >& xContext );
65 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
ActiveCell( )
override;
66 virtual css::uno::Reference< ov::excel::XPane > SAL_CALL
ActivePane()
override;
67 virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL
ActiveSheet( )
override;
68 virtual void SAL_CALL
setCaption(
const css::uno::Any& _caption )
override;
69 virtual css::uno::Any SAL_CALL
getCaption()
override;
87 virtual void SAL_CALL
setSplitColumn( sal_Int32 _splitcolumn )
override ;
91 virtual void SAL_CALL
setSplitRow( sal_Int32 _splitrow )
override ;
95 virtual void SAL_CALL
setScrollRow(
const css::uno::Any& _scrollrow )
override ;
97 virtual void SAL_CALL
setScrollColumn(
const css::uno::Any& _scrollcolumn )
override ;
98 virtual css::uno::Any SAL_CALL
getView()
override;
99 virtual void SAL_CALL
setView(
const css::uno::Any& _view )
override;
100 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
getVisibleRange()
override;
102 virtual void SAL_CALL
setWindowState(
const css::uno::Any& _windowstate )
override;
103 virtual css::uno::Any SAL_CALL
getZoom()
override;
104 virtual void SAL_CALL
setZoom(
const css::uno::Any& _zoom)
override;
106 virtual void SAL_CALL
setTabRatio(
double _tabratio )
override ;
109 virtual void SAL_CALL
SmallScroll(
const css::uno::Any& Down,
const css::uno::Any& Up,
const css::uno::Any& ToRight,
const css::uno::Any& ToLeft )
override;
110 virtual void SAL_CALL
LargeScroll(
const css::uno::Any& Down,
const css::uno::Any& Up,
const css::uno::Any& ToRight,
const css::uno::Any& ToLeft )
override;
111 virtual css::uno::Any SAL_CALL
SelectedSheets(
const css::uno::Any& aIndex )
override;
113 virtual void SAL_CALL
Activate( )
override;
114 virtual void SAL_CALL
Close(
const css::uno::Any& SaveChanges,
const css::uno::Any& FileName,
const css::uno::Any& RouteWorkBook )
override;
115 virtual css::uno::Any SAL_CALL
Selection( )
override;
116 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
RangeSelection()
override;
119 virtual void SAL_CALL
PrintOut(
const css::uno::Any& From,
const css::uno::Any&To,
const css::uno::Any& Copies,
const css::uno::Any& Preview,
const css::uno::Any& ActivePrinter,
const css::uno::Any& PrintToFile,
const css::uno::Any& Collate,
const css::uno::Any& PrToFileName )
override;
120 virtual void SAL_CALL
PrintPreview(
const css::uno::Any& EnableChanges )
override;
virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL ActiveSheet() override
virtual void SAL_CALL setDisplayOutline(sal_Bool _bDisplayOutline) override
virtual sal_Bool SAL_CALL getDisplayHeadings() override
css::uno::Reference< ov::excel::XPane > m_xPane
virtual double SAL_CALL getTabRatio() override
virtual void SAL_CALL setFreezePanes(sal_Bool _bFreezePanes) override
virtual sal_Int32 SAL_CALL getSplitColumn() override
virtual void SAL_CALL Close(const css::uno::Any &SaveChanges, const css::uno::Any &FileName, const css::uno::Any &RouteWorkBook) override
virtual double SAL_CALL getSplitVertical() override
virtual void SAL_CALL setDisplayVerticalScrollBar(sal_Bool _bDisplayVerticalScrollBar) override
void Scroll(const css::uno::Any &Down, const css::uno::Any &Up, const css::uno::Any &ToRight, const css::uno::Any &ToLeft, bool bLargeScroll)
virtual void SAL_CALL PrintOut(const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &Copies, const css::uno::Any &Preview, const css::uno::Any &ActivePrinter, const css::uno::Any &PrintToFile, const css::uno::Any &Collate, const css::uno::Any &PrToFileName) override
virtual css::uno::Any SAL_CALL getZoom() override
virtual css::uno::Any SAL_CALL getWindowState() override
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual css::uno::Any SAL_CALL getCaption() override
virtual sal_Bool SAL_CALL getDisplayWorkbookTabs() override
virtual void SAL_CALL setTabRatio(double _tabratio) override
virtual double SAL_CALL getSplitHorizontal() override
virtual void SAL_CALL setSplit(sal_Bool _bSplit) override
virtual void SAL_CALL setSplitHorizontal(double _splithorizontal) override
virtual void SAL_CALL LargeScroll(const css::uno::Any &Down, const css::uno::Any &Up, const css::uno::Any &ToRight, const css::uno::Any &ToLeft) override
virtual void SAL_CALL Activate() override
virtual void SAL_CALL setDisplayHeadings(sal_Bool _bDisplayHeadings) override
virtual css::uno::Any SAL_CALL Selection() override
ScVbaWindow(const css::uno::Sequence< css::uno::Any > &aArgs, const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual sal_Int32 SAL_CALL PointsToScreenPixelsX(sal_Int32 _points) override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL ActiveCell() override
virtual void SAL_CALL PrintPreview(const css::uno::Any &EnableChanges) override
virtual sal_Bool SAL_CALL getDisplayVerticalScrollBar() override
virtual void SAL_CALL setSplitVertical(double _splitvertical) override
virtual void SAL_CALL setZoom(const css::uno::Any &_zoom) override
virtual sal_Bool SAL_CALL getSplit() override
virtual sal_Int32 SAL_CALL getSplitRow() override
virtual sal_Bool SAL_CALL getDisplayOutline() override
void SplitAtDefinedPosition(sal_Int32 nColumns, sal_Int32 nRows)
virtual OUString getServiceImplName() override
css::uno::Reference< css::beans::XPropertySet > getControllerProps() const
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL RangeSelection() override
virtual void SAL_CALL setScrollColumn(const css::uno::Any &_scrollcolumn) override
virtual void SAL_CALL SmallScroll(const css::uno::Any &Down, const css::uno::Any &Up, const css::uno::Any &ToRight, const css::uno::Any &ToLeft) override
virtual css::uno::Any SAL_CALL getScrollRow() override
virtual void SAL_CALL setSplitColumn(sal_Int32 _splitcolumn) override
virtual css::uno::Any SAL_CALL getView() override
virtual void SAL_CALL setView(const css::uno::Any &_view) override
virtual sal_Bool SAL_CALL getDisplayHorizontalScrollBar() override
virtual void SAL_CALL setSplitRow(sal_Int32 _splitrow) override
virtual void SAL_CALL setDisplayWorkbookTabs(sal_Bool _bDisplayWorkbookTabs) override
virtual void SAL_CALL ScrollWorkbookTabs(const css::uno::Any &Sheets, const css::uno::Any &Position) override
virtual void SAL_CALL setDisplayGridlines(sal_Bool _displaygridlines) override
virtual sal_Bool SAL_CALL getDisplayGridlines() override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getVisibleRange() override
virtual css::uno::Any SAL_CALL SelectedSheets(const css::uno::Any &aIndex) override
virtual void SAL_CALL setScrollRow(const css::uno::Any &_scrollrow) override
virtual void SAL_CALL setCaption(const css::uno::Any &_caption) override
virtual void SAL_CALL setWindowState(const css::uno::Any &_windowstate) override
virtual void SAL_CALL setDisplayHorizontalScrollBar(sal_Bool _bDisplayHorizontalScrollBar) override
ScVbaWindow(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::frame::XController > &xController)
css::uno::Reference< css::awt::XDevice > getDevice() const
virtual sal_Bool SAL_CALL getFreezePanes() override
css::uno::Reference< css::beans::XPropertySet > getFrameProps() const
virtual sal_Int32 SAL_CALL PointsToScreenPixelsY(sal_Int32 _points) override
virtual css::uno::Reference< ov::excel::XPane > SAL_CALL ActivePane() override
virtual css::uno::Any SAL_CALL getScrollColumn() override
std::vector< uno::Reference< sheet::XSpreadsheet > > Sheets
cppu::ImplInheritanceHelper< VbaWindowBase, ov::excel::XWindow > WindowImpl_BASE
cppu::ImplInheritanceHelper< VbaWindowBase, ov::word::XWindow > WindowImpl_BASE