LCOV - code coverage report
Current view: top level - sw/source/core/access - accnotexthyperlink.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 3 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 3 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 INCLUDED_SW_SOURCE_CORE_ACCESS_ACCNOTEXTHYPERLINK_HXX
      20             : #define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCNOTEXTHYPERLINK_HXX
      21             : 
      22             : #include <com/sun/star/accessibility/XAccessibleHyperlink.hpp>
      23             : #include <com/sun/star/uno/RuntimeException.hpp>
      24             : #include <cppuhelper/implbase.hxx>
      25             : #include <fmtinfmt.hxx>
      26             : #include <frame.hxx>
      27             : #include <layfrm.hxx>
      28             : 
      29             : #include "accnotextframe.hxx"
      30             : 
      31           0 : class SwAccessibleNoTextHyperlink :
      32             :         public ::cppu::WeakImplHelper<
      33             :         ::com::sun::star::accessibility::XAccessibleHyperlink >
      34             : {
      35             :     friend class SwAccessibleNoTextFrame;
      36             : 
      37             :     ::rtl::Reference< SwAccessibleNoTextFrame > xFrame;
      38             :     const SwFrm *mpFrm;
      39             : 
      40           0 :     SwFrameFormat *GetFormat()
      41             :     {
      42           0 :         return const_cast<SwLayoutFrm*>(static_cast<const SwLayoutFrm*>(mpFrm))->GetFormat();
      43             :     }
      44             : public:
      45             : 
      46             :     SwAccessibleNoTextHyperlink( SwAccessibleNoTextFrame *p, const SwFrm* aFrm );
      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 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             : 
      83             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11