LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/vba - vbaheaderfooter.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-17 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 SW_VBA_HEADERFOOTER_HXX
      20             : #define SW_VBA_HEADERFOOTER_HXX
      21             : 
      22             : #include <ooo/vba/word/XHeaderFooter.hpp>
      23             : #include <ooo/vba/word/XRange.hpp>
      24             : #include <vbahelper/vbahelperinterface.hxx>
      25             : #include <cppuhelper/implbase1.hxx>
      26             : 
      27             : typedef InheritedHelperInterfaceImpl1< ooo::vba::word::XHeaderFooter > SwVbaHeaderFooter_BASE;
      28             : 
      29             : class SwVbaHeaderFooter : public SwVbaHeaderFooter_BASE
      30             : {
      31             : private:
      32             :     css::uno::Reference< css::frame::XModel > mxModel;
      33             :     css::uno::Reference< css::beans::XPropertySet > mxPageStyleProps;
      34             :     sal_Bool mbHeader;
      35             :     sal_Int32 mnIndex;
      36             : 
      37             : public:
      38             :     SwVbaHeaderFooter( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::beans::XPropertySet >& xProps, sal_Bool isHeader, sal_Int32 index ) throw ( css::uno::RuntimeException );
      39           0 :     virtual ~SwVbaHeaderFooter(){}
      40             : 
      41             :     // Attributes
      42             :     virtual ::sal_Bool SAL_CALL getIsHeader() throw (css::uno::RuntimeException);
      43             :     virtual ::sal_Bool SAL_CALL getLinkToPrevious() throw (css::uno::RuntimeException);
      44             :     virtual void SAL_CALL setLinkToPrevious( ::sal_Bool _linktoprevious ) throw (css::uno::RuntimeException);
      45             :     virtual css::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL getRange() throw (css::uno::RuntimeException);
      46             :     virtual css::uno::Any SAL_CALL Shapes( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
      47             : 
      48             :     // XHelperInterface
      49             :     virtual rtl::OUString getServiceImplName();
      50             :     virtual css::uno::Sequence<rtl::OUString> getServiceNames();
      51             : };
      52             : #endif /* SW_VBA_HEADERFOOTER_HXX */
      53             : 
      54             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10