LibreOffice Module svx (master) 1
|
#include <LinePropertyPanel.hxx>
Public Member Functions | |
virtual | ~LinePropertyPanel () override |
virtual void | HandleContextChange (const vcl::EnumContext &rContext) override |
virtual void | NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override |
virtual void | GetControlState (const sal_uInt16, boost::property_tree::ptree &) override |
SfxBindings * | GetBindings () |
LinePropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings) | |
virtual void | setLineWidth (const XLineWidthItem &rItem) override |
Public Member Functions inherited from svx::sidebar::LinePropertyPanelBase | |
virtual | ~LinePropertyPanelBase () override |
void | SetWidth (tools::Long nWidth) |
void | SetWidthIcon (int n) |
void | SetWidthIcon () |
void | EndLineWidthPopup () |
LinePropertyPanelBase (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame) | |
virtual void | setLineWidth (const XLineWidthItem &rItem)=0 |
void | SetNoneLineStyle (bool bNoneLineStyle) |
Public Member Functions inherited from PanelLayout | |
PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
void | SetPanel (sfx2::sidebar::Panel *pPanel) |
virtual | ~PanelLayout () |
Size | get_preferred_size () const |
void | queue_resize () |
Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface | |
virtual void | NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0 |
virtual void | GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0 |
virtual | ~ItemUpdateReceiverInterface () |
Static Public Member Functions | |
static std::unique_ptr< PanelLayout > | Create (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings) |
Protected Member Functions | |
virtual void | setLineTransparency (const XLineTransparenceItem &rItem) override |
virtual void | setLineJoint (const XLineJointItem *pItem) override |
virtual void | setLineCap (const XLineCapItem *pItem) override |
Protected Member Functions inherited from svx::sidebar::LinePropertyPanelBase | |
void | ActivateControls () |
virtual void | setLineTransparency (const XLineTransparenceItem &rItem)=0 |
virtual void | setLineJoint (const XLineJointItem *pItem)=0 |
virtual void | setLineCap (const XLineCapItem *pItem)=0 |
void | updateLineTransparence (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
virtual void | updateLineWidth (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
void | updateLineJoint (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
void | updateLineCap (bool bDisabled, bool bSetOrDefault, const SfxPoolItem *pItem) |
void | setMapUnit (MapUnit eMapUnit) |
void | enableArrowHead () |
void | disableArrowHead () |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Additional Inherited Members | |
Protected Attributes inherited from svx::sidebar::LinePropertyPanelBase | |
std::unique_ptr< weld::Toolbar > | mxTBColor |
std::unique_ptr< ToolbarUnoDispatcher > | mxColorDispatch |
std::unique_ptr< weld::Toolbar > | mxLineStyleTB |
std::unique_ptr< ToolbarUnoDispatcher > | mxLineStyleDispatch |
sal_Int32 | mnWidthCoreValue |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 39 of file LinePropertyPanel.hxx.
|
overridevirtual |
Definition at line 51 of file LinePropertyPanel.cxx.
References SfxControllerItem::dispose(), maCapStyle, maDashControl, maEdgeStyle, maStyleControl, maTransControl, and maWidthControl.
svx::sidebar::LinePropertyPanel::LinePropertyPanel | ( | weld::Widget * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame, | ||
SfxBindings * | pBindings | ||
) |
Definition at line 35 of file LinePropertyPanel.cxx.
References SfxControllerItem::GetCoreMetric(), maWidthControl, and svx::sidebar::LinePropertyPanelBase::setMapUnit().
|
static |
Definition at line 61 of file LinePropertyPanel.cxx.
|
inline |
Definition at line 63 of file LinePropertyPanel.hxx.
References mpBindings.
Referenced by setLineCap(), setLineJoint(), setLineTransparency(), and setLineWidth().
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 59 of file LinePropertyPanel.hxx.
|
overridevirtual |
Definition at line 110 of file LinePropertyPanel.cxx.
References CombinedEnumContext, svx::sidebar::LinePropertyPanelBase::disableArrowHead(), svx::sidebar::LinePropertyPanelBase::enableArrowHead(), vcl::EnumContext::GetCombinedContext_DI(), and maContext.
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 76 of file LinePropertyPanel.cxx.
References svx::sidebar::LinePropertyPanelBase::ActivateControls(), svx::sidebar::LinePropertyPanelBase::updateLineCap(), svx::sidebar::LinePropertyPanelBase::updateLineJoint(), svx::sidebar::LinePropertyPanelBase::updateLineTransparence(), and svx::sidebar::LinePropertyPanelBase::updateLineWidth().
|
overrideprotectedvirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 145 of file LinePropertyPanel.cxx.
References SfxDispatcher::ExecuteList(), GetBindings(), and SfxBindings::GetDispatcher().
|
overrideprotectedvirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 139 of file LinePropertyPanel.cxx.
References SfxDispatcher::ExecuteList(), GetBindings(), and SfxBindings::GetDispatcher().
|
overrideprotectedvirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 151 of file LinePropertyPanel.cxx.
References SfxDispatcher::ExecuteList(), GetBindings(), and SfxBindings::GetDispatcher().
|
overridevirtual |
Implements svx::sidebar::LinePropertyPanelBase.
Definition at line 157 of file LinePropertyPanel.cxx.
References SfxDispatcher::ExecuteList(), GetBindings(), and SfxBindings::GetDispatcher().
|
private |
Definition at line 86 of file LinePropertyPanel.hxx.
Referenced by ~LinePropertyPanel().
|
private |
Definition at line 89 of file LinePropertyPanel.hxx.
Referenced by HandleContextChange().
|
private |
Definition at line 82 of file LinePropertyPanel.hxx.
Referenced by ~LinePropertyPanel().
|
private |
Definition at line 85 of file LinePropertyPanel.hxx.
Referenced by ~LinePropertyPanel().
|
private |
Definition at line 81 of file LinePropertyPanel.hxx.
Referenced by ~LinePropertyPanel().
|
private |
Definition at line 84 of file LinePropertyPanel.hxx.
Referenced by ~LinePropertyPanel().
|
private |
Definition at line 83 of file LinePropertyPanel.hxx.
Referenced by LinePropertyPanel(), and ~LinePropertyPanel().
|
private |
Definition at line 88 of file LinePropertyPanel.hxx.
Referenced by GetBindings().