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 #ifndef _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
23 #define _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
24 #ifndef _TOOLKIT_AWT_VCLXWINDOW_HXX_
25 #include <toolkit/awt/vclxwindow.hxx>
26 #endif
27 #ifndef _TOOLKIT_AWT_VCLXACCESSIBLECOMPONENT_HXX_
28 #include <toolkit/awt/vclxaccessiblecomponent.hxx>
29 #endif
30 
31 #ifndef _TOOLKIT_AWT_VCLXWINDOWS_HXX_
32 #include <toolkit/awt/vclxwindows.hxx>
33 #endif
34 
35 
36 class VCLXAccessibleSvxFindReplaceDialog : public VCLXAccessibleComponent
37 {
38 public:
39 	VCLXAccessibleSvxFindReplaceDialog(VCLXWindow* pVCLXindow);
40 	virtual ~VCLXAccessibleSvxFindReplaceDialog();
41 	virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet );
42 	// XServiceInfo
43 	virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException);
44 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException);
45 
46 };
47 
48 
49 class VCLXSvxFindReplaceDialog : public VCLXDialog
50 {
51 public:
VCLXSvxFindReplaceDialog(Window * pSplDlg)52 	VCLXSvxFindReplaceDialog(Window* pSplDlg)
53 	{
54 		SetWindow(pSplDlg);
55 	}
~VCLXSvxFindReplaceDialog()56 	virtual ~VCLXSvxFindReplaceDialog()
57 	{};
58 private:
59     virtual ::com::sun::star::uno::Reference<
CreateAccessibleContext()60         ::com::sun::star::accessibility::XAccessibleContext >  CreateAccessibleContext()
61 	{
62 		return new VCLXAccessibleSvxFindReplaceDialog(this);
63 	}
64 };
65 #endif // _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
66