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

#include <LinePropertyPanelBase.hxx>

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

Public Member Functions

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 ()
 

Protected Member Functions

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
 

Protected Attributes

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
 

Private Member Functions

void Initialize ()
 
 DECL_DLLPRIVATE_LINK (ToolboxWidthSelectHdl, const OUString &, void)
 
 DECL_DLLPRIVATE_LINK (ChangeTransparentHdl, weld::MetricSpinButton &, void)
 
 DECL_DLLPRIVATE_LINK (ChangeEdgeStyleHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (ChangeCapStyleHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< weld::LabelmxFTWidth
 
std::unique_ptr< weld::ToolbarmxTBWidth
 
std::unique_ptr< weld::LabelmxFTTransparency
 
std::unique_ptr< weld::MetricSpinButtonmxMFTransparent
 
std::unique_ptr< weld::LabelmxFTEdgeStyle
 
std::unique_ptr< weld::ComboBoxmxLBEdgeStyle
 
std::unique_ptr< weld::LabelmxFTCapStyle
 
std::unique_ptr< weld::ComboBoxmxLBCapStyle
 
std::unique_ptr< weld::WidgetmxGridLineProps
 
std::unique_ptr< weld::WidgetmxBoxArrowProps
 
std::unique_ptr< LineWidthPopupmxLineWidthPopup
 
std::unique_ptr< LineStyleNoneChangemxLineStyleNoneChange
 
sal_uInt16 mnTrans
 
MapUnit meMapUnit
 
OUString maIMGNone
 
BitmapEx maIMGWidthIcon [8]
 
bool mbWidthValuable: 1
 
bool mbArrowSupported
 
bool mbNoneLineStyle
 

Detailed Description

Definition at line 46 of file LinePropertyPanelBase.hxx.

Constructor & Destructor Documentation

◆ ~LinePropertyPanelBase()

svx::sidebar::LinePropertyPanelBase::~LinePropertyPanelBase ( )
overridevirtual

◆ LinePropertyPanelBase()

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

Definition at line 67 of file LinePropertyPanelBase.cxx.

References get(), Initialize(), MapMM, and PERCENT().

Member Function Documentation

◆ ActivateControls()

void svx::sidebar::LinePropertyPanelBase::ActivateControls ( )
protected

◆ DECL_DLLPRIVATE_LINK() [1/4]

svx::sidebar::LinePropertyPanelBase::DECL_DLLPRIVATE_LINK ( ChangeCapStyleHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/4]

svx::sidebar::LinePropertyPanelBase::DECL_DLLPRIVATE_LINK ( ChangeEdgeStyleHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/4]

svx::sidebar::LinePropertyPanelBase::DECL_DLLPRIVATE_LINK ( ChangeTransparentHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/4]

svx::sidebar::LinePropertyPanelBase::DECL_DLLPRIVATE_LINK ( ToolboxWidthSelectHdl  ,
const OUString &  ,
void   
)
private

◆ disableArrowHead()

void svx::sidebar::LinePropertyPanelBase::disableArrowHead ( )
protected

◆ enableArrowHead()

void svx::sidebar::LinePropertyPanelBase::enableArrowHead ( )
protected

◆ EndLineWidthPopup()

void svx::sidebar::LinePropertyPanelBase::EndLineWidthPopup ( )

Definition at line 377 of file LinePropertyPanelBase.cxx.

References mxTBWidth, and SELECTWIDTH.

◆ Initialize()

void svx::sidebar::LinePropertyPanelBase::Initialize ( )
private

◆ setLineCap()

virtual void svx::sidebar::LinePropertyPanelBase::setLineCap ( const XLineCapItem pItem)
protectedpure virtual

◆ setLineJoint()

virtual void svx::sidebar::LinePropertyPanelBase::setLineJoint ( const XLineJointItem pItem)
protectedpure virtual

◆ setLineTransparency()

virtual void svx::sidebar::LinePropertyPanelBase::setLineTransparency ( const XLineTransparenceItem rItem)
protectedpure virtual

◆ setLineWidth()

virtual void svx::sidebar::LinePropertyPanelBase::setLineWidth ( const XLineWidthItem rItem)
pure virtual

◆ setMapUnit()

void svx::sidebar::LinePropertyPanelBase::setMapUnit ( MapUnit  eMapUnit)
protected

◆ SetNoneLineStyle()

void svx::sidebar::LinePropertyPanelBase::SetNoneLineStyle ( bool  bNoneLineStyle)
inline

◆ SetWidth()

void svx::sidebar::LinePropertyPanelBase::SetWidth ( tools::Long  nWidth)

◆ SetWidthIcon() [1/2]

void svx::sidebar::LinePropertyPanelBase::SetWidthIcon ( )

◆ SetWidthIcon() [2/2]

void svx::sidebar::LinePropertyPanelBase::SetWidthIcon ( int  n)

◆ updateLineCap()

void svx::sidebar::LinePropertyPanelBase::updateLineCap ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protected

◆ updateLineJoint()

void svx::sidebar::LinePropertyPanelBase::updateLineJoint ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protected

◆ updateLineTransparence()

void svx::sidebar::LinePropertyPanelBase::updateLineTransparence ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protected

◆ updateLineWidth()

void svx::sidebar::LinePropertyPanelBase::updateLineWidth ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protectedvirtual

Member Data Documentation

◆ maIMGNone

OUString svx::sidebar::LinePropertyPanelBase::maIMGNone
private

Definition at line 119 of file LinePropertyPanelBase.hxx.

Referenced by SetWidthIcon().

◆ maIMGWidthIcon

BitmapEx svx::sidebar::LinePropertyPanelBase::maIMGWidthIcon[8]
private

Definition at line 122 of file LinePropertyPanelBase.hxx.

Referenced by Initialize(), and SetWidthIcon().

◆ mbArrowSupported

bool svx::sidebar::LinePropertyPanelBase::mbArrowSupported
private

Definition at line 125 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), disableArrowHead(), and enableArrowHead().

◆ mbNoneLineStyle

bool svx::sidebar::LinePropertyPanelBase::mbNoneLineStyle
private

Definition at line 126 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls().

◆ mbWidthValuable

bool svx::sidebar::LinePropertyPanelBase::mbWidthValuable
private

Definition at line 124 of file LinePropertyPanelBase.hxx.

Referenced by setMapUnit(), SetWidth(), SetWidthIcon(), and updateLineWidth().

◆ meMapUnit

MapUnit svx::sidebar::LinePropertyPanelBase::meMapUnit
private

Definition at line 116 of file LinePropertyPanelBase.hxx.

Referenced by setMapUnit(), SetWidth(), and SetWidthIcon().

◆ mnTrans

sal_uInt16 svx::sidebar::LinePropertyPanelBase::mnTrans
private

Definition at line 115 of file LinePropertyPanelBase.hxx.

Referenced by updateLineTransparence().

◆ mnWidthCoreValue

sal_Int32 svx::sidebar::LinePropertyPanelBase::mnWidthCoreValue
protected

Definition at line 96 of file LinePropertyPanelBase.hxx.

Referenced by setMapUnit(), SetWidth(), SetWidthIcon(), and updateLineWidth().

◆ mxBoxArrowProps

std::unique_ptr<weld::Widget> svx::sidebar::LinePropertyPanelBase::mxBoxArrowProps
private

Definition at line 109 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), and ~LinePropertyPanelBase().

◆ mxColorDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::LinePropertyPanelBase::mxColorDispatch
protected

Definition at line 91 of file LinePropertyPanelBase.hxx.

Referenced by ~LinePropertyPanelBase().

◆ mxFTCapStyle

std::unique_ptr<weld::Label> svx::sidebar::LinePropertyPanelBase::mxFTCapStyle
private

Definition at line 106 of file LinePropertyPanelBase.hxx.

Referenced by updateLineCap(), and ~LinePropertyPanelBase().

◆ mxFTEdgeStyle

std::unique_ptr<weld::Label> svx::sidebar::LinePropertyPanelBase::mxFTEdgeStyle
private

Definition at line 104 of file LinePropertyPanelBase.hxx.

Referenced by updateLineJoint(), and ~LinePropertyPanelBase().

◆ mxFTTransparency

std::unique_ptr<weld::Label> svx::sidebar::LinePropertyPanelBase::mxFTTransparency
private

Definition at line 102 of file LinePropertyPanelBase.hxx.

Referenced by updateLineTransparence(), and ~LinePropertyPanelBase().

◆ mxFTWidth

std::unique_ptr<weld::Label> svx::sidebar::LinePropertyPanelBase::mxFTWidth
private

Definition at line 100 of file LinePropertyPanelBase.hxx.

Referenced by updateLineWidth(), and ~LinePropertyPanelBase().

◆ mxGridLineProps

std::unique_ptr<weld::Widget> svx::sidebar::LinePropertyPanelBase::mxGridLineProps
private

Definition at line 108 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), and ~LinePropertyPanelBase().

◆ mxLBCapStyle

std::unique_ptr<weld::ComboBox> svx::sidebar::LinePropertyPanelBase::mxLBCapStyle
private

Definition at line 107 of file LinePropertyPanelBase.hxx.

Referenced by Initialize(), updateLineCap(), and ~LinePropertyPanelBase().

◆ mxLBEdgeStyle

std::unique_ptr<weld::ComboBox> svx::sidebar::LinePropertyPanelBase::mxLBEdgeStyle
private

Definition at line 105 of file LinePropertyPanelBase.hxx.

Referenced by Initialize(), updateLineJoint(), and ~LinePropertyPanelBase().

◆ mxLineStyleDispatch

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::LinePropertyPanelBase::mxLineStyleDispatch
protected

Definition at line 94 of file LinePropertyPanelBase.hxx.

Referenced by Initialize(), and ~LinePropertyPanelBase().

◆ mxLineStyleNoneChange

std::unique_ptr<LineStyleNoneChange> svx::sidebar::LinePropertyPanelBase::mxLineStyleNoneChange
private

Definition at line 113 of file LinePropertyPanelBase.hxx.

Referenced by Initialize().

◆ mxLineStyleTB

std::unique_ptr<weld::Toolbar> svx::sidebar::LinePropertyPanelBase::mxLineStyleTB
protected

Definition at line 93 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), and ~LinePropertyPanelBase().

◆ mxLineWidthPopup

std::unique_ptr<LineWidthPopup> svx::sidebar::LinePropertyPanelBase::mxLineWidthPopup
private

◆ mxMFTransparent

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::LinePropertyPanelBase::mxMFTransparent
private

◆ mxTBColor

std::unique_ptr<weld::Toolbar> svx::sidebar::LinePropertyPanelBase::mxTBColor
protected

Definition at line 90 of file LinePropertyPanelBase.hxx.

Referenced by ~LinePropertyPanelBase().

◆ mxTBWidth

std::unique_ptr<weld::Toolbar> svx::sidebar::LinePropertyPanelBase::mxTBWidth
private

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