Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sw / source / uibase / inc / AccessibilityStatusBarControl.hxx
blob72940cdbce8a01681b172f200118627ac0bdd3ea
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/.
8 */
10 #pragma once
12 #include <sfx2/stbitem.hxx>
13 #include <vcl/image.hxx>
15 namespace sw
17 class AccessibilityStatusBarControl final : public SfxStatusBarControl
19 sal_Int32 mnIssues;
20 Image maImageIssuesFound;
21 Image maImageIssuesNotFound;
23 public:
24 SFX_DECL_STATUSBAR_CONTROL();
26 AccessibilityStatusBarControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb);
27 virtual ~AccessibilityStatusBarControl() override;
29 void StateChangedAtStatusBarControl(sal_uInt16 nSID, SfxItemState eState,
30 const SfxPoolItem* pState) override;
31 void Paint(const UserDrawEvent& rEvent) override;
34 } // end sw
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */