Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / svx / theme / ThemeColorChanger.hxx
blob8e942ea975adf4ecd63131493bfb552882cd20e0
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 <svx/svxdllapi.h>
13 #include <svx/theme/IThemeColorChanger.hxx>
14 #include <docmodel/theme/ColorSet.hxx>
15 #include <svx/svdpage.hxx>
16 #include <svx/svdobj.hxx>
18 namespace svx
20 namespace theme
22 SVXCORE_DLLPUBLIC void updateSdrObject(model::ColorSet const& rColorSet, SdrObject* pObject);
25 class SVXCORE_DLLPUBLIC ThemeColorChanger : public IThemeColorChanger
27 private:
28 SdrPage* mpPage;
30 public:
31 ThemeColorChanger(SdrPage* pPage);
32 virtual ~ThemeColorChanger() override;
34 void apply(std::shared_ptr<model::ColorSet> const& pColorSet) override;
37 } // end svx namespace
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */