LibreOffice Module svx (master)  1
AreaPropertyPanel.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  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANEL_HXX
20 #define INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANEL_HXX
21 
23 #include <svx/xfillit0.hxx>
24 #include <svx/xflclit.hxx>
25 #include <svx/xflgrit.hxx>
26 #include <svx/xflhtit.hxx>
27 #include <svx/xbtmpit.hxx>
28 
30 
33 class XFillStyleItem;
34 class XFillGradientItem;
35 class XFillColorItem;
36 class XFillHatchItem;
37 class XFillBitmapItem;
38 
39 namespace svx::sidebar {
40 
41 class AreaTransparencyGradientControl;
42 
44 {
45 public:
46  static std::unique_ptr<PanelLayout> Create(
47  weld::Widget* pParent,
48  const css::uno::Reference<css::frame::XFrame>& rxFrame,
49  SfxBindings* pBindings);
50 
52 
53  // constructor/destructor
55  weld::Widget* pParent,
56  const css::uno::Reference<css::frame::XFrame>& rxFrame,
57  SfxBindings* pBindings);
58 
59  virtual ~AreaPropertyPanel() override;
60 
61  virtual void setFillTransparence(const XFillTransparenceItem& rItem) override;
62  virtual void setFillFloatTransparence(const XFillFloatTransparenceItem& rItem) override;
63  virtual void setFillStyle(const XFillStyleItem& rItem) override;
64  virtual void setFillStyleAndColor(const XFillStyleItem* pStyleItem, const XFillColorItem& aColorItem) override;
65  virtual void setFillStyleAndGradient(const XFillStyleItem* pStyleItem, const XFillGradientItem& aGradientItem) override;
66  virtual void setFillStyleAndHatch(const XFillStyleItem* pStyleItem, const XFillHatchItem& aHatchItem) override;
67  virtual void setFillStyleAndBitmap(const XFillStyleItem* pStyleItem, const XFillBitmapItem& aHatchItem) override;
68 
69 private:
81 
83 };
84 
85 
86 } // end of namespace svx::sidebar
87 
88 
89 #endif // INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANEL_HXX
90 
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void setFillStyleAndBitmap(const XFillStyleItem *pStyleItem, const XFillBitmapItem &aHatchItem) override
::sfx2::sidebar::ControllerItem maBitmapListControl
virtual void setFillStyleAndHatch(const XFillStyleItem *pStyleItem, const XFillHatchItem &aHatchItem) override
::sfx2::sidebar::ControllerItem maFillTransparenceController
::sfx2::sidebar::ControllerItem maPatternListControl
::sfx2::sidebar::ControllerItem maGradientListControl
virtual void setFillStyleAndColor(const XFillStyleItem *pStyleItem, const XFillColorItem &aColorItem) override
::sfx2::sidebar::ControllerItem maHatchListControl
virtual void setFillStyleAndGradient(const XFillStyleItem *pStyleItem, const XFillGradientItem &aGradientItem) override
virtual void setFillFloatTransparence(const XFillFloatTransparenceItem &rItem) override
AreaPropertyPanel(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
static std::unique_ptr< PanelLayout > Create(weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
::sfx2::sidebar::ControllerItem maFillFloatTransparenceController
::sfx2::sidebar::ControllerItem maHatchControl
::sfx2::sidebar::ControllerItem maGradientControl
::sfx2::sidebar::ControllerItem maBitmapControl
virtual void setFillTransparence(const XFillTransparenceItem &rItem) override
::sfx2::sidebar::ControllerItem maColorControl
::sfx2::sidebar::ControllerItem maStyleControl
virtual void setFillStyle(const XFillStyleItem &rItem) override