LCOV - code coverage report
Current view: top level - sw/source/ui/vba - vbapagesetup.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 1 0.0 %
Date: 2014-04-14 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 INCLUDED_SW_SOURCE_UI_VBA_VBAPAGESETUP_HXX
      20             : #define INCLUDED_SW_SOURCE_UI_VBA_VBAPAGESETUP_HXX
      21             : 
      22             : #include <cppuhelper/implbase1.hxx>
      23             : #include <ooo/vba/word/XPageSetup.hpp>
      24             : #include <com/sun/star/uno/XComponentContext.hpp>
      25             : #include <com/sun/star/beans/XPropertySet.hpp>
      26             : #include <vbahelper/vbahelperinterface.hxx>
      27             : #include <vbahelper/vbapagesetupbase.hxx>
      28             : 
      29             : typedef cppu::ImplInheritanceHelper1< VbaPageSetupBase, ooo::vba::word::XPageSetup > SwVbaPageSetup_BASE;
      30             : 
      31             : class SwVbaPageSetup :  public SwVbaPageSetup_BASE
      32             : {
      33             : private:
      34             :     OUString getStyleOfFirstPage() throw (css::uno::RuntimeException);
      35             : 
      36             : public:
      37             :     SwVbaPageSetup( const css::uno::Reference< ooo::vba::XHelperInterface >& xParent,
      38             :                     const css::uno::Reference< css::uno::XComponentContext >& xContext,
      39             :                     const css::uno::Reference< css::frame::XModel >& xModel,
      40             :                     const css::uno::Reference< css::beans::XPropertySet >& xProps ) throw (css::uno::RuntimeException);
      41           0 :     virtual ~SwVbaPageSetup(){}
      42             : 
      43             :     // Attributes
      44             :     virtual double SAL_CALL getGutter() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      45             :     virtual void SAL_CALL setGutter( double _gutter ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      46             :     virtual double SAL_CALL getHeaderDistance() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      47             :     virtual void SAL_CALL setHeaderDistance( double _headerdistance ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      48             :     virtual double SAL_CALL getFooterDistance() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      49             :     virtual void SAL_CALL setFooterDistance( double _footerdistance ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      50             :     virtual sal_Bool SAL_CALL getDifferentFirstPageHeaderFooter() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      51             :     virtual void SAL_CALL setDifferentFirstPageHeaderFooter( sal_Bool status ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      52             :     virtual ::sal_Int32 SAL_CALL getSectionStart() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      53             :     virtual void SAL_CALL setSectionStart( ::sal_Int32 _sectionstart ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      54             : 
      55             :     // XHelperInterface
      56             :     virtual OUString getServiceImplName() SAL_OVERRIDE;
      57             :     virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
      58             : };
      59             : #endif
      60             : 
      61             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10