Revert "tdf#110987: type detection, binary Office formats > templates"
[LibreOffice.git] / sc / inc / AccessibleFilterTopWindow.hxx
blob8ef5af28fa811e4a37e896daa54ccce7cfb06236
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"
25 class ScCheckListMenuWindow;
27 class ScAccessibleFilterTopWindow : public ScAccessibleFilterMenu
29 public:
30 ScAccessibleFilterTopWindow(
31 const css::uno::Reference< css::accessibility::XAccessible>& rxParent,
32 ScCheckListMenuWindow* pWin,
33 const OUString& rName);
34 virtual ~ScAccessibleFilterTopWindow() override;
36 // XAccessibleContext
38 virtual sal_Int32 SAL_CALL getAccessibleChildCount() override;
40 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
41 getAccessibleChild(sal_Int32 nIndex) override;
43 virtual OUString SAL_CALL getImplementationName() override;
45 // Non-UNO Methods
47 enum ChildControlType {
48 EDIT_SEARCH_BOX, LISTBOX, TOGGLE_ALL, SINGLE_ON_BTN, SINGLE_OFF_BTN, OK_BTN, CANCEL_BTN
50 void setAccessibleChild(
51 const css::uno::Reference< css::accessibility::XAccessible >& rAccessible,
52 ChildControlType eType);
54 private:
55 /** Edit search box for searching field members */
56 css::uno::Reference< css::accessibility::XAccessible >
57 mxAccEditSearchBox;
58 /** check list box for field member visibility */
59 css::uno::Reference< css::accessibility::XAccessible >
60 mxAccListBox;
62 /** check box for toggling all field member's visibility. */
63 css::uno::Reference< css::accessibility::XAccessible >
64 mxAccToggleAll;
66 css::uno::Reference< css::accessibility::XAccessible >
67 mxAccSingleOnBtn;
69 css::uno::Reference< css::accessibility::XAccessible >
70 mxAccSingleOffBtn;
72 css::uno::Reference< css::accessibility::XAccessible >
73 mxAccOkBtn;
75 css::uno::Reference< css::accessibility::XAccessible >
76 mxAccCancelBtn;
79 #endif
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */