LibreOffice Module chart2 (master)
1
chart2
source
controller
sidebar
ChartAreaPanel.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 <
sfx2/sidebar/SidebarModelUpdate.hxx
>
13
#include <
svx/xfillit0.hxx
>
14
#include <
svx/xflgrit.hxx
>
15
#include <
svx/xflhtit.hxx
>
16
#include <
svx/xbtmpit.hxx
>
17
18
#include <
svx/sidebar/AreaPropertyPanelBase.hxx
>
19
20
#include "
ChartSidebarModifyListener.hxx
"
21
#include "
ChartSidebarSelectionListener.hxx
"
22
#include "
ChartColorWrapper.hxx
"
23
24
class
XFillFloatTransparenceItem
;
25
class
XFillTransparenceItem
;
26
class
XFillColorItem
;
27
28
namespace
chart
{
29
30
class
ChartController;
31
32
namespace
sidebar {
33
34
class
ChartAreaPanel
:
public
svx::sidebar::AreaPropertyPanelBase
,
35
public
sfx2::sidebar::SidebarModelUpdate,
36
public
ChartSidebarModifyListenerParent
,
37
public
ChartSidebarSelectionListenerParent
38
{
39
public
:
40
static
std::unique_ptr<PanelLayout>
Create
(
41
weld::Widget
* pParent,
42
const
css::uno::Reference<css::frame::XFrame>& rxFrame,
43
ChartController
* pController);
44
45
// constructor/destructor
46
ChartAreaPanel
(
47
weld::Widget
* pParent,
48
const
css::uno::Reference<css::frame::XFrame>& rxFrame,
49
ChartController
* pController);
50
51
virtual
~ChartAreaPanel
()
override
;
52
53
virtual
void
setFillTransparence
(
const
XFillTransparenceItem
& rItem)
override
;
54
virtual
void
setFillFloatTransparence
(
const
XFillFloatTransparenceItem
& rItem)
override
;
55
virtual
void
setFillStyle
(
const
XFillStyleItem
& rItem)
override
;
56
virtual
void
setFillStyleAndColor
(
const
XFillStyleItem
* pStyleItem,
const
XFillColorItem
& rColorItem)
override
;
57
virtual
void
setFillStyleAndGradient
(
const
XFillStyleItem
* pStyleItem,
const
XFillGradientItem
& rGradientItem)
override
;
58
virtual
void
setFillStyleAndHatch
(
const
XFillStyleItem
* pStyleItem,
const
XFillHatchItem
& rHatchItem)
override
;
59
virtual
void
setFillStyleAndBitmap
(
const
XFillStyleItem
* pStyleItem,
const
XFillBitmapItem
& rBitmapItem)
override
;
60
virtual
void
setFillUseBackground
(
const
XFillStyleItem
* pStyleItem,
const
XFillUseSlideBackgroundItem
& rItem)
override
;
61
62
virtual
void
updateData
()
override
;
63
virtual
void
modelInvalid
()
override
;
64
65
virtual
void
selectionChanged
(
bool
bCorrectType)
override
;
66
67
virtual
void
updateModel
(css::uno::Reference<css::frame::XModel>
xModel
)
override
;
68
69
private
:
70
71
rtl::Reference<::chart::ChartModel>
mxModel
;
72
css::uno::Reference<css::util::XModifyListener>
mxListener
;
73
rtl::Reference<ChartSidebarSelectionListener>
mxSelectionListener
;
74
75
void
Initialize
();
76
void
doUpdateModel
(
rtl::Reference<::chart::ChartModel>
xModel);
77
78
bool
mbUpdate
;
79
bool
mbModelValid
;
80
81
ChartColorWrapper
maFillColorWrapper
;
82
};
83
84
} }
// end of namespace svx::sidebar
85
86
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AreaPropertyPanelBase.hxx
ChartColorWrapper.hxx
ChartSidebarModifyListener.hxx
ChartSidebarSelectionListener.hxx
SidebarModelUpdate.hxx
XFillBitmapItem
XFillColorItem
XFillFloatTransparenceItem
XFillGradientItem
XFillHatchItem
XFillStyleItem
XFillTransparenceItem
XFillUseSlideBackgroundItem
chart::ChartController
Definition:
ChartController.hxx:111
chart::sidebar::ChartAreaPanel
Definition:
ChartAreaPanel.hxx:38
chart::sidebar::ChartAreaPanel::mxListener
css::uno::Reference< css::util::XModifyListener > mxListener
Definition:
ChartAreaPanel.hxx:72
chart::sidebar::ChartAreaPanel::Initialize
void Initialize()
Definition:
ChartAreaPanel.cxx:295
chart::sidebar::ChartAreaPanel::updateData
virtual void updateData() override
Definition:
ChartAreaPanel.cxx:417
chart::sidebar::ChartAreaPanel::mxSelectionListener
rtl::Reference< ChartSidebarSelectionListener > mxSelectionListener
Definition:
ChartAreaPanel.hxx:73
chart::sidebar::ChartAreaPanel::mxModel
rtl::Reference<::chart::ChartModel > mxModel
Definition:
ChartAreaPanel.hxx:71
chart::sidebar::ChartAreaPanel::modelInvalid
virtual void modelInvalid() override
Definition:
ChartAreaPanel.cxx:504
chart::sidebar::ChartAreaPanel::doUpdateModel
void doUpdateModel(rtl::Reference<::chart::ChartModel > xModel)
Definition:
ChartAreaPanel.cxx:515
chart::sidebar::ChartAreaPanel::setFillStyle
virtual void setFillStyle(const XFillStyleItem &rItem) override
Definition:
ChartAreaPanel.cxx:340
chart::sidebar::ChartAreaPanel::setFillStyleAndColor
virtual void setFillStyleAndColor(const XFillStyleItem *pStyleItem, const XFillColorItem &rColorItem) override
Definition:
ChartAreaPanel.cxx:350
chart::sidebar::ChartAreaPanel::mbModelValid
bool mbModelValid
Definition:
ChartAreaPanel.hxx:79
chart::sidebar::ChartAreaPanel::ChartAreaPanel
ChartAreaPanel(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, ChartController *pController)
Definition:
ChartAreaPanel.cxx:272
chart::sidebar::ChartAreaPanel::setFillUseBackground
virtual void setFillUseBackground(const XFillStyleItem *pStyleItem, const XFillUseSlideBackgroundItem &rItem) override
Definition:
ChartAreaPanel.cxx:411
chart::sidebar::ChartAreaPanel::setFillStyleAndHatch
virtual void setFillStyleAndHatch(const XFillStyleItem *pStyleItem, const XFillHatchItem &rHatchItem) override
Definition:
ChartAreaPanel.cxx:380
chart::sidebar::ChartAreaPanel::setFillFloatTransparence
virtual void setFillFloatTransparence(const XFillFloatTransparenceItem &rItem) override
Definition:
ChartAreaPanel.cxx:319
chart::sidebar::ChartAreaPanel::~ChartAreaPanel
virtual ~ChartAreaPanel() override
Definition:
ChartAreaPanel.cxx:290
chart::sidebar::ChartAreaPanel::setFillTransparence
virtual void setFillTransparence(const XFillTransparenceItem &rItem) override
Definition:
ChartAreaPanel.cxx:309
chart::sidebar::ChartAreaPanel::selectionChanged
virtual void selectionChanged(bool bCorrectType) override
Definition:
ChartAreaPanel.cxx:509
chart::sidebar::ChartAreaPanel::mbUpdate
bool mbUpdate
Definition:
ChartAreaPanel.hxx:78
chart::sidebar::ChartAreaPanel::maFillColorWrapper
ChartColorWrapper maFillColorWrapper
Definition:
ChartAreaPanel.hxx:81
chart::sidebar::ChartAreaPanel::setFillStyleAndGradient
virtual void setFillStyleAndGradient(const XFillStyleItem *pStyleItem, const XFillGradientItem &rGradientItem) override
Definition:
ChartAreaPanel.cxx:362
chart::sidebar::ChartAreaPanel::Create
static std::unique_ptr< PanelLayout > Create(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, ChartController *pController)
Definition:
ChartAreaPanel.cxx:259
chart::sidebar::ChartAreaPanel::updateModel
virtual void updateModel(css::uno::Reference< css::frame::XModel > xModel) override
Definition:
ChartAreaPanel.cxx:541
chart::sidebar::ChartAreaPanel::setFillStyleAndBitmap
virtual void setFillStyleAndBitmap(const XFillStyleItem *pStyleItem, const XFillBitmapItem &rBitmapItem) override
Definition:
ChartAreaPanel.cxx:393
chart::sidebar::ChartColorWrapper
Definition:
ChartColorWrapper.hxx:25
chart::sidebar::ChartSidebarModifyListenerParent
Definition:
ChartSidebarModifyListener.hxx:18
chart::sidebar::ChartSidebarSelectionListenerParent
Definition:
ChartSidebarSelectionListener.hxx:22
rtl::Reference<::chart::ChartModel >
svx::sidebar::AreaPropertyPanelBase
weld::Widget
chart
Definition:
AccessibleBase.cxx:63
xModel
Reference< XModel > xModel
xbtmpit.hxx
xfillit0.hxx
xflgrit.hxx
xflhtit.hxx
Generated on Sun Jul 30 2023 04:39:31 for LibreOffice Module chart2 (master) by
1.9.3