LCOV - code coverage report
Current view: top level - reportdesign/source/ui/inc - statusbarcontroller.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 0 -

           Branch data     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 RPTUI_STATUSBARCONTROLLER_HXX
      20                 :            : #define RPTUI_STATUSBARCONTROLLER_HXX
      21                 :            : 
      22                 :            : #include <svtools/statusbarcontroller.hxx>
      23                 :            : #include <comphelper/uno3.hxx>
      24                 :            : #include <com/sun/star/lang/XServiceInfo.hpp>
      25                 :            : #include <cppuhelper/implbase1.hxx>
      26                 :            : #include <comphelper/implementationreference.hxx>
      27                 :            : 
      28                 :            : class SfxStatusBarControl;
      29                 :            : namespace rptui
      30                 :            : {
      31                 :            :     typedef ::comphelper::ImplementationReference<SfxStatusBarControl,::com::sun::star::frame::XStatusbarController> TStatusbarHelper;
      32                 :            : 
      33                 :            :     typedef ::cppu::ImplHelper1 <   ::com::sun::star::lang::XServiceInfo> OStatusbarController_BASE;
      34                 :          0 :     class OStatusbarController : public ::svt::StatusbarController,
      35                 :            :                                  public OStatusbarController_BASE
      36                 :            :     {
      37                 :            :         TStatusbarHelper m_pController;
      38                 :            :         sal_uInt16       m_nSlotId;
      39                 :            :         sal_uInt16       m_nId;
      40                 :            :     public:
      41                 :            :         OStatusbarController(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB);
      42                 :            : 
      43                 :            :         static ::rtl::OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException );
      44                 :            :         static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static(void) throw( ::com::sun::star::uno::RuntimeException );
      45                 :            :         static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
      46                 :            :             create(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext);
      47                 :            : 
      48                 :            :     private:
      49                 :            :         void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException);
      50                 :            :         // XInterface
      51                 :            :         DECLARE_XINTERFACE( )
      52                 :            :         // XServiceInfo
      53                 :            :         virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
      54                 :            :         virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
      55                 :            :         // need by registration
      56                 :            : 
      57                 :            :         virtual ::sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
      58                 :            : 
      59                 :            :         // XInitialization
      60                 :            :         virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
      61                 :            : 
      62                 :            :         // XUpdatable
      63                 :            :         virtual void SAL_CALL update() throw (::com::sun::star::uno::RuntimeException);
      64                 :            : 
      65                 :            :         // XStatusListener
      66                 :            :         virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException );
      67                 :            : 
      68                 :            :         // XStatusbarController
      69                 :            :         virtual ::sal_Bool SAL_CALL mouseButtonDown( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException);
      70                 :            :         virtual ::sal_Bool SAL_CALL mouseMove( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException);
      71                 :            :         virtual ::sal_Bool SAL_CALL mouseButtonUp( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException);
      72                 :            :         virtual void SAL_CALL command( const ::com::sun::star::awt::Point& aPos,
      73                 :            :                                        ::sal_Int32 nCommand,
      74                 :            :                                        ::sal_Bool bMouseEvent,
      75                 :            :                                        const ::com::sun::star::uno::Any& aData ) throw (::com::sun::star::uno::RuntimeException);
      76                 :            :         virtual void SAL_CALL paint( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics,
      77                 :            :                                      const ::com::sun::star::awt::Rectangle& rOutputRectangle,
      78                 :            :                                      ::sal_Int32 nItemId, ::sal_Int32 nStyle ) throw (::com::sun::star::uno::RuntimeException);
      79                 :            :         virtual void SAL_CALL click() throw (::com::sun::star::uno::RuntimeException);
      80                 :            :         virtual void SAL_CALL doubleClick() throw (::com::sun::star::uno::RuntimeException);
      81                 :            :     };
      82                 :            : }
      83                 :            : #endif // DBAUI_STATUSBARCONTROLLER_HXX
      84                 :            : 
      85                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10