LCOV - code coverage report
Current view: top level - accessibility/inc/accessibility/extended - AccessibleBrowseBoxCheckBoxCell.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                 :            :  * 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 ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXCHECKBOXCELL_HXX
      20                 :            : #define ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXCHECKBOXCELL_HXX
      21                 :            : 
      22                 :            : #include <com/sun/star/accessibility/XAccessibleValue.hpp>
      23                 :            : #include <com/sun/star/accessibility/XAccessible.hpp>
      24                 :            : #include <com/sun/star/lang/XTypeProvider.hpp>
      25                 :            : #include "accessibility/extended/accessiblebrowseboxcell.hxx"
      26                 :            : #include <cppuhelper/implbase2.hxx>
      27                 :            : #include <tools/wintypes.hxx>
      28                 :            : // ============================================================================
      29                 :            : namespace accessibility
      30                 :            : {
      31                 :            : // ============================================================================
      32                 :            :     typedef ::cppu::ImplHelper2 <   ::com::sun::star::accessibility::XAccessible,
      33                 :            :                                     ::com::sun::star::accessibility::XAccessibleValue
      34                 :            :                                 >   AccessibleCheckBoxCell_BASE;
      35                 :            : 
      36                 :            :     class AccessibleCheckBoxCell :   public AccessibleBrowseBoxCell
      37                 :            :                                     ,public AccessibleCheckBoxCell_BASE
      38                 :            :     {
      39                 :            :     private:
      40                 :            :         TriState m_eState;
      41                 :            :         sal_Bool m_bEnabled;
      42                 :            :         sal_Bool m_bIsTriState;
      43                 :            : 
      44                 :            :     protected:
      45         [ #  # ]:          0 :         virtual ~AccessibleCheckBoxCell() {}
      46                 :            : 
      47                 :            :         virtual ::utl::AccessibleStateSetHelper* implCreateStateSetHelper();
      48                 :            : 
      49                 :            :     public:
      50                 :            :         AccessibleCheckBoxCell(const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxParent,
      51                 :            :                                 ::svt::IAccessibleTableProvider& _rBrowseBox,
      52                 :            :                                 const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& _xFocusWindow,
      53                 :            :                                 sal_Int32 _nRowPos,
      54                 :            :                                 sal_uInt16 _nColPos,
      55                 :            :                                 const TriState& _eState,
      56                 :            :                                 sal_Bool _bEnabled,
      57                 :            :                                 sal_Bool _bIsTriState = sal_True);
      58                 :            : 
      59                 :            :         // XInterface
      60                 :            :         DECLARE_XINTERFACE( )
      61                 :            :         // XTypeProvider
      62                 :            :         DECLARE_XTYPEPROVIDER( )
      63                 :            : 
      64                 :            :         // XAccessible
      65                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException);
      66                 :            : 
      67                 :            :         // XAccessibleContext
      68                 :            :         virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
      69                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
      70                 :            :         virtual ::rtl::OUString SAL_CALL getImplementationName() throw ( ::com::sun::star::uno::RuntimeException );
      71                 :            :         virtual ::sal_Int32 SAL_CALL getAccessibleIndexInParent(  ) throw (::com::sun::star::uno::RuntimeException);
      72                 :            : 
      73                 :            : 
      74                 :            :         // XAccessibleValue
      75                 :            :         virtual ::com::sun::star::uno::Any SAL_CALL getCurrentValue(  ) throw (::com::sun::star::uno::RuntimeException);
      76                 :            :         virtual sal_Bool SAL_CALL setCurrentValue( const ::com::sun::star::uno::Any& aNumber ) throw (::com::sun::star::uno::RuntimeException);
      77                 :            :         virtual ::com::sun::star::uno::Any SAL_CALL getMaximumValue(  ) throw (::com::sun::star::uno::RuntimeException);
      78                 :            :         virtual ::com::sun::star::uno::Any SAL_CALL getMinimumValue(  ) throw (::com::sun::star::uno::RuntimeException);
      79                 :            : 
      80                 :            :         // internal
      81                 :            :         void        SetChecked( sal_Bool _bChecked );
      82                 :            :     };
      83                 :            : }
      84                 :            : #endif // ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXCHECKBOXCELL_HXX
      85                 :            : 
      86                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10