1*3e0f1122SAndre Fischer /************************************************************** 2*3e0f1122SAndre Fischer * 3*3e0f1122SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 4*3e0f1122SAndre Fischer * or more contributor license agreements. See the NOTICE file 5*3e0f1122SAndre Fischer * distributed with this work for additional information 6*3e0f1122SAndre Fischer * regarding copyright ownership. The ASF licenses this file 7*3e0f1122SAndre Fischer * to you under the Apache License, Version 2.0 (the 8*3e0f1122SAndre Fischer * "License"); you may not use this file except in compliance 9*3e0f1122SAndre Fischer * with the License. You may obtain a copy of the License at 10*3e0f1122SAndre Fischer * 11*3e0f1122SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 12*3e0f1122SAndre Fischer * 13*3e0f1122SAndre Fischer * Unless required by applicable law or agreed to in writing, 14*3e0f1122SAndre Fischer * software distributed under the License is distributed on an 15*3e0f1122SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3e0f1122SAndre Fischer * KIND, either express or implied. See the License for the 17*3e0f1122SAndre Fischer * specific language governing permissions and limitations 18*3e0f1122SAndre Fischer * under the License. 19*3e0f1122SAndre Fischer * 20*3e0f1122SAndre Fischer *************************************************************/ 21*3e0f1122SAndre Fischer 22*3e0f1122SAndre Fischer #ifndef SFX_SIDEBAR_ACCESSIBLE_TITLE_BAR_HXX 23*3e0f1122SAndre Fischer #define SFX_SIDEBAR_ACCESSIBLE_TITLE_BAR_HXX 24*3e0f1122SAndre Fischer 25*3e0f1122SAndre Fischer #include <toolkit/awt/vclxaccessiblecomponent.hxx> 26*3e0f1122SAndre Fischer #include <com/sun/star/accessibility/XAccessible.hpp> 27*3e0f1122SAndre Fischer 28*3e0f1122SAndre Fischer 29*3e0f1122SAndre Fischer namespace css = ::com::sun::star; 30*3e0f1122SAndre Fischer namespace cssu = ::com::sun::star::uno; 31*3e0f1122SAndre Fischer 32*3e0f1122SAndre Fischer namespace sfx2 { namespace sidebar { 33*3e0f1122SAndre Fischer 34*3e0f1122SAndre Fischer class TitleBar; 35*3e0f1122SAndre Fischer 36*3e0f1122SAndre Fischer class AccessibleTitleBar 37*3e0f1122SAndre Fischer : public VCLXAccessibleComponent 38*3e0f1122SAndre Fischer { 39*3e0f1122SAndre Fischer public: 40*3e0f1122SAndre Fischer static cssu::Reference<css::accessibility::XAccessible> Create (TitleBar& rTitleBar); 41*3e0f1122SAndre Fischer 42*3e0f1122SAndre Fischer protected: 43*3e0f1122SAndre Fischer virtual void FillAccessibleStateSet (utl::AccessibleStateSetHelper& rStateSet); 44*3e0f1122SAndre Fischer 45*3e0f1122SAndre Fischer private: 46*3e0f1122SAndre Fischer AccessibleTitleBar (VCLXWindow* pWindow); 47*3e0f1122SAndre Fischer virtual ~AccessibleTitleBar (void); 48*3e0f1122SAndre Fischer }; 49*3e0f1122SAndre Fischer 50*3e0f1122SAndre Fischer 51*3e0f1122SAndre Fischer } } // end of namespace sfx2::sidebar 52*3e0f1122SAndre Fischer 53*3e0f1122SAndre Fischer #endif 54