LibreOffice Module svx (master) 1
ThemeColorChanger.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 */
9
10#pragma once
11
12#include <svx/svxdllapi.h>
15#include <svx/svdpage.hxx>
16#include <svx/svdobj.hxx>
17
18namespace svx
19{
20namespace theme
21{
22SVXCORE_DLLPUBLIC void updateSdrObject(model::ColorSet const& rColorSet, SdrObject* pObject);
23}
24
26{
27private:
29
30public:
32 virtual ~ThemeColorChanger() override;
33
34 void apply(std::shared_ptr<model::ColorSet> const& pColorSet) override;
35};
36
37} // end svx namespace
38
39/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Abstract DrawObject.
Definition: svdobj.hxx:260
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
Definition: svdpage.hxx:379
virtual ~ThemeColorChanger() override
void updateSdrObject(model::ColorSet const &rColorSet, SdrObject *pObject)
Updates properties of the SdrObject.
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35