LibreOffice Module svx (master)
1
include
svx
theme
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
>
13
#include <
svx/theme/IThemeColorChanger.hxx
>
14
#include <
docmodel/theme/ColorSet.hxx
>
15
#include <
svx/svdpage.hxx
>
16
#include <
svx/svdobj.hxx
>
17
18
namespace
svx
19
{
20
namespace
theme
21
{
22
SVXCORE_DLLPUBLIC
void
updateSdrObject
(
model::ColorSet
const
& rColorSet,
SdrObject
* pObject);
23
}
24
25
class
SVXCORE_DLLPUBLIC
ThemeColorChanger
:
public
IThemeColorChanger
26
{
27
private
:
28
SdrPage
*
mpPage
;
29
30
public
:
31
ThemeColorChanger
(
SdrPage
* pPage);
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: */
ColorSet.hxx
IThemeColorChanger.hxx
SdrObject
Abstract DrawObject.
Definition:
svdobj.hxx:260
SdrPage
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
Definition:
svdpage.hxx:379
model::ColorSet
svx::IThemeColorChanger
Definition:
IThemeColorChanger.hxx:18
svx::ThemeColorChanger
Definition:
ThemeColorChanger.hxx:26
svx::ThemeColorChanger::mpPage
SdrPage * mpPage
Definition:
ThemeColorChanger.hxx:28
svx::ThemeColorChanger::~ThemeColorChanger
virtual ~ThemeColorChanger() override
svx::theme::updateSdrObject
void updateSdrObject(model::ColorSet const &rColorSet, SdrObject *pObject)
Updates properties of the SdrObject.
Definition:
ThemeColorChanger.cxx:101
svx
svdobj.hxx
svdpage.hxx
svxdllapi.h
SVXCORE_DLLPUBLIC
#define SVXCORE_DLLPUBLIC
Definition:
svxdllapi.h:35
Generated on Sun Jul 30 2023 04:27:40 for LibreOffice Module svx (master) by
1.9.3