LCOV - code coverage report
Current view: top level - libreoffice/sc/source/ui/vba - vbapagesetup.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef SC_VBA_PAGESETUP_HXX
      20             : #define SC_VBA_PAGESETUP_HXX
      21             : 
      22             : #include <cppuhelper/implbase1.hxx>
      23             : #include <ooo/vba/excel/XPageSetup.hpp>
      24             : #include <com/sun/star/uno/XComponentContext.hpp>
      25             : #include <com/sun/star/sheet/XSpreadsheet.hpp>
      26             : #include <com/sun/star/beans/XPropertySet.hpp>
      27             : #include <vbahelper/vbahelperinterface.hxx>
      28             : #include <vbahelper/vbapagesetupbase.hxx>
      29             : 
      30             : typedef cppu::ImplInheritanceHelper1< VbaPageSetupBase, ov::excel::XPageSetup > ScVbaPageSetup_BASE;
      31             : 
      32             : class ScVbaPageSetup :  public ScVbaPageSetup_BASE
      33             : {
      34             :     css::uno::Reference< css::sheet::XSpreadsheet > mxSheet;
      35             : public:
      36             :     ScVbaPageSetup( const css::uno::Reference< ov::XHelperInterface >& xParent,
      37             :                     const css::uno::Reference< css::uno::XComponentContext >& xContext,
      38             :                     const css::uno::Reference< css::sheet::XSpreadsheet>& xSheet,
      39             :                     const css::uno::Reference< css::frame::XModel >& xModel) throw (css::uno::RuntimeException);
      40           0 :     virtual ~ScVbaPageSetup(){}
      41             : 
      42             :     // Attribute
      43             :     virtual rtl::OUString SAL_CALL getPrintArea() throw (css::uno::RuntimeException);
      44             :     virtual void SAL_CALL setPrintArea( const rtl::OUString& rAreas ) throw (css::uno::RuntimeException);
      45             :     virtual double SAL_CALL getHeaderMargin() throw (css::uno::RuntimeException);
      46             :     void SAL_CALL setHeaderMargin( double margin ) throw (css::uno::RuntimeException);
      47             :     double SAL_CALL getFooterMargin() throw (css::uno::RuntimeException);
      48             :     void SAL_CALL setFooterMargin( double margin ) throw (css::uno::RuntimeException);
      49             :     virtual css::uno::Any SAL_CALL getFitToPagesTall() throw (css::uno::RuntimeException);
      50             :     virtual void SAL_CALL setFitToPagesTall( const css::uno::Any& fitToPagesTall ) throw (css::uno::RuntimeException);
      51             :     virtual css::uno::Any SAL_CALL getFitToPagesWide() throw (css::uno::RuntimeException);
      52             :     virtual void SAL_CALL setFitToPagesWide( const css::uno::Any& fitToPagesWide ) throw (css::uno::RuntimeException);
      53             :     virtual css::uno::Any SAL_CALL getZoom() throw (css::uno::RuntimeException);
      54             :     virtual void SAL_CALL setZoom( const css::uno::Any& zoom ) throw (css::uno::RuntimeException);
      55             :     virtual rtl::OUString SAL_CALL getLeftHeader() throw (css::uno::RuntimeException);
      56             :     virtual void SAL_CALL setLeftHeader( const rtl::OUString& leftHeader ) throw (css::uno::RuntimeException);
      57             :     virtual rtl::OUString SAL_CALL getCenterHeader() throw (css::uno::RuntimeException);
      58             :     virtual void SAL_CALL setCenterHeader( const rtl::OUString& centerHeader ) throw (css::uno::RuntimeException);
      59             :     virtual rtl::OUString SAL_CALL getRightHeader() throw (css::uno::RuntimeException);
      60             :     virtual void SAL_CALL setRightHeader( const rtl::OUString& rightHeader ) throw (css::uno::RuntimeException);
      61             :     virtual rtl::OUString SAL_CALL getLeftFooter() throw (css::uno::RuntimeException);
      62             :     virtual void SAL_CALL setLeftFooter( const rtl::OUString& leftFooter ) throw (css::uno::RuntimeException);
      63             :     virtual rtl::OUString SAL_CALL getCenterFooter() throw (css::uno::RuntimeException);
      64             :     virtual void SAL_CALL setCenterFooter( const rtl::OUString& centerFooter ) throw (css::uno::RuntimeException);
      65             :     virtual rtl::OUString SAL_CALL getRightFooter() throw (css::uno::RuntimeException);
      66             :     virtual void SAL_CALL setRightFooter( const rtl::OUString& rightFooter ) throw (css::uno::RuntimeException);
      67             :     virtual sal_Int32 SAL_CALL getOrder() throw (css::uno::RuntimeException);
      68             :     virtual void SAL_CALL setOrder( sal_Int32 order ) throw (css::uno::RuntimeException);
      69             :     virtual sal_Int32 SAL_CALL getFirstPageNumber() throw (css::uno::RuntimeException);
      70             :     virtual void SAL_CALL setFirstPageNumber( sal_Int32 firstPageNumber ) throw (css::uno::RuntimeException);
      71             :     virtual sal_Bool SAL_CALL getCenterVertically() throw (css::uno::RuntimeException);
      72             :     virtual void SAL_CALL setCenterVertically( sal_Bool centerVertically ) throw (css::uno::RuntimeException);
      73             :     virtual sal_Bool SAL_CALL getCenterHorizontally() throw (css::uno::RuntimeException);
      74             :     virtual void SAL_CALL setCenterHorizontally( sal_Bool centerHorizontally ) throw (css::uno::RuntimeException);
      75             :     virtual sal_Bool SAL_CALL getPrintHeadings() throw (css::uno::RuntimeException);
      76             :     virtual void SAL_CALL setPrintHeadings( sal_Bool printHeadings ) throw (css::uno::RuntimeException);
      77             : 
      78             :     // XHelperInterface
      79             :     virtual rtl::OUString getServiceImplName();
      80             :     virtual css::uno::Sequence<rtl::OUString> getServiceNames();
      81             : };
      82             : #endif
      83             : 
      84             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10