LibreOffice Module sc (master) 1
|
#include <vbawindow.hxx>
Public Member Functions | |
void | Scroll (const css::uno::Any &Down, const css::uno::Any &Up, const css::uno::Any &ToRight, const css::uno::Any &ToLeft, bool bLargeScroll) |
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) | |
ScVbaWindow (const css::uno::Sequence< css::uno::Any > &aArgs, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL | ActiveCell () override |
virtual css::uno::Reference< ov::excel::XPane > SAL_CALL | ActivePane () override |
virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL | ActiveSheet () override |
virtual void SAL_CALL | setCaption (const css::uno::Any &_caption) override |
virtual css::uno::Any SAL_CALL | getCaption () override |
virtual sal_Bool SAL_CALL | getDisplayGridlines () override |
virtual void SAL_CALL | setDisplayGridlines (sal_Bool _displaygridlines) override |
virtual sal_Bool SAL_CALL | getDisplayHeadings () override |
virtual void SAL_CALL | setDisplayHeadings (sal_Bool _bDisplayHeadings) override |
virtual sal_Bool SAL_CALL | getDisplayHorizontalScrollBar () override |
virtual void SAL_CALL | setDisplayHorizontalScrollBar (sal_Bool _bDisplayHorizontalScrollBar) override |
virtual sal_Bool SAL_CALL | getDisplayOutline () override |
virtual void SAL_CALL | setDisplayOutline (sal_Bool _bDisplayOutline) override |
virtual sal_Bool SAL_CALL | getDisplayVerticalScrollBar () override |
virtual void SAL_CALL | setDisplayVerticalScrollBar (sal_Bool _bDisplayVerticalScrollBar) override |
virtual sal_Bool SAL_CALL | getDisplayWorkbookTabs () override |
virtual void SAL_CALL | setDisplayWorkbookTabs (sal_Bool _bDisplayWorkbookTabs) override |
virtual sal_Bool SAL_CALL | getFreezePanes () override |
virtual void SAL_CALL | setFreezePanes (sal_Bool _bFreezePanes) override |
virtual sal_Bool SAL_CALL | getSplit () override |
virtual void SAL_CALL | setSplit (sal_Bool _bSplit) override |
virtual sal_Int32 SAL_CALL | getSplitColumn () override |
virtual void SAL_CALL | setSplitColumn (sal_Int32 _splitcolumn) override |
virtual double SAL_CALL | getSplitHorizontal () override |
virtual void SAL_CALL | setSplitHorizontal (double _splithorizontal) override |
virtual sal_Int32 SAL_CALL | getSplitRow () override |
virtual void SAL_CALL | setSplitRow (sal_Int32 _splitrow) override |
virtual double SAL_CALL | getSplitVertical () override |
virtual void SAL_CALL | setSplitVertical (double _splitvertical) override |
virtual css::uno::Any SAL_CALL | getScrollRow () override |
virtual void SAL_CALL | setScrollRow (const css::uno::Any &_scrollrow) override |
virtual css::uno::Any SAL_CALL | getScrollColumn () override |
virtual void SAL_CALL | setScrollColumn (const css::uno::Any &_scrollcolumn) override |
virtual css::uno::Any SAL_CALL | getView () override |
virtual void SAL_CALL | setView (const css::uno::Any &_view) override |
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL | getVisibleRange () override |
virtual css::uno::Any SAL_CALL | getWindowState () override |
virtual void SAL_CALL | setWindowState (const css::uno::Any &_windowstate) override |
virtual css::uno::Any SAL_CALL | getZoom () override |
virtual void SAL_CALL | setZoom (const css::uno::Any &_zoom) override |
virtual double SAL_CALL | getTabRatio () override |
virtual void SAL_CALL | setTabRatio (double _tabratio) 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 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 css::uno::Any SAL_CALL | SelectedSheets (const css::uno::Any &aIndex) override |
virtual void SAL_CALL | ScrollWorkbookTabs (const css::uno::Any &Sheets, const css::uno::Any &Position) override |
virtual void SAL_CALL | Activate () override |
virtual void SAL_CALL | Close (const css::uno::Any &SaveChanges, const css::uno::Any &FileName, const css::uno::Any &RouteWorkBook) override |
virtual css::uno::Any SAL_CALL | Selection () override |
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL | RangeSelection () override |
virtual sal_Int32 SAL_CALL | PointsToScreenPixelsX (sal_Int32 _points) override |
virtual sal_Int32 SAL_CALL | PointsToScreenPixelsY (sal_Int32 _points) override |
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 void SAL_CALL | PrintPreview (const css::uno::Any &EnableChanges) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Protected Member Functions | |
void | SplitAtDefinedPosition (sal_Int32 nColumns, sal_Int32 nRows) |
Private Member Functions | |
void | init () |
css::uno::Reference< css::beans::XPropertySet > | getControllerProps () const |
css::uno::Reference< css::beans::XPropertySet > | getFrameProps () const |
css::uno::Reference< css::awt::XDevice > | getDevice () const |
Private Attributes | |
css::uno::Reference< ov::excel::XPane > | m_xPane |
Definition at line 32 of file vbawindow.hxx.
ScVbaWindow::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::RuntimeException |
ScVbaWindow::ScVbaWindow | ( | const css::uno::Sequence< css::uno::Any > & | aArgs, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext | ||
) |
css::uno::RuntimeException |
|
overridevirtual |
Definition at line 419 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 441 of file vbawindow.cxx.
Referenced by setSplit().
|
overridevirtual |
Definition at line 434 of file vbawindow.cxx.
References m_xModel, and mxContext.
Referenced by init().
|
overridevirtual |
Definition at line 736 of file vbawindow.cxx.
Referenced by setZoom().
|
overridevirtual |
Definition at line 427 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 304 of file vbawindow.cxx.
References getFrameProps(), and SC_UNONAME_TITLE.
|
private |
css::uno::RuntimeException |
Definition at line 229 of file vbawindow.cxx.
Referenced by getDisplayGridlines(), getDisplayHeadings(), getDisplayHorizontalScrollBar(), getDisplayOutline(), getDisplayVerticalScrollBar(), getDisplayWorkbookTabs(), getZoom(), setDisplayGridlines(), setDisplayHeadings(), setDisplayHorizontalScrollBar(), setDisplayOutline(), setDisplayVerticalScrollBar(), and setDisplayWorkbookTabs().
|
private |
css::uno::RuntimeException |
Definition at line 241 of file vbawindow.cxx.
Referenced by getSplitHorizontal(), getSplitVertical(), PointsToScreenPixelsX(), PointsToScreenPixelsY(), setSplitHorizontal(), and setSplitVertical().
|
overridevirtual |
Definition at line 463 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_SHOWGRID.
|
overridevirtual |
Definition at line 477 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_COLROWHDR.
|
overridevirtual |
Definition at line 491 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_HORSCROLL.
|
overridevirtual |
Definition at line 505 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_OUTLSYMB.
|
overridevirtual |
Definition at line 519 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_VERTSCROLL.
|
overridevirtual |
Definition at line 533 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_SHEETTABS.
|
private |
css::uno::RuntimeException |
Definition at line 235 of file vbawindow.cxx.
Referenced by getCaption(), and setCaption().
|
overridevirtual |
Definition at line 547 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 349 of file vbawindow.cxx.
References ScViewData::GetActivePart(), ooo::vba::excel::getBestViewShell(), ScViewData::GetPosX(), ScTabView::GetViewData(), m_xModel, nValue, and WhichH().
|
overridevirtual |
Definition at line 319 of file vbawindow.cxx.
References ScViewData::GetActivePart(), ooo::vba::excel::getBestViewShell(), ScViewData::GetPosY(), ScTabView::GetViewData(), m_xModel, nValue, and WhichV().
|
overridevirtual |
Definition at line 847 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 853 of file vbawindow.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 585 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 610 of file vbawindow.cxx.
Referenced by setFreezePanes(), setSplitColumn(), and setSplitRow().
|
overridevirtual |
Definition at line 628 of file vbawindow.cxx.
References getDevice(), and PixelsToPoints().
|
overridevirtual |
Definition at line 643 of file vbawindow.cxx.
Referenced by setFreezePanes(), setSplitColumn(), and setSplitRow().
|
overridevirtual |
Definition at line 661 of file vbawindow.cxx.
References getDevice(), and PixelsToPoints().
|
overridevirtual |
Definition at line 824 of file vbawindow.cxx.
References ooo::vba::excel::getBestViewShell(), ScTabView::GetRelTabBarWidth(), ScViewData::GetView(), ScTabView::GetViewData(), and m_xModel.
|
overridevirtual |
Definition at line 743 of file vbawindow.cxx.
References ooo::vba::excel::getBestViewShell(), ScTabView::GetViewData(), ScViewData::IsPagebreakMode(), and m_xModel.
|
overridevirtual |
Definition at line 784 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 379 of file vbawindow.cxx.
References ooo::vba::excel::getBestViewShell(), SfxViewFrame::GetFrame(), SfxFrame::GetSystemWindow(), SfxViewShell::GetViewFrame(), IsMaximized(), IsMinimized(), and m_xModel.
|
overridevirtual |
Definition at line 702 of file vbawindow.cxx.
References getControllerProps(), SC_UNO_ZOOMTYPE, SC_UNO_ZOOMVALUE, and sName.
|
private |
Definition at line 209 of file vbawindow.cxx.
References ActivePane(), m_refCount, and m_xPane.
|
overridevirtual |
Definition at line 264 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 793 of file vbawindow.cxx.
References getDevice().
|
overridevirtual |
Definition at line 801 of file vbawindow.cxx.
References getDevice().
|
overridevirtual |
Definition at line 809 of file vbawindow.cxx.
References Copies, ooo::vba::excel::getBestViewShell(), m_xModel, Preview, PrintOutHelper(), and To.
|
overridevirtual |
Definition at line 817 of file vbawindow.cxx.
References ooo::vba::excel::getBestViewShell(), m_xModel, and PrintPreviewHelper().
|
overridevirtual |
Definition at line 455 of file vbawindow.cxx.
References Selection().
void ScVbaWindow::Scroll | ( | const css::uno::Any & | Down, |
const css::uno::Any & | Up, | ||
const css::uno::Any & | ToRight, | ||
const css::uno::Any & | ToLeft, | ||
bool | bLargeScroll | ||
) |
css::uno::RuntimeException |
Definition at line 247 of file vbawindow.cxx.
References Down, m_xPane, and Up.
Referenced by LargeScroll(), and SmallScroll().
|
overridevirtual |
Definition at line 284 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 270 of file vbawindow.cxx.
|
overridevirtual |
Definition at line 448 of file vbawindow.cxx.
Referenced by RangeSelection().
|
overridevirtual |
Definition at line 313 of file vbawindow.cxx.
References getFrameProps(), and SC_UNONAME_TITLE.
|
overridevirtual |
Definition at line 471 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_SHOWGRID.
|
overridevirtual |
Definition at line 485 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_COLROWHDR.
|
overridevirtual |
Definition at line 499 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_HORSCROLL.
|
overridevirtual |
Definition at line 513 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_OUTLSYMB.
|
overridevirtual |
Definition at line 527 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_VERTSCROLL.
|
overridevirtual |
Definition at line 541 of file vbawindow.cxx.
References getControllerProps(), and SC_UNO_SHEETTABS.
|
overridevirtual |
Definition at line 554 of file vbawindow.cxx.
References getSplitColumn(), and getSplitRow().
|
overridevirtual |
Definition at line 364 of file vbawindow.cxx.
References ScViewData::GetActivePart(), ooo::vba::excel::getBestViewShell(), ScViewData::GetPosX(), ScTabView::GetViewData(), m_xModel, ScTabView::ScrollLines(), and WhichH().
|
overridevirtual |
Definition at line 334 of file vbawindow.cxx.
References ScViewData::GetActivePart(), ooo::vba::excel::getBestViewShell(), ScViewData::GetPosY(), ScTabView::GetViewData(), m_xModel, ScTabView::ScrollLines(), and WhichV().
|
overridevirtual |
Definition at line 592 of file vbawindow.cxx.
References ActiveCell(), and SplitAtDefinedPosition().
|
overridevirtual |
Definition at line 617 of file vbawindow.cxx.
References getSplitColumn(), getSplitRow(), and SplitAtDefinedPosition().
|
overridevirtual |
Definition at line 635 of file vbawindow.cxx.
References getDevice(), and PointsToPixels().
|
overridevirtual |
Definition at line 650 of file vbawindow.cxx.
References getSplitColumn(), getSplitRow(), and SplitAtDefinedPosition().
|
overridevirtual |
Definition at line 668 of file vbawindow.cxx.
References getDevice(), and PointsToPixels().
|
overridevirtual |
Definition at line 836 of file vbawindow.cxx.
References ooo::vba::excel::getBestViewShell(), ScViewData::GetView(), ScTabView::GetViewData(), m_xModel, and ScTabView::SetRelTabBarWidth().
|
overridevirtual |
Definition at line 761 of file vbawindow.cxx.
References dispatchExecute(), ERRCODE_BASIC_BAD_PARAMETER, ooo::vba::excel::getBestViewShell(), and m_xModel.
|
overridevirtual |
Definition at line 397 of file vbawindow.cxx.
References ooo::vba::excel::getBestViewShell(), SfxViewFrame::GetFrame(), SfxFrame::GetSystemWindow(), SfxViewShell::GetViewFrame(), and m_xModel.
|
overridevirtual |
Definition at line 722 of file vbawindow.cxx.
References ActiveSheet(), ooo::vba::excel::implSetZoom(), m_xModel, and ScVbaWorksheets::nameExists().
|
overridevirtual |
Definition at line 258 of file vbawindow.cxx.
|
protected |
Definition at line 675 of file vbawindow.cxx.
References dispatchExecute(), ooo::vba::excel::getBestViewShell(), and m_xModel.
Referenced by setSplit(), setSplitColumn(), and setSplitRow().
|
private |
Definition at line 35 of file vbawindow.hxx.