update emoji autocorrect entries from po-files
[LibreOffice.git] / sc / inc / AccessibleFilterTopWindow.hxx
blobb389ef1031d9c7f93b9d90cb5630d28034b40779
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SC_INC_ACCESSIBLEFILTERTOPWINDOW_HXX
21 #define INCLUDED_SC_INC_ACCESSIBLEFILTERTOPWINDOW_HXX
23 #include "AccessibleFilterMenu.hxx"
24 #include <cppuhelper/implbase1.hxx>
26 class ScCheckListMenuWindow;
28 class ScAccessibleFilterTopWindow : public ScAccessibleFilterMenu
30 public:
31 ScAccessibleFilterTopWindow(
32 const ::com::sun::star::uno::Reference<
33 ::com::sun::star::accessibility::XAccessible>& rxParent,
34 ScCheckListMenuWindow* pWin, const OUString& rName);
35 virtual ~ScAccessibleFilterTopWindow();
37 // XAccessibleContext
39 virtual sal_Int32 SAL_CALL getAccessibleChildCount()
40 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
42 virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
43 getAccessibleChild(sal_Int32 nIndex)
44 throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IndexOutOfBoundsException, std::exception) SAL_OVERRIDE;
46 virtual OUString SAL_CALL getImplementationName()
47 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
49 // Non-UNO Methods
51 enum ChildControlType {
52 EDIT_SEARCH_BOX, LISTBOX, TOGGLE_ALL, SINGLE_ON_BTN, SINGLE_OFF_BTN, OK_BTN, CANCEL_BTN
54 void setAccessibleChild(
55 const ::com::sun::star::uno::Reference<
56 ::com::sun::star::accessibility::XAccessible >& rAccessible,
57 ChildControlType eType);
59 private:
60 /** The top menu part */
61 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
62 mxAccMenu;
64 /** Edit search box for searching field members */
65 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
66 mxAccEditSearchBox;
67 /** check list box for field member visibility */
68 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
69 mxAccListBox;
71 /** check box for toggling all field member's visibility. */
72 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
73 mxAccToggleAll;
75 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
76 mxAccSingleOnBtn;
78 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
79 mxAccSingleOffBtn;
81 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
82 mxAccOkBtn;
84 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
85 mxAccCancelBtn;
88 #endif
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */