bump product version to 7.2.5.1
[LibreOffice.git] / svx / inc / uiobject.hxx
blobbddf321a130ea6a40b018ffd3d43fb7493175bf2
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 #ifndef INCLUDED_SVX_INC_UIOBJECT_HXX
11 #define INCLUDED_SVX_INC_UIOBJECT_HXX
13 #include <memory>
14 #include <vcl/uitest/uiobject.hxx>
15 #include <svx/numvset.hxx>
17 class SvxShowCharSet;
18 class SvxNumValueSet;
20 class SvxShowCharSetUIObject final : public DrawingAreaUIObject
22 SvxShowCharSet* mpCharSet;
24 public:
25 SvxShowCharSetUIObject(const VclPtr<vcl::Window>& rCharSetWin);
27 virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
29 static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
31 private:
32 OUString get_name() const override;
35 class SvxNumValueSetUIObject final : public DrawingAreaUIObject
37 SvxNumValueSet* mpNumValueSet;
39 public:
40 SvxNumValueSetUIObject(vcl::Window* pNumValueSetWin);
42 virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
44 static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
46 virtual StringMap get_state() override;
48 private:
49 OUString get_name() const override;
52 #endif // INCLUDED_SVX_INC_UIOBJECT_HXX
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */