1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 final
: public ScAccessibleFilterMenu
30 ScAccessibleFilterTopWindow(
31 const css::uno::Reference
< css::accessibility::XAccessible
>& rxParent
,
32 ScCheckListMenuWindow
* pWin
,
33 const OUString
& rName
);
34 virtual ~ScAccessibleFilterTopWindow() override
;
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
;
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
);
55 /** Edit search box for searching field members */
56 css::uno::Reference
< css::accessibility::XAccessible
>
58 /** check list box for field member visibility */
59 css::uno::Reference
< css::accessibility::XAccessible
>
62 /** check box for toggling all field member's visibility. */
63 css::uno::Reference
< css::accessibility::XAccessible
>
66 css::uno::Reference
< css::accessibility::XAccessible
>
69 css::uno::Reference
< css::accessibility::XAccessible
>
72 css::uno::Reference
< css::accessibility::XAccessible
>
75 css::uno::Reference
< css::accessibility::XAccessible
>
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */