LibreOffice Module sc (master) 1
|
#include <vbapagesetup.hxx>
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 ¢erHeader) 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 ¢erFooter) 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 |
Definition at line 29 of file vbapagesetup.hxx.
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 | ||
) |
css::uno::RuntimeException |
Definition at line 44 of file vbapagesetup.cxx.
References mbIsLandscape, mxModel, mxSheet, and xModel.
|
overridevirtual |
Definition at line 354 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 264 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 517 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 492 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 456 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 140 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 163 of file vbapagesetup.cxx.
|
override |
Definition at line 130 of file vbapagesetup.cxx.
References VbaPageSetupBase::getFooterMargin().
|
overridevirtual |
Definition at line 120 of file vbapagesetup.cxx.
References VbaPageSetupBase::getHeaderMargin().
|
overridevirtual |
Definition at line 324 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 234 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 415 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 592 of file vbapagesetup.cxx.
References msfilter::util::PaperSizeConv::getMSPaperSizeIndex(), and mbIsLandscape.
|
overridevirtual |
Definition at line 66 of file vbapagesetup.cxx.
References aSeq, formula::FormulaGrammar::CONV_XL_A1, ScUnoConversion::FillScRange(), ScRangeList::Format(), ooo::vba::excel::getDocShell(), mxModel, mxSheet, ScRangeList::push_back(), and RANGE_ABS.
|
overridevirtual |
Definition at line 567 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 542 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 583 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 576 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 385 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 294 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 620 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 626 of file vbapagesetup.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 186 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 370 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 280 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 531 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 506 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 476 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 145 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 168 of file vbapagesetup.cxx.
|
override |
Definition at line 135 of file vbapagesetup.cxx.
References VbaPageSetupBase::setFooterMargin().
|
override |
Definition at line 125 of file vbapagesetup.cxx.
References VbaPageSetupBase::setHeaderMargin().
|
overridevirtual |
Definition at line 340 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 250 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 433 of file vbapagesetup.cxx.
References ERRCODE_BASIC_BAD_PARAMETER.
|
overridevirtual |
Definition at line 605 of file vbapagesetup.cxx.
References msfilter::util::PaperSizeConv::getApiSizeForMSPaperSizeIndex(), mbIsLandscape, msfilter::util::ApiPaperSize::mnHeight, and msfilter::util::ApiPaperSize::mnWidth.
|
overridevirtual |
Definition at line 90 of file vbapagesetup.cxx.
References aSeq, ScUnoConversion::FillApiRange(), ooo::vba::excel::getDocShell(), getScRangeListForAddress(), i, mxModel, mxSheet, and ScRangeList::size().
|
overridevirtual |
Definition at line 572 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 556 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 588 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 580 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 401 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 310 of file vbapagesetup.cxx.
|
overridevirtual |
Definition at line 191 of file vbapagesetup.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, ZOOM_IN, and ZOOM_MAX.
|
private |
Definition at line 32 of file vbapagesetup.hxx.
Referenced by getPaperSize(), ScVbaPageSetup(), and setPaperSize().
|
private |
Definition at line 31 of file vbapagesetup.hxx.
Referenced by getPrintArea(), ScVbaPageSetup(), and setPrintArea().