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, const 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 30 of file vbapagesetup.hxx.

Constructor & Destructor Documentation

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

Definition at line 43 of file vbapagesetup.cxx.

References mbIsLandscape, mxModel, and mxSheet.

Member Function Documentation

OUString SAL_CALL ScVbaPageSetup::getCenterFooter ( )
overridevirtual

Definition at line 349 of file vbapagesetup.cxx.

OUString SAL_CALL ScVbaPageSetup::getCenterHeader ( )
overridevirtual

Definition at line 259 of file vbapagesetup.cxx.

sal_Bool SAL_CALL ScVbaPageSetup::getCenterHorizontally ( )
overridevirtual

Definition at line 512 of file vbapagesetup.cxx.

sal_Bool SAL_CALL ScVbaPageSetup::getCenterVertically ( )
overridevirtual

Definition at line 487 of file vbapagesetup.cxx.

sal_Int32 SAL_CALL ScVbaPageSetup::getFirstPageNumber ( )
overridevirtual

Definition at line 451 of file vbapagesetup.cxx.

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

Definition at line 135 of file vbapagesetup.cxx.

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

Definition at line 158 of file vbapagesetup.cxx.

double SAL_CALL ScVbaPageSetup::getFooterMargin ( )
override

Definition at line 125 of file vbapagesetup.cxx.

References VbaPageSetupBase::getFooterMargin().

double SAL_CALL ScVbaPageSetup::getHeaderMargin ( )
overridevirtual

Definition at line 115 of file vbapagesetup.cxx.

References VbaPageSetupBase::getHeaderMargin().

OUString SAL_CALL ScVbaPageSetup::getLeftFooter ( )
overridevirtual

Definition at line 319 of file vbapagesetup.cxx.

OUString SAL_CALL ScVbaPageSetup::getLeftHeader ( )
overridevirtual

Definition at line 229 of file vbapagesetup.cxx.

sal_Int32 SAL_CALL ScVbaPageSetup::getOrder ( )
overridevirtual

Definition at line 410 of file vbapagesetup.cxx.

sal_Int32 SAL_CALL ScVbaPageSetup::getPaperSize ( )
overridevirtual
OUString SAL_CALL ScVbaPageSetup::getPrintArea ( )
overridevirtual
sal_Bool SAL_CALL ScVbaPageSetup::getPrintGridlines ( )
overridevirtual

Definition at line 562 of file vbapagesetup.cxx.

sal_Bool SAL_CALL ScVbaPageSetup::getPrintHeadings ( )
overridevirtual

Definition at line 537 of file vbapagesetup.cxx.

OUString SAL_CALL ScVbaPageSetup::getPrintTitleColumns ( )
overridevirtual

Definition at line 578 of file vbapagesetup.cxx.

OUString SAL_CALL ScVbaPageSetup::getPrintTitleRows ( )
overridevirtual

Definition at line 571 of file vbapagesetup.cxx.

OUString SAL_CALL ScVbaPageSetup::getRightFooter ( )
overridevirtual

Definition at line 380 of file vbapagesetup.cxx.

OUString SAL_CALL ScVbaPageSetup::getRightHeader ( )
overridevirtual

Definition at line 289 of file vbapagesetup.cxx.

OUString ScVbaPageSetup::getServiceImplName ( )
overridevirtual

Definition at line 615 of file vbapagesetup.cxx.

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

Definition at line 621 of file vbapagesetup.cxx.

References aServiceNames.

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

Definition at line 181 of file vbapagesetup.cxx.

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

Definition at line 365 of file vbapagesetup.cxx.

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

Definition at line 275 of file vbapagesetup.cxx.

void SAL_CALL ScVbaPageSetup::setCenterHorizontally ( sal_Bool  centerHorizontally)
overridevirtual

Definition at line 526 of file vbapagesetup.cxx.

void SAL_CALL ScVbaPageSetup::setCenterVertically ( sal_Bool  centerVertically)
overridevirtual

Definition at line 501 of file vbapagesetup.cxx.

void SAL_CALL ScVbaPageSetup::setFirstPageNumber ( sal_Int32  firstPageNumber)
overridevirtual

Definition at line 471 of file vbapagesetup.cxx.

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

Definition at line 140 of file vbapagesetup.cxx.

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

Definition at line 163 of file vbapagesetup.cxx.

void SAL_CALL ScVbaPageSetup::setFooterMargin ( double  margin)
override

Definition at line 130 of file vbapagesetup.cxx.

References VbaPageSetupBase::setFooterMargin().

void SAL_CALL ScVbaPageSetup::setHeaderMargin ( double  margin)
override

Definition at line 120 of file vbapagesetup.cxx.

References VbaPageSetupBase::setHeaderMargin().

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

Definition at line 335 of file vbapagesetup.cxx.

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

Definition at line 245 of file vbapagesetup.cxx.

void SAL_CALL ScVbaPageSetup::setOrder ( sal_Int32  order)
overridevirtual

Definition at line 428 of file vbapagesetup.cxx.

References ERRCODE_BASIC_BAD_PARAMETER.

void SAL_CALL ScVbaPageSetup::setPaperSize ( sal_Int32  papersize)
overridevirtual
void SAL_CALL ScVbaPageSetup::setPrintArea ( const OUString &  rAreas)
overridevirtual
void SAL_CALL ScVbaPageSetup::setPrintGridlines ( sal_Bool  _printgridlines)
overridevirtual

Definition at line 567 of file vbapagesetup.cxx.

void SAL_CALL ScVbaPageSetup::setPrintHeadings ( sal_Bool  printHeadings)
overridevirtual

Definition at line 551 of file vbapagesetup.cxx.

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

Definition at line 583 of file vbapagesetup.cxx.

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

Definition at line 575 of file vbapagesetup.cxx.

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

Definition at line 396 of file vbapagesetup.cxx.

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

Definition at line 305 of file vbapagesetup.cxx.

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

Definition at line 186 of file vbapagesetup.cxx.

References ERRCODE_BASIC_BAD_PARAMETER, ZOOM_IN, and ZOOM_MAX.

Member Data Documentation

bool ScVbaPageSetup::mbIsLandscape
private

Definition at line 33 of file vbapagesetup.hxx.

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

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

Definition at line 32 of file vbapagesetup.hxx.

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


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