LCOV - code coverage report
Current view: top level - sw/source/core/access - accnotexthyperlink.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 3 0.0 %
Date: 2014-04-14 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * This file is part of the LibreOffice project.
       3             :  *
       4             :  * This Source Code Form is subject to the terms of the Mozilla Public
       5             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       6             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       7             :  *
       8             :  * This file incorporates work covered by the following license notice:
       9             :  *
      10             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      11             :  *   contributor license agreements. See the NOTICE file distributed
      12             :  *   with this work for additional information regarding copyright
      13             :  *   ownership. The ASF licenses this file to you under the Apache
      14             :  *   License, Version 2.0 (the "License"); you may not use this file
      15             :  *   except in compliance with the License. You may obtain a copy of
      16             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      17             :  */
      18             : #ifndef _ACCNOTEXTHYPERLINK_HXX
      19             : #define _ACCNOTEXTHYPERLINK_HXX
      20             : 
      21             : #include <com/sun/star/accessibility/XAccessibleHyperlink.hpp>
      22             : #include <com/sun/star/uno/RuntimeException.hpp>
      23             : #include <cppuhelper/implbase1.hxx>
      24             : #include <fmtinfmt.hxx>
      25             : #include <frame.hxx>
      26             : #include <layfrm.hxx>
      27             : 
      28             : #include "accnotextframe.hxx"
      29             : 
      30           0 : class SwAccessibleNoTextHyperlink :
      31             :         public ::cppu::WeakImplHelper1<
      32             :         ::com::sun::star::accessibility::XAccessibleHyperlink >
      33             : {
      34             :     friend class SwAccessibleNoTextFrame;
      35             : 
      36             :     ::rtl::Reference< SwAccessibleNoTextFrame > xFrame;
      37             :     const SwFrm *mpFrm;
      38             :     sal_uInt16 mnIndex;
      39             : 
      40           0 :     SwFrmFmt *GetFmt()
      41             :     {
      42           0 :         return ((SwLayoutFrm*)mpFrm)->GetFmt();
      43             :     }
      44             : public:
      45             : 
      46             :     SwAccessibleNoTextHyperlink( SwAccessibleNoTextFrame *p, const SwFrm* aFrm, sal_uInt16 nIndex = 0xFFFF );
      47             : 
      48             :     // XAccessibleAction
      49             :     virtual sal_Int32 SAL_CALL getAccessibleActionCount()
      50             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      51             :     virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex )
      52             :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      53             :                 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      54             :     virtual ::rtl::OUString SAL_CALL getAccessibleActionDescription(
      55             :                 sal_Int32 nIndex )
      56             :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      57             :                 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      58             :     virtual ::com::sun::star::uno::Reference<
      59             :             ::com::sun::star::accessibility::XAccessibleKeyBinding > SAL_CALL
      60             :             getAccessibleActionKeyBinding( sal_Int32 nIndex )
      61             :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      62             :                 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      63             : 
      64             :     // XAccessibleHyperlink
      65             :     virtual ::com::sun::star::uno::Any SAL_CALL getAccessibleActionAnchor(
      66             :                 sal_Int32 nIndex )
      67             :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      68             :                 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      69             :     virtual ::com::sun::star::uno::Any SAL_CALL getAccessibleActionObject(
      70             :             sal_Int32 nIndex )
      71             :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      72             :                 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      73             :     virtual sal_Int32 SAL_CALL getStartIndex()
      74             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      75             :     virtual sal_Int32 SAL_CALL getEndIndex()
      76             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      77             :     virtual sal_Bool SAL_CALL isValid(  )
      78             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      79             : };
      80             : 
      81             : #endif
      82             : 

Generated by: LCOV version 1.10