Line data Source code
1 : /*
2 : * This file is part of the LibreOffice project.
3 : *
4 : * This Source Code Form is subject to the terms of the Mozilla Public
5 : * License, v. 2.0. If a copy of the MPL was not distributed with this
6 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 : *
8 : * This file incorporates work covered by the following license notice:
9 : *
10 : * Licensed to the Apache Software Foundation (ASF) under one or more
11 : * contributor license agreements. See the NOTICE file distributed
12 : * with this work for additional information regarding copyright
13 : * ownership. The ASF licenses this file to you under the Apache
14 : * License, Version 2.0 (the "License"); you may not use this file
15 : * except in compliance with the License. You may obtain a copy of
16 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 : */
18 : #ifndef _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
19 : #define _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
20 :
21 : #include <toolkit/awt/vclxwindow.hxx>
22 : #include <toolkit/awt/vclxaccessiblecomponent.hxx>
23 : #include <toolkit/awt/vclxwindows.hxx>
24 :
25 :
26 : class VCLXAccessibleSvxFindReplaceDialog : public VCLXAccessibleComponent
27 : {
28 : public:
29 : VCLXAccessibleSvxFindReplaceDialog(VCLXWindow* pVCLXindow);
30 : virtual ~VCLXAccessibleSvxFindReplaceDialog();
31 : virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) SAL_OVERRIDE;
32 : // XServiceInfo
33 : virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
34 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
35 :
36 : };
37 :
38 :
39 : class VCLXSvxFindReplaceDialog : public VCLXDialog
40 : {
41 : public:
42 0 : VCLXSvxFindReplaceDialog(Window* pSplDlg)
43 0 : {
44 0 : SetWindow(pSplDlg);
45 0 : }
46 0 : virtual ~VCLXSvxFindReplaceDialog()
47 0 : {};
48 : private:
49 : virtual ::com::sun::star::uno::Reference<
50 0 : ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE
51 : {
52 0 : return new VCLXAccessibleSvxFindReplaceDialog(this);
53 : }
54 : };
55 : #endif // _ACCESSIBLESVXFINDREPLACEDIALOG_HXX_
|