1*a7f6452cSSteve Yin /************************************************************** 2*a7f6452cSSteve Yin * 3*a7f6452cSSteve Yin * Licensed to the Apache Software Foundation (ASF) under one 4*a7f6452cSSteve Yin * or more contributor license agreements. See the NOTICE file 5*a7f6452cSSteve Yin * distributed with this work for additional information 6*a7f6452cSSteve Yin * regarding copyright ownership. The ASF licenses this file 7*a7f6452cSSteve Yin * to you under the Apache License, Version 2.0 (the 8*a7f6452cSSteve Yin * "License"); you may not use this file except in compliance 9*a7f6452cSSteve Yin * with the License. You may obtain a copy of the License at 10*a7f6452cSSteve Yin * 11*a7f6452cSSteve Yin * http://www.apache.org/licenses/LICENSE-2.0 12*a7f6452cSSteve Yin * 13*a7f6452cSSteve Yin * Unless required by applicable law or agreed to in writing, 14*a7f6452cSSteve Yin * software distributed under the License is distributed on an 15*a7f6452cSSteve Yin * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*a7f6452cSSteve Yin * KIND, either express or implied. See the License for the 17*a7f6452cSSteve Yin * specific language governing permissions and limitations 18*a7f6452cSSteve Yin * under the License. 19*a7f6452cSSteve Yin * 20*a7f6452cSSteve Yin *************************************************************/ 21*a7f6452cSSteve Yin 22*a7f6452cSSteve Yin 23*a7f6452cSSteve Yin #ifndef _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_ 24*a7f6452cSSteve Yin #define _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_ 25*a7f6452cSSteve Yin #ifndef _TOOLKIT_AWT_VCLXWINDOW_HXX_ 26*a7f6452cSSteve Yin #include <toolkit/awt/vclxwindow.hxx> 27*a7f6452cSSteve Yin #endif 28*a7f6452cSSteve Yin #ifndef _TOOLKIT_AWT_VCLXACCESSIBLECOMPONENT_HXX_ 29*a7f6452cSSteve Yin #include <toolkit/awt/vclxaccessiblecomponent.hxx> 30*a7f6452cSSteve Yin #endif 31*a7f6452cSSteve Yin 32*a7f6452cSSteve Yin #ifndef _TOOLKIT_AWT_VCLXWINDOWS_HXX_ 33*a7f6452cSSteve Yin #include <toolkit/awt/vclxwindows.hxx> 34*a7f6452cSSteve Yin #endif 35*a7f6452cSSteve Yin 36*a7f6452cSSteve Yin 37*a7f6452cSSteve Yin class VCLXAccessibleSvxFindReplaceDialog : public VCLXAccessibleComponent 38*a7f6452cSSteve Yin { 39*a7f6452cSSteve Yin public: 40*a7f6452cSSteve Yin VCLXAccessibleSvxFindReplaceDialog(VCLXWindow* pVCLXindow); 41*a7f6452cSSteve Yin virtual ~VCLXAccessibleSvxFindReplaceDialog(); 42*a7f6452cSSteve Yin virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ); 43*a7f6452cSSteve Yin // XServiceInfo 44*a7f6452cSSteve Yin virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException); 45*a7f6452cSSteve Yin virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException); 46*a7f6452cSSteve Yin 47*a7f6452cSSteve Yin }; 48*a7f6452cSSteve Yin 49*a7f6452cSSteve Yin 50*a7f6452cSSteve Yin class VCLXSvxFindReplaceDialog : public VCLXDialog 51*a7f6452cSSteve Yin { 52*a7f6452cSSteve Yin public: VCLXSvxFindReplaceDialog(Window * pSplDlg)53*a7f6452cSSteve Yin VCLXSvxFindReplaceDialog(Window* pSplDlg) 54*a7f6452cSSteve Yin { 55*a7f6452cSSteve Yin SetWindow(pSplDlg); 56*a7f6452cSSteve Yin } ~VCLXSvxFindReplaceDialog()57*a7f6452cSSteve Yin virtual ~VCLXSvxFindReplaceDialog() 58*a7f6452cSSteve Yin {}; 59*a7f6452cSSteve Yin private: 60*a7f6452cSSteve Yin virtual ::com::sun::star::uno::Reference< CreateAccessibleContext()61*a7f6452cSSteve Yin ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() 62*a7f6452cSSteve Yin { 63*a7f6452cSSteve Yin return new VCLXAccessibleSvxFindReplaceDialog(this); 64*a7f6452cSSteve Yin } 65*a7f6452cSSteve Yin }; 66*a7f6452cSSteve Yin #endif // _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_ 67