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