1*d3553c6bSHerbert Dürr /************************************************************** 2*d3553c6bSHerbert Dürr * 3*d3553c6bSHerbert Dürr * Licensed to the Apache Software Foundation (ASF) under one 4*d3553c6bSHerbert Dürr * or more contributor license agreements. See the NOTICE file 5*d3553c6bSHerbert Dürr * distributed with this work for additional information 6*d3553c6bSHerbert Dürr * regarding copyright ownership. The ASF licenses this file 7*d3553c6bSHerbert Dürr * to you under the Apache License, Version 2.0 (the 8*d3553c6bSHerbert Dürr * "License"); you may not use this file except in compliance 9*d3553c6bSHerbert Dürr * with the License. You may obtain a copy of the License at 10*d3553c6bSHerbert Dürr * 11*d3553c6bSHerbert Dürr * http://www.apache.org/licenses/LICENSE-2.0 12*d3553c6bSHerbert Dürr * 13*d3553c6bSHerbert Dürr * Unless required by applicable law or agreed to in writing, 14*d3553c6bSHerbert Dürr * software distributed under the License is distributed on an 15*d3553c6bSHerbert Dürr * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d3553c6bSHerbert Dürr * KIND, either express or implied. See the License for the 17*d3553c6bSHerbert Dürr * specific language governing permissions and limitations 18*d3553c6bSHerbert Dürr * under the License. 19*d3553c6bSHerbert Dürr * 20*d3553c6bSHerbert Dürr *************************************************************/ 21*d3553c6bSHerbert Dürr 229b8096d0SSteve Yin #ifndef _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_ 239b8096d0SSteve Yin #define _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_ 249b8096d0SSteve Yin #ifndef _TOOLKIT_AWT_VCLXWINDOW_HXX_ 259b8096d0SSteve Yin #include <toolkit/awt/vclxwindow.hxx> 269b8096d0SSteve Yin #endif 279b8096d0SSteve Yin #ifndef _TOOLKIT_AWT_VCLXACCESSIBLECOMPONENT_HXX_ 289b8096d0SSteve Yin #include <toolkit/awt/vclxaccessiblecomponent.hxx> 299b8096d0SSteve Yin #endif 309b8096d0SSteve Yin 319b8096d0SSteve Yin #ifndef _TOOLKIT_AWT_VCLXWINDOWS_HXX_ 329b8096d0SSteve Yin #include <toolkit/awt/vclxwindows.hxx> 339b8096d0SSteve Yin #endif 349b8096d0SSteve Yin 359b8096d0SSteve Yin 369b8096d0SSteve Yin class VCLXAccessibleSvxFindReplaceDialog : public VCLXAccessibleComponent 379b8096d0SSteve Yin { 389b8096d0SSteve Yin public: 399b8096d0SSteve Yin VCLXAccessibleSvxFindReplaceDialog(VCLXWindow* pVCLXindow); 409b8096d0SSteve Yin virtual ~VCLXAccessibleSvxFindReplaceDialog(); 419b8096d0SSteve Yin virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ); 429b8096d0SSteve Yin // XServiceInfo 439b8096d0SSteve Yin virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException); 449b8096d0SSteve Yin virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException); 459b8096d0SSteve Yin 469b8096d0SSteve Yin }; 479b8096d0SSteve Yin 489b8096d0SSteve Yin 499b8096d0SSteve Yin class VCLXSvxFindReplaceDialog : public VCLXDialog 509b8096d0SSteve Yin { 519b8096d0SSteve Yin public: VCLXSvxFindReplaceDialog(Window * pSplDlg)529b8096d0SSteve Yin VCLXSvxFindReplaceDialog(Window* pSplDlg) 539b8096d0SSteve Yin { 549b8096d0SSteve Yin SetWindow(pSplDlg); 559b8096d0SSteve Yin } ~VCLXSvxFindReplaceDialog()569b8096d0SSteve Yin virtual ~VCLXSvxFindReplaceDialog() 579b8096d0SSteve Yin {}; 589b8096d0SSteve Yin private: 599b8096d0SSteve Yin virtual ::com::sun::star::uno::Reference< CreateAccessibleContext()609b8096d0SSteve Yin ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() 619b8096d0SSteve Yin { 629b8096d0SSteve Yin return new VCLXAccessibleSvxFindReplaceDialog(this); 639b8096d0SSteve Yin } 649b8096d0SSteve Yin }; 659b8096d0SSteve Yin #endif // _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_ 66