LCOV - code coverage report
Current view: top level - sw/source/core/access - acchyperlink.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 2 0.0 %

           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                 :            : #ifndef _ACCHYPERLINK_HXX
      29                 :            : #define _ACCHYPERLINK_HXX
      30                 :            : #include <com/sun/star/accessibility/XAccessibleHyperlink.hpp>
      31                 :            : #include <rtl/ref.hxx>
      32                 :            : #include <cppuhelper/implbase1.hxx>
      33                 :            : #include <fmtinfmt.hxx>
      34                 :            : 
      35                 :            : class SwAccessibleParagraph;
      36                 :            : class SwTxtAttr;
      37                 :            : 
      38         [ #  # ]:          0 : class SwAccessibleHyperlink :
      39                 :            :         public ::cppu::WeakImplHelper1<
      40                 :            :         ::com::sun::star::accessibility::XAccessibleHyperlink >
      41                 :            : {
      42                 :            :     friend class SwAccessibleParagraph;
      43                 :            :     friend class SwAccessibleHyperTextData;
      44                 :            :     sal_uInt16 nHintPos;
      45                 :            :     ::rtl::Reference< SwAccessibleParagraph > xPara;
      46                 :            :     sal_Int32 nStartIdx;
      47                 :            :     sal_Int32 nEndIdx;
      48                 :            : 
      49                 :            :     SwAccessibleHyperlink( sal_uInt16 nHintPos,
      50                 :            :                            SwAccessibleParagraph *p,
      51                 :            :                               sal_Int32 nStt, sal_Int32 nEnd    );
      52                 :            : 
      53                 :            :     const SwTxtAttr *GetTxtAttr() const;
      54                 :            :     void Invalidate();
      55                 :            : 
      56                 :            : public:
      57                 :            : 
      58                 :            :     // XAccessibleAction
      59                 :            :     virtual sal_Int32 SAL_CALL getAccessibleActionCount()
      60                 :            :         throw (::com::sun::star::uno::RuntimeException);
      61                 :            :     virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex )
      62                 :            :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      63                 :            :                 ::com::sun::star::uno::RuntimeException);
      64                 :            :     virtual ::rtl::OUString SAL_CALL getAccessibleActionDescription(
      65                 :            :                 sal_Int32 nIndex )
      66                 :            :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      67                 :            :                 ::com::sun::star::uno::RuntimeException);
      68                 :            :     virtual ::com::sun::star::uno::Reference<
      69                 :            :             ::com::sun::star::accessibility::XAccessibleKeyBinding > SAL_CALL
      70                 :            :                getAccessibleActionKeyBinding( sal_Int32 nIndex )
      71                 :            :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      72                 :            :                 ::com::sun::star::uno::RuntimeException);
      73                 :            : 
      74                 :            :     // XAccessibleHyperlink
      75                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL getAccessibleActionAnchor(
      76                 :            :                 sal_Int32 nIndex )
      77                 :            :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      78                 :            :                 ::com::sun::star::uno::RuntimeException);
      79                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL getAccessibleActionObject(
      80                 :            :             sal_Int32 nIndex )
      81                 :            :         throw (::com::sun::star::lang::IndexOutOfBoundsException,
      82                 :            :                 ::com::sun::star::uno::RuntimeException);
      83                 :            :     virtual sal_Int32 SAL_CALL getStartIndex()
      84                 :            :         throw (::com::sun::star::uno::RuntimeException);
      85                 :            :     virtual sal_Int32 SAL_CALL getEndIndex()
      86                 :            :         throw (::com::sun::star::uno::RuntimeException);
      87                 :            :     virtual sal_Bool SAL_CALL isValid(  )
      88                 :            :         throw (::com::sun::star::uno::RuntimeException);
      89                 :            : };
      90                 :            : 
      91                 :            : #endif
      92                 :            : 
      93                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10