LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScVbaPageSetup Class Reference

#include <vbapagesetup.hxx>

Inheritance diagram for ScVbaPageSetup:
[legend]
Collaboration diagram for ScVbaPageSetup:
[legend]

Public Member Functions

 ScVbaPageSetup (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::sheet::XSpreadsheet > xSheet, const css::uno::Reference< css::frame::XModel > &xModel)
 
virtual OUString SAL_CALL getPrintArea () override
 
virtual void SAL_CALL setPrintArea (const OUString &rAreas) override
 
virtual double SAL_CALL getHeaderMargin () override
 
void SAL_CALL setHeaderMargin (double margin) override
 
double SAL_CALL getFooterMargin () override
 
void SAL_CALL setFooterMargin (double margin) override
 
virtual css::uno::Any SAL_CALL getFitToPagesTall () override
 
virtual void SAL_CALL setFitToPagesTall (const css::uno::Any &fitToPagesTall) override
 
virtual css::uno::Any SAL_CALL getFitToPagesWide () override
 
virtual void SAL_CALL setFitToPagesWide (const css::uno::Any &fitToPagesWide) override
 
virtual css::uno::Any SAL_CALL getZoom () override
 
virtual void SAL_CALL setZoom (const css::uno::Any &zoom) override
 
virtual OUString SAL_CALL getLeftHeader () override
 
virtual void SAL_CALL setLeftHeader (const OUString &leftHeader) override
 
virtual OUString SAL_CALL getCenterHeader () override
 
virtual void SAL_CALL setCenterHeader (const OUString &centerHeader) override
 
virtual OUString SAL_CALL getRightHeader () override
 
virtual void SAL_CALL setRightHeader (const OUString &rightHeader) override
 
virtual OUString SAL_CALL getLeftFooter () override
 
virtual void SAL_CALL setLeftFooter (const OUString &leftFooter) override
 
virtual OUString SAL_CALL getCenterFooter () override
 
virtual void SAL_CALL setCenterFooter (const OUString &centerFooter) override
 
virtual OUString SAL_CALL getRightFooter () override
 
virtual void SAL_CALL setRightFooter (const OUString &rightFooter) override
 
virtual sal_Int32 SAL_CALL getOrder () override
 
virtual void SAL_CALL setOrder (sal_Int32 order) override
 
virtual sal_Int32 SAL_CALL getFirstPageNumber () override
 
virtual void SAL_CALL setFirstPageNumber (sal_Int32 firstPageNumber) override
 
virtual sal_Bool SAL_CALL getCenterVertically () override
 
virtual void SAL_CALL setCenterVertically (sal_Bool centerVertically) override
 
virtual sal_Bool SAL_CALL getCenterHorizontally () override
 
virtual void SAL_CALL setCenterHorizontally (sal_Bool centerHorizontally) override
 
virtual sal_Bool SAL_CALL getPrintHeadings () override
 
virtual void SAL_CALL setPrintHeadings (sal_Bool printHeadings) override
 
virtual sal_Bool SAL_CALL getPrintGridlines () override
 
virtual void SAL_CALL setPrintGridlines (sal_Bool _printgridlines) override
 
virtual OUString SAL_CALL getPrintTitleRows () override
 
virtual void SAL_CALL setPrintTitleRows (const OUString &_printtitlerows) override
 
virtual OUString SAL_CALL getPrintTitleColumns () override
 
virtual void SAL_CALL setPrintTitleColumns (const OUString &_printtitlecolumns) override
 
virtual sal_Int32 SAL_CALL getPaperSize () override
 
virtual void SAL_CALL setPaperSize (sal_Int32 papersize) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Private Attributes

css::uno::Reference< css::sheet::XSpreadsheet > mxSheet
 
bool mbIsLandscape
 

Detailed Description

Definition at line 29 of file vbapagesetup.hxx.

Constructor & Destructor Documentation

◆ ScVbaPageSetup()

ScVbaPageSetup::ScVbaPageSetup ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::sheet::XSpreadsheet >  xSheet,
const css::uno::Reference< css::frame::XModel > &  xModel 
)
Exceptions
css::uno::RuntimeException

Definition at line 44 of file vbapagesetup.cxx.

References mbIsLandscape, mxModel, mxSheet, and xModel.

Member Function Documentation

◆ getCenterFooter()

OUString SAL_CALL ScVbaPageSetup::getCenterFooter ( )
overridevirtual

Definition at line 354 of file vbapagesetup.cxx.

◆ getCenterHeader()

OUString SAL_CALL ScVbaPageSetup::getCenterHeader ( )
overridevirtual

Definition at line 264 of file vbapagesetup.cxx.

◆ getCenterHorizontally()

sal_Bool SAL_CALL ScVbaPageSetup::getCenterHorizontally ( )
overridevirtual

Definition at line 517 of file vbapagesetup.cxx.

◆ getCenterVertically()

sal_Bool SAL_CALL ScVbaPageSetup::getCenterVertically ( )
overridevirtual

Definition at line 492 of file vbapagesetup.cxx.

◆ getFirstPageNumber()

sal_Int32 SAL_CALL ScVbaPageSetup::getFirstPageNumber ( )
overridevirtual

Definition at line 456 of file vbapagesetup.cxx.

◆ getFitToPagesTall()

uno::Any SAL_CALL ScVbaPageSetup::getFitToPagesTall ( )
overridevirtual

Definition at line 140 of file vbapagesetup.cxx.

◆ getFitToPagesWide()

uno::Any SAL_CALL ScVbaPageSetup::getFitToPagesWide ( )
overridevirtual

Definition at line 163 of file vbapagesetup.cxx.

◆ getFooterMargin()

double SAL_CALL ScVbaPageSetup::getFooterMargin ( )
override

Definition at line 130 of file vbapagesetup.cxx.

References VbaPageSetupBase::getFooterMargin().

◆ getHeaderMargin()

double SAL_CALL ScVbaPageSetup::getHeaderMargin ( )
overridevirtual

Definition at line 120 of file vbapagesetup.cxx.

References VbaPageSetupBase::getHeaderMargin().

◆ getLeftFooter()

OUString SAL_CALL ScVbaPageSetup::getLeftFooter ( )
overridevirtual

Definition at line 324 of file vbapagesetup.cxx.

◆ getLeftHeader()

OUString SAL_CALL ScVbaPageSetup::getLeftHeader ( )
overridevirtual

Definition at line 234 of file vbapagesetup.cxx.

◆ getOrder()

sal_Int32 SAL_CALL ScVbaPageSetup::getOrder ( )
overridevirtual

Definition at line 415 of file vbapagesetup.cxx.

◆ getPaperSize()

sal_Int32 SAL_CALL ScVbaPageSetup::getPaperSize ( )
overridevirtual

◆ getPrintArea()

OUString SAL_CALL ScVbaPageSetup::getPrintArea ( )
overridevirtual

◆ getPrintGridlines()

sal_Bool SAL_CALL ScVbaPageSetup::getPrintGridlines ( )
overridevirtual

Definition at line 567 of file vbapagesetup.cxx.

◆ getPrintHeadings()

sal_Bool SAL_CALL ScVbaPageSetup::getPrintHeadings ( )
overridevirtual

Definition at line 542 of file vbapagesetup.cxx.

◆ getPrintTitleColumns()

OUString SAL_CALL ScVbaPageSetup::getPrintTitleColumns ( )
overridevirtual

Definition at line 583 of file vbapagesetup.cxx.

◆ getPrintTitleRows()

OUString SAL_CALL ScVbaPageSetup::getPrintTitleRows ( )
overridevirtual

Definition at line 576 of file vbapagesetup.cxx.

◆ getRightFooter()

OUString SAL_CALL ScVbaPageSetup::getRightFooter ( )
overridevirtual

Definition at line 385 of file vbapagesetup.cxx.

◆ getRightHeader()

OUString SAL_CALL ScVbaPageSetup::getRightHeader ( )
overridevirtual

Definition at line 294 of file vbapagesetup.cxx.

◆ getServiceImplName()

OUString ScVbaPageSetup::getServiceImplName ( )
overridevirtual

Definition at line 620 of file vbapagesetup.cxx.

◆ getServiceNames()

uno::Sequence< OUString > ScVbaPageSetup::getServiceNames ( )
overridevirtual

Definition at line 626 of file vbapagesetup.cxx.

References aServiceNames.

◆ getZoom()

uno::Any SAL_CALL ScVbaPageSetup::getZoom ( )
overridevirtual

Definition at line 186 of file vbapagesetup.cxx.

◆ setCenterFooter()

void SAL_CALL ScVbaPageSetup::setCenterFooter ( const OUString &  centerFooter)
overridevirtual

Definition at line 370 of file vbapagesetup.cxx.

◆ setCenterHeader()

void SAL_CALL ScVbaPageSetup::setCenterHeader ( const OUString &  centerHeader)
overridevirtual

Definition at line 280 of file vbapagesetup.cxx.

◆ setCenterHorizontally()

void SAL_CALL ScVbaPageSetup::setCenterHorizontally ( sal_Bool  centerHorizontally)
overridevirtual

Definition at line 531 of file vbapagesetup.cxx.

◆ setCenterVertically()

void SAL_CALL ScVbaPageSetup::setCenterVertically ( sal_Bool  centerVertically)
overridevirtual

Definition at line 506 of file vbapagesetup.cxx.

◆ setFirstPageNumber()

void SAL_CALL ScVbaPageSetup::setFirstPageNumber ( sal_Int32  firstPageNumber)
overridevirtual

Definition at line 476 of file vbapagesetup.cxx.

◆ setFitToPagesTall()

void SAL_CALL ScVbaPageSetup::setFitToPagesTall ( const css::uno::Any &  fitToPagesTall)
overridevirtual

Definition at line 145 of file vbapagesetup.cxx.

◆ setFitToPagesWide()

void SAL_CALL ScVbaPageSetup::setFitToPagesWide ( const css::uno::Any &  fitToPagesWide)
overridevirtual

Definition at line 168 of file vbapagesetup.cxx.

◆ setFooterMargin()

void SAL_CALL ScVbaPageSetup::setFooterMargin ( double  margin)
override

Definition at line 135 of file vbapagesetup.cxx.

References VbaPageSetupBase::setFooterMargin().

◆ setHeaderMargin()

void SAL_CALL ScVbaPageSetup::setHeaderMargin ( double  margin)
override

Definition at line 125 of file vbapagesetup.cxx.

References VbaPageSetupBase::setHeaderMargin().

◆ setLeftFooter()

void SAL_CALL ScVbaPageSetup::setLeftFooter ( const OUString &  leftFooter)
overridevirtual

Definition at line 340 of file vbapagesetup.cxx.

◆ setLeftHeader()

void SAL_CALL ScVbaPageSetup::setLeftHeader ( const OUString &  leftHeader)
overridevirtual

Definition at line 250 of file vbapagesetup.cxx.

◆ setOrder()

void SAL_CALL ScVbaPageSetup::setOrder ( sal_Int32  order)
overridevirtual

Definition at line 433 of file vbapagesetup.cxx.

References ERRCODE_BASIC_BAD_PARAMETER.

◆ setPaperSize()

void SAL_CALL ScVbaPageSetup::setPaperSize ( sal_Int32  papersize)
overridevirtual

◆ setPrintArea()

void SAL_CALL ScVbaPageSetup::setPrintArea ( const OUString &  rAreas)
overridevirtual

◆ setPrintGridlines()

void SAL_CALL ScVbaPageSetup::setPrintGridlines ( sal_Bool  _printgridlines)
overridevirtual

Definition at line 572 of file vbapagesetup.cxx.

◆ setPrintHeadings()

void SAL_CALL ScVbaPageSetup::setPrintHeadings ( sal_Bool  printHeadings)
overridevirtual

Definition at line 556 of file vbapagesetup.cxx.

◆ setPrintTitleColumns()

void SAL_CALL ScVbaPageSetup::setPrintTitleColumns ( const OUString &  _printtitlecolumns)
overridevirtual

Definition at line 588 of file vbapagesetup.cxx.

◆ setPrintTitleRows()

void SAL_CALL ScVbaPageSetup::setPrintTitleRows ( const OUString &  _printtitlerows)
overridevirtual

Definition at line 580 of file vbapagesetup.cxx.

◆ setRightFooter()

void SAL_CALL ScVbaPageSetup::setRightFooter ( const OUString &  rightFooter)
overridevirtual

Definition at line 401 of file vbapagesetup.cxx.

◆ setRightHeader()

void SAL_CALL ScVbaPageSetup::setRightHeader ( const OUString &  rightHeader)
overridevirtual

Definition at line 310 of file vbapagesetup.cxx.

◆ setZoom()

void SAL_CALL ScVbaPageSetup::setZoom ( const css::uno::Any &  zoom)
overridevirtual

Definition at line 191 of file vbapagesetup.cxx.

References ERRCODE_BASIC_BAD_PARAMETER, ZOOM_IN, and ZOOM_MAX.

Member Data Documentation

◆ mbIsLandscape

bool ScVbaPageSetup::mbIsLandscape
private

Definition at line 32 of file vbapagesetup.hxx.

Referenced by getPaperSize(), ScVbaPageSetup(), and setPaperSize().

◆ mxSheet

css::uno::Reference<css::sheet::XSpreadsheet> ScVbaPageSetup::mxSheet
private

Definition at line 31 of file vbapagesetup.hxx.

Referenced by getPrintArea(), ScVbaPageSetup(), and setPrintArea().


The documentation for this class was generated from the following files: