LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
svx::sidebar::LinePropertyPanel Class Reference

#include <LinePropertyPanel.hxx>

Inheritance diagram for svx::sidebar::LinePropertyPanel:
[legend]
Collaboration diagram for svx::sidebar::LinePropertyPanel:
[legend]

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
 
SfxBindingsGetBindings ()
 
 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< PanelLayoutCreate (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::WindowGetFrameWeld () const
 

Private Attributes

sfx2::sidebar::ControllerItem maStyleControl
 
sfx2::sidebar::ControllerItem maDashControl
 
sfx2::sidebar::ControllerItem maWidthControl
 
sfx2::sidebar::ControllerItem maTransControl
 
sfx2::sidebar::ControllerItem maEdgeStyle
 
sfx2::sidebar::ControllerItem maCapStyle
 
SfxBindingsmpBindings
 
vcl::EnumContext maContext
 

Additional Inherited Members

- Protected Attributes inherited from svx::sidebar::LinePropertyPanelBase
std::unique_ptr< weld::ToolbarmxTBColor
 
std::unique_ptr< ToolbarUnoDispatchermxColorDispatch
 
std::unique_ptr< weld::ToolbarmxLineStyleTB
 
std::unique_ptr< ToolbarUnoDispatchermxLineStyleDispatch
 
sal_Int32 mnWidthCoreValue
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 39 of file LinePropertyPanel.hxx.

Constructor & Destructor Documentation

◆ ~LinePropertyPanel()

svx::sidebar::LinePropertyPanel::~LinePropertyPanel ( )
overridevirtual

◆ LinePropertyPanel()

svx::sidebar::LinePropertyPanel::LinePropertyPanel ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::LinePropertyPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 61 of file LinePropertyPanel.cxx.

◆ GetBindings()

SfxBindings * svx::sidebar::LinePropertyPanel::GetBindings ( )
inline

Definition at line 63 of file LinePropertyPanel.hxx.

References mpBindings.

Referenced by setLineCap(), setLineJoint(), setLineTransparency(), and setLineWidth().

◆ GetControlState()

virtual void svx::sidebar::LinePropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ HandleContextChange()

void svx::sidebar::LinePropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

◆ NotifyItemUpdate()

void svx::sidebar::LinePropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ setLineCap()

void svx::sidebar::LinePropertyPanel::setLineCap ( const XLineCapItem pItem)
overrideprotectedvirtual

◆ setLineJoint()

void svx::sidebar::LinePropertyPanel::setLineJoint ( const XLineJointItem pItem)
overrideprotectedvirtual

◆ setLineTransparency()

void svx::sidebar::LinePropertyPanel::setLineTransparency ( const XLineTransparenceItem rItem)
overrideprotectedvirtual

◆ setLineWidth()

void svx::sidebar::LinePropertyPanel::setLineWidth ( const XLineWidthItem rItem)
overridevirtual

Member Data Documentation

◆ maCapStyle

sfx2::sidebar::ControllerItem svx::sidebar::LinePropertyPanel::maCapStyle
private

Definition at line 86 of file LinePropertyPanel.hxx.

Referenced by ~LinePropertyPanel().

◆ maContext

vcl::EnumContext svx::sidebar::LinePropertyPanel::maContext
private

Definition at line 89 of file LinePropertyPanel.hxx.

Referenced by HandleContextChange().

◆ maDashControl

sfx2::sidebar::ControllerItem svx::sidebar::LinePropertyPanel::maDashControl
private

Definition at line 82 of file LinePropertyPanel.hxx.

Referenced by ~LinePropertyPanel().

◆ maEdgeStyle

sfx2::sidebar::ControllerItem svx::sidebar::LinePropertyPanel::maEdgeStyle
private

Definition at line 85 of file LinePropertyPanel.hxx.

Referenced by ~LinePropertyPanel().

◆ maStyleControl

sfx2::sidebar::ControllerItem svx::sidebar::LinePropertyPanel::maStyleControl
private

Definition at line 81 of file LinePropertyPanel.hxx.

Referenced by ~LinePropertyPanel().

◆ maTransControl

sfx2::sidebar::ControllerItem svx::sidebar::LinePropertyPanel::maTransControl
private

Definition at line 84 of file LinePropertyPanel.hxx.

Referenced by ~LinePropertyPanel().

◆ maWidthControl

sfx2::sidebar::ControllerItem svx::sidebar::LinePropertyPanel::maWidthControl
private

Definition at line 83 of file LinePropertyPanel.hxx.

Referenced by LinePropertyPanel(), and ~LinePropertyPanel().

◆ mpBindings

SfxBindings* svx::sidebar::LinePropertyPanel::mpBindings
private

Definition at line 88 of file LinePropertyPanel.hxx.

Referenced by GetBindings().


The documentation for this class was generated from the following files: