LCOV - code coverage report
Current view: top level - accessibility/inc/accessibility/extended - AccessibleBrowseBoxHeaderCell.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_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLEBROWSEBOXHEADERCELL_HXX
      20             : #define INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLEBROWSEBOXHEADERCELL_HXX
      21             : 
      22             : #include "accessibility/extended/AccessibleBrowseBoxBase.hxx"
      23             : 
      24             : namespace accessibility
      25             : {
      26           0 :     class AccessibleBrowseBoxHeaderCell : public BrowseBoxAccessibleElement
      27             :     {
      28             :         sal_Int32   m_nColumnRowId;
      29             :     public:
      30             :         AccessibleBrowseBoxHeaderCell(sal_Int32 _nColumnRowId,
      31             :                                           const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rxParent,
      32             :                                           ::svt::IAccessibleTableProvider&                  _rBrowseBox,
      33             :                                           const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& _xFocusWindow,
      34             :                                           ::svt::AccessibleBrowseBoxObjType  _eObjType);
      35             :         /** @return  The count of visible children. */
      36             :         virtual sal_Int32 SAL_CALL getAccessibleChildCount() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      37             : 
      38             :         /** @return  The XAccessible interface of the specified child. */
      39             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL
      40             :             getAccessibleChild( sal_Int32 nChildIndex ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException,::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      41             : 
      42             :         /** @return  The index of this object among the parent's children. */
      43             :         virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      44             : 
      45             :         /** Grabs the focus to the BrowseBox. */
      46             :         virtual void SAL_CALL grabFocus() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      47             : 
      48           0 :         inline bool isRowBarCell() const
      49             :         {
      50           0 :             return getType() == ::svt::BBTYPE_ROWHEADERCELL;
      51             :         }
      52             : 
      53             :         /** @return
      54             :                 The name of this class.
      55             :         */
      56             :         virtual OUString SAL_CALL getImplementationName() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      57             : 
      58             :         /** Creates a new AccessibleStateSetHelper and fills it with states of the
      59             :             current object.
      60             :             @return
      61             :                 A filled AccessibleStateSetHelper.
      62             :         */
      63             :         ::utl::AccessibleStateSetHelper* implCreateStateSetHelper() SAL_OVERRIDE;
      64             : 
      65             :     protected:
      66             :         virtual Rectangle implGetBoundingBox() SAL_OVERRIDE;
      67             : 
      68             :         virtual Rectangle implGetBoundingBoxOnScreen() SAL_OVERRIDE;
      69             :     };
      70             : }
      71             : 
      72             : #endif // INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLEBROWSEBOXHEADERCELL_HXX
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11