LCOV - code coverage report
Current view: top level - toolkit/inc/toolkit/controls - tabpagemodel.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 3 66.7 %
Date: 2012-08-25 Functions: 3 7 42.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3 16 18.8 %

           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                 :            : 
      29                 :            : #ifndef TOOLKIT_TABPAGE_MODEL_HXX
      30                 :            : #define TOOLKIT_TABPAGE_MODEL_HXX
      31                 :            : 
      32                 :            : #include <toolkit/controls/controlmodelcontainerbase.hxx>
      33                 :            : #include <com/sun/star/awt/tab/XTabPageModel.hpp>
      34                 :            : #include <com/sun/star/awt/tab/XTabPage.hpp>
      35                 :            : #include <com/sun/star/resource/XStringResourceResolver.hpp>
      36                 :            : #include <com/sun/star/lang/XInitialization.hpp>
      37                 :            : #include <com/sun/star/uno/XComponentContext.hpp>
      38                 :            : #include "toolkit/helper/servicenames.hxx"
      39                 :            : #include "toolkit/helper/macros.hxx"
      40                 :            : #include <toolkit/controls/unocontrolcontainer.hxx>
      41                 :            : #include <cppuhelper/basemutex.hxx>
      42                 :            : #include <list>
      43                 :            : #include <cppuhelper/implbase2.hxx>
      44                 :            : 
      45                 :            : //  ----------------------------------------------------
      46                 :            : //  class UnoControlTabPageModel
      47                 :            : //  ----------------------------------------------------
      48                 :            : 
      49         [ -  + ]:          4 : class UnoControlTabPageModel :  public ControlModelContainerBase
      50                 :            : {
      51                 :            : protected:
      52                 :            :     ::com::sun::star::uno::Any          ImplGetDefaultValue( sal_uInt16 nPropId ) const;
      53                 :            :     ::cppu::IPropertyArrayHelper&       SAL_CALL getInfoHelper();
      54                 :            : public:
      55                 :            :     UnoControlTabPageModel( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const & i_factory);
      56                 :            : 
      57                 :            :     // ::com::sun::star::io::XPersistObject
      58                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
      59                 :            : 
      60                 :            :     // ::com::sun::star::beans::XMultiPropertySet
      61                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
      62                 :            :     // XInitialization
      63                 :            :     virtual void SAL_CALL initialize (const com::sun::star::uno::Sequence<com::sun::star::uno::Any>& rArguments)
      64                 :            :             throw (com::sun::star::uno::Exception, com::sun::star::uno::RuntimeException);
      65                 :            : 
      66                 :            :     // XServiceInfo
      67 [ +  - ][ +  - ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlTabPageModel, ControlModelContainerBase, szServiceName_UnoControlTabPageModel )
      68                 :            : 
      69                 :            : };
      70                 :            : 
      71                 :            : //  ----------------------------------------------------
      72                 :            : //  class UnoTabPageControl
      73                 :            : //  ----------------------------------------------------
      74                 :            : typedef ::cppu::AggImplInheritanceHelper2   <   ControlContainerBase
      75                 :            :                                             ,   ::com::sun::star::awt::tab::XTabPage
      76                 :            :                                             ,   ::com::sun::star::awt::XWindowListener
      77                 :            :                                             >   UnoControlTabPage_Base;
      78                 :            : class UnoControlTabPage : public UnoControlTabPage_Base
      79                 :            : {
      80                 :            : private:
      81                 :            :     bool            m_bWindowListener;
      82                 :            : public:
      83                 :            : 
      84                 :            :     UnoControlTabPage( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
      85                 :            :     ~UnoControlTabPage();
      86                 :            :     ::rtl::OUString             GetComponentServiceName();
      87                 :            : 
      88                 :            :     void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException);
      89                 :            :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException);
      90                 :            :     void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
      91                 :            : 
      92                 :            :      // ::com::sun::star::awt::XWindowListener
      93                 :            :     virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& e ) throw (::com::sun::star::uno::RuntimeException);
      94                 :            :     virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& e ) throw (::com::sun::star::uno::RuntimeException);
      95                 :            :     virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
      96                 :            :     virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
      97                 :            :     // ::com::sun::star::lang::XServiceInfo
      98 [ #  # ][ #  # ]:          0 :     DECLIMPL_SERVICEINFO( UnoControlTabPage, szServiceName_UnoControlTabPage)
         [ #  # ][ #  # ]
                 [ #  # ]
      99                 :            : };
     100                 :            : 
     101                 :            : #endif // TOOLKIT_TABPAGE_MODEL_HXX
     102                 :            : 
     103                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10