1*a462bbb7SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*a462bbb7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*a462bbb7SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*a462bbb7SAndrew Rist * distributed with this work for additional information 6*a462bbb7SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*a462bbb7SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*a462bbb7SAndrew Rist * "License"); you may not use this file except in compliance 9*a462bbb7SAndrew Rist * with the License. You may obtain a copy of the License at 10*a462bbb7SAndrew Rist * 11*a462bbb7SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*a462bbb7SAndrew Rist * 13*a462bbb7SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*a462bbb7SAndrew Rist * software distributed under the License is distributed on an 15*a462bbb7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*a462bbb7SAndrew Rist * KIND, either express or implied. See the License for the 17*a462bbb7SAndrew Rist * specific language governing permissions and limitations 18*a462bbb7SAndrew Rist * under the License. 19*a462bbb7SAndrew Rist * 20*a462bbb7SAndrew Rist *************************************************************/ 21*a462bbb7SAndrew Rist 22*a462bbb7SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef ACCESSIBILITY_STANDARD_VCLXACCESSIBLEDROPDOWNLISTBOX_HXX 25cdf0e10cSrcweir #define ACCESSIBILITY_STANDARD_VCLXACCESSIBLEDROPDOWNLISTBOX_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <accessibility/standard/vclxaccessiblebox.hxx> 28cdf0e10cSrcweir #include <com/sun/star/accessibility/XAccessibleAction.hpp> 29cdf0e10cSrcweir 30cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE1_HXX 31cdf0e10cSrcweir #include <cppuhelper/implbase1.hxx> 32cdf0e10cSrcweir #endif 33cdf0e10cSrcweir #ifndef _CPPUHELPER_WEAKREF_HXX 34cdf0e10cSrcweir #include <cppuhelper/weakref.hxx> 35cdf0e10cSrcweir #endif 36cdf0e10cSrcweir 37cdf0e10cSrcweir 38cdf0e10cSrcweir /** The accessible drop down combobox has two children. The first is the 39cdf0e10cSrcweir text field represented by an object of the 40cdf0e10cSrcweir <type>VCLXAccessibleTextField</type> class which can not be edited. The 41cdf0e10cSrcweir second is the list containing all items and is represented by an object 42cdf0e10cSrcweir of the <type>VCLXAccessibleListBoxList</type> class which does support 43cdf0e10cSrcweir selection. 44cdf0e10cSrcweir */ 45cdf0e10cSrcweir class VCLXAccessibleDropDownListBox : public VCLXAccessibleBox 46cdf0e10cSrcweir { 47cdf0e10cSrcweir public: 48cdf0e10cSrcweir VCLXAccessibleDropDownListBox (VCLXWindow* pVCLXindow); 49cdf0e10cSrcweir 50cdf0e10cSrcweir // XServiceInfo 51cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName (void) 52cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 53cdf0e10cSrcweir // Return drop down list box specific services. 54cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 55cdf0e10cSrcweir getSupportedServiceNames (void) 56cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 57cdf0e10cSrcweir 58cdf0e10cSrcweir protected: 59cdf0e10cSrcweir virtual ~VCLXAccessibleDropDownListBox (void); 60cdf0e10cSrcweir 61cdf0e10cSrcweir virtual bool IsValid (void) const; 62cdf0e10cSrcweir virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent); 63cdf0e10cSrcweir 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir 66cdf0e10cSrcweir #endif // ACCESSIBILITY_STANDARD_VCLXACCESSIBLEDROPDOWNLISTBOX_HXX 67cdf0e10cSrcweir 68