1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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
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
);
39 css::uno::Reference
<css::frame::XModel
> mxModel
;
41 SvxColorToolBoxControl
* mpControl
;
43 OUString maPropertyName
;
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */