vcl: allow for overriding the default PDF rendering resolution
[LibreOffice.git] / chart2 / source / controller / sidebar / ChartColorWrapper.hxx
blob05b0e9f38feab81394915bc7ab4a737b03404ae9
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_CHART2_SOURCE_CONTROLLER_SIDEBAR_CHARTCOLORWRAPPER_HXX
11 #define INCLUDED_CHART2_SOURCE_CONTROLLER_SIDEBAR_CHARTCOLORWRAPPER_HXX
13 #include <com/sun/star/uno/Reference.hxx>
14 #include <svx/Palette.hxx>
16 namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
18 class SvxColorToolBoxControl;
20 namespace chart { namespace sidebar {
22 class ChartColorWrapper
24 private:
26 public:
27 ChartColorWrapper(css::uno::Reference<css::frame::XModel> const & xModel,
28 SvxColorToolBoxControl* pControl,
29 const OUString& rPropertyName);
31 void operator()(const OUString& rCommand, const NamedColor& rColor);
33 void updateModel(const css::uno::Reference<css::frame::XModel>& xModel);
35 void updateData();
37 private:
39 css::uno::Reference<css::frame::XModel> mxModel;
41 SvxColorToolBoxControl* mpControl;
43 OUString maPropertyName;
46 } }
48 #endif
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */