LCOV - code coverage report
Current view: top level - libreoffice/sw/source/core/access - accnotextframe.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 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 _ACCNOTEXTFRAME_HXX
      20             : #define _ACCNOTEXTFRAME_HXX
      21             : #include "accframebase.hxx"
      22             : #include <com/sun/star/accessibility/XAccessibleImage.hpp>
      23             : 
      24             : class SwFlyFrm;
      25             : class SwNoTxtNode;
      26             : 
      27             : class SwAccessibleNoTextFrame : public  SwAccessibleFrameBase,
      28             :                                 public ::com::sun::star::accessibility::XAccessibleImage
      29             : {
      30             :     SwDepend        aDepend;
      31             :     ::rtl::OUString msTitle; // #i73249#
      32             :     ::rtl::OUString msDesc;
      33             : 
      34             : protected:
      35             : 
      36             :     virtual ~SwAccessibleNoTextFrame();
      37             : 
      38             :     const SwNoTxtNode *GetNoTxtNode() const;
      39             : 
      40             :     virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
      41             : 
      42             : public:
      43             : 
      44             :     SwAccessibleNoTextFrame( SwAccessibleMap* pInitMap,
      45             :                              sal_Int16 nInitRole,
      46             :                              const SwFlyFrm *pFlyFrm );
      47             : 
      48             :     //=====  XAccessibleContext  ==============================================
      49             : 
      50             :     // #i73249# - Return the object's current name.
      51             :     virtual ::rtl::OUString SAL_CALL
      52             :         getAccessibleName (void)
      53             :         throw (::com::sun::star::uno::RuntimeException);
      54             : 
      55             :     /// Return this object's description.
      56             :     virtual ::rtl::OUString SAL_CALL
      57             :         getAccessibleDescription (void)
      58             :         throw (com::sun::star::uno::RuntimeException);
      59             : 
      60             :     //=====  XInterface  ======================================================
      61             : 
      62             :     // XInterface methods need to be implemented to disambiguate
      63             :     // between those inherited through SwAcessibleContext and
      64             :     // XAccessibleImage.
      65             : 
      66             :     virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
      67             :         const ::com::sun::star::uno::Type& aType )
      68             :         throw (::com::sun::star::uno::RuntimeException);
      69             : 
      70           0 :     virtual void SAL_CALL acquire(  ) throw ()
      71           0 :         { SwAccessibleContext::acquire(); };
      72             : 
      73           0 :     virtual void SAL_CALL release(  ) throw ()
      74           0 :         { SwAccessibleContext::release(); };
      75             : 
      76             :     //====== XTypeProvider ====================================================
      77             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException);
      78             : 
      79             :     //=====  XAccessibleImage  ================================================
      80             : 
      81             :     virtual ::rtl::OUString SAL_CALL
      82             :         getAccessibleImageDescription(  )
      83             :         throw ( ::com::sun::star::uno::RuntimeException );
      84             : 
      85             :     virtual sal_Int32 SAL_CALL
      86             :         getAccessibleImageHeight(  )
      87             :         throw ( ::com::sun::star::uno::RuntimeException );
      88             : 
      89             :     virtual sal_Int32 SAL_CALL
      90             :         getAccessibleImageWidth(  )
      91             :         throw ( ::com::sun::star::uno::RuntimeException );
      92             : 
      93             :     // The object is not visible an longer and should be destroyed
      94             :     virtual void Dispose( sal_Bool bRecursive = sal_False );
      95             : };
      96             : 
      97             : 
      98             : #endif
      99             : 
     100             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10