LCOV - code coverage report
Current view: top level - accessibility/inc/accessibility/extended - accessibletablistbox.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 4 0.0 %
Date: 2015-06-13 12:38:46 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             : 
      20             : #ifndef INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETABLISTBOX_HXX
      21             : #define INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETABLISTBOX_HXX
      22             : 
      23             : #include "AccessibleBrowseBox.hxx"
      24             : #include <cppuhelper/implbase1.hxx>
      25             : #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
      26             : #include <svtools/accessibletableprovider.hxx>
      27             : 
      28             : class SvHeaderTabListBox;
      29             : 
      30             : 
      31             : 
      32             : namespace accessibility {
      33             : 
      34             : class AccessibleBrowseBoxTable;
      35             : 
      36             : typedef ::cppu::ImplHelper1  <   ::com::sun::star::accessibility::XAccessible
      37             :                             >   AccessibleTabListBox_Base;
      38             : 
      39             : /** !!! */
      40             : class AccessibleTabListBox
      41             :                 :public AccessibleBrowseBox
      42             :                 ,public AccessibleTabListBox_Base
      43             :                 ,public ::svt::IAccessibleTabListBox
      44             : {
      45             : private:
      46             :     VclPtr<SvHeaderTabListBox>        m_pTabListBox;
      47             : 
      48             : public:
      49             :     /** ctor()
      50             :         @param rxParent  XAccessible interface of the parent object.
      51             :         @param rBox  The HeaderTabListBox control. */
      52             :     AccessibleTabListBox(
      53             :         const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rxParent,
      54             :         SvHeaderTabListBox& rBox );
      55             : 
      56             : public:
      57             :     // XInterface
      58             :     DECLARE_XINTERFACE( )
      59             :     // XTypeProvider
      60             :     DECLARE_XTYPEPROVIDER( )
      61             : 
      62             :     // XAccessibleContext -----------------------------------------------------
      63             : 
      64             :     /** @return  The count of visible children. */
      65             :     virtual sal_Int32 SAL_CALL getAccessibleChildCount()
      66             :         throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      67             : 
      68             :     /** @return  The XAccessible interface of the specified child. */
      69             :     virtual ::com::sun::star::uno::Reference<
      70             :         ::com::sun::star::accessibility::XAccessible > SAL_CALL
      71             :     getAccessibleChild( sal_Int32 nChildIndex )
      72             :         throw ( ::com::sun::star::lang::IndexOutOfBoundsException,
      73             :                 ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      74             : 
      75             :     // XAccessibleContext
      76             :     ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      77             : 
      78             :     // IAccessibleTabListBox
      79             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
      80           0 :         getMyself() SAL_OVERRIDE
      81             :     {
      82           0 :         return this;
      83             :     }
      84             : 
      85             :     ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
      86           0 :         getHeaderBar() SAL_OVERRIDE
      87             :     {
      88           0 :         return AccessibleBrowseBox::getHeaderBar( svt::BBTYPE_COLUMNHEADERBAR );
      89             :     }
      90             : 
      91             : protected:
      92             :     /** dtor() */
      93             :     virtual ~AccessibleTabListBox();
      94             : 
      95             :     /** This method creates and returns an accessible table.
      96             :         @return  An AccessibleBrowseBoxTable. */
      97             :     virtual AccessibleBrowseBoxTable*   createAccessibleTable() SAL_OVERRIDE;
      98             : };
      99             : 
     100             : 
     101             : 
     102             : } // namespace accessibility
     103             : 
     104             : 
     105             : 
     106             : #endif // INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETABLISTBOX_HXX
     107             : 
     108             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11