LCOV - code coverage report
Current view: top level - sc/source/ui/vba - vbapagebreaks.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-08-25 Functions: 0 2 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 2 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : #ifndef SC_VBA_PAGEBREAKS_HXX
      29                 :            : #define SC_VBA_PAGEBREAKS_HXX
      30                 :            : 
      31                 :            : #include <cppuhelper/implbase1.hxx>
      32                 :            : #include <ooo/vba/excel/XHPageBreaks.hpp>
      33                 :            : #include <ooo/vba/excel/XHPageBreak.hpp>
      34                 :            : #include <ooo/vba/excel/XVPageBreaks.hpp>
      35                 :            : #include <ooo/vba/excel/XVPageBreak.hpp>
      36                 :            : #include <ooo/vba/excel/XRange.hpp>
      37                 :            : #include <com/sun/star/uno/XComponentContext.hpp>
      38                 :            : #include <com/sun/star/script/BasicErrorException.hpp>
      39                 :            : #include <com/sun/star/sheet/XSheetPageBreak.hpp>
      40                 :            : #include <com/sun/star/sheet/TablePageBreakData.hpp>
      41                 :            : #include <com/sun/star/beans/XPropertySet.hpp>
      42                 :            : #include <com/sun/star/container/XIndexAccess.hpp>
      43                 :            : #include <com/sun/star/table/XColumnRowRange.hpp>
      44                 :            : #include <vbahelper/vbahelperinterface.hxx>
      45                 :            : #include <vbahelper/vbacollectionimpl.hxx>
      46                 :            : 
      47                 :            : typedef CollTestImplHelper< ov::excel::XHPageBreaks > ScVbaHPageBreaks_BASE;
      48                 :            : 
      49                 :            : class ScVbaHPageBreaks : public ScVbaHPageBreaks_BASE
      50                 :            : {
      51                 :            :     css::uno::Reference< css::sheet::XSheetPageBreak > mxSheetPageBreak;
      52                 :            : public:
      53                 :            :     ScVbaHPageBreaks( const css::uno::Reference< ov::XHelperInterface >& xParent,
      54                 :            :                     const css::uno::Reference< css::uno::XComponentContext >& xContext,
      55                 :            :                     css::uno::Reference< css::sheet::XSheetPageBreak >& xSheetPageBreak) throw (css::uno::RuntimeException);
      56         [ #  # ]:          0 :     virtual ~ScVbaHPageBreaks(){}
      57                 :            : 
      58                 :            :     // XHPageBreaks
      59                 :            :     virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before) throw ( css::script::BasicErrorException, css::uno::RuntimeException);
      60                 :            : 
      61                 :            :     // XEnumerationAccess
      62                 :            :     virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException);
      63                 :            :     virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException);
      64                 :            :     virtual css::uno::Any createCollectionObject(const css::uno::Any&);
      65                 :            : 
      66                 :            :     // XHelperInterface
      67                 :            :     virtual rtl::OUString getServiceImplName();
      68                 :            :     virtual css::uno::Sequence<rtl::OUString> getServiceNames();
      69                 :            : };
      70                 :            : 
      71                 :            : //VPageBreaks
      72                 :            : typedef CollTestImplHelper< ov::excel::XVPageBreaks > ScVbaVPageBreaks_BASE;
      73                 :            : 
      74                 :            : class ScVbaVPageBreaks : public ScVbaVPageBreaks_BASE
      75                 :            : {
      76                 :            :     css::uno::Reference< css::sheet::XSheetPageBreak > mxSheetPageBreak;
      77                 :            : 
      78                 :            : public:
      79                 :            :     ScVbaVPageBreaks( const css::uno::Reference< ov::XHelperInterface >& xParent,
      80                 :            :                       const css::uno::Reference< css::uno::XComponentContext >& xContext,
      81                 :            :                       css::uno::Reference< css::sheet::XSheetPageBreak >& xSheetPageBreak ) throw ( css::uno::RuntimeException );
      82                 :            : 
      83                 :            :     virtual ~ScVbaVPageBreaks();
      84                 :            : 
      85                 :            :     // XVPageBreaks
      86                 :            :     virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before ) throw ( css::script::BasicErrorException, css::uno::RuntimeException );
      87                 :            : 
      88                 :            :     // XEnumerationAccess
      89                 :            :     virtual css::uno::Type SAL_CALL getElementType() throw ( css::uno::RuntimeException );
      90                 :            :     virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw ( css::uno::RuntimeException );
      91                 :            :     virtual css::uno::Any createCollectionObject( const css::uno::Any& );
      92                 :            : 
      93                 :            :     // XHelperInterface
      94                 :            :     virtual rtl::OUString getServiceImplName();
      95                 :            :     virtual css::uno::Sequence<rtl::OUString> getServiceNames();
      96                 :            : };
      97                 :            : 
      98                 :            : #endif
      99                 :            : 
     100                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10