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 OString &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_LINK (ToolboxWidthSelectHdl, const OString &, void)
 
 DECL_LINK (ChangeTransparentHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ChangeEdgeStyleHdl, weld::ComboBox &, void)
 
 DECL_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
 
OUString maIMGWidthIcon [8]
 
bool mbWidthValuable: 1
 
bool mbArrowSupported
 
bool mbNoneLineStyle
 

Detailed Description

Definition at line 46 of file LinePropertyPanelBase.hxx.

Constructor & Destructor Documentation

svx::sidebar::LinePropertyPanelBase::~LinePropertyPanelBase ( )
overridevirtual
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

void svx::sidebar::LinePropertyPanelBase::ActivateControls ( )
protected
svx::sidebar::LinePropertyPanelBase::DECL_LINK ( ToolboxWidthSelectHdl  ,
const OString &  ,
void   
)
private
svx::sidebar::LinePropertyPanelBase::DECL_LINK ( ChangeTransparentHdl  ,
weld::MetricSpinButton ,
void   
)
private
svx::sidebar::LinePropertyPanelBase::DECL_LINK ( ChangeEdgeStyleHdl  ,
weld::ComboBox ,
void   
)
private
svx::sidebar::LinePropertyPanelBase::DECL_LINK ( ChangeCapStyleHdl  ,
weld::ComboBox ,
void   
)
private
void svx::sidebar::LinePropertyPanelBase::disableArrowHead ( )
protected
void svx::sidebar::LinePropertyPanelBase::enableArrowHead ( )
protected
void svx::sidebar::LinePropertyPanelBase::EndLineWidthPopup ( )

Definition at line 384 of file LinePropertyPanelBase.cxx.

References mxTBWidth, and SELECTWIDTH.

void svx::sidebar::LinePropertyPanelBase::Initialize ( )
private
virtual void svx::sidebar::LinePropertyPanelBase::setLineCap ( const XLineCapItem pItem)
protectedpure virtual
virtual void svx::sidebar::LinePropertyPanelBase::setLineJoint ( const XLineJointItem pItem)
protectedpure virtual
virtual void svx::sidebar::LinePropertyPanelBase::setLineTransparency ( const XLineTransparenceItem rItem)
protectedpure virtual
virtual void svx::sidebar::LinePropertyPanelBase::setLineWidth ( const XLineWidthItem rItem)
pure virtual
void svx::sidebar::LinePropertyPanelBase::setMapUnit ( MapUnit  eMapUnit)
protected
void svx::sidebar::LinePropertyPanelBase::SetNoneLineStyle ( bool  bNoneLineStyle)
inline
void svx::sidebar::LinePropertyPanelBase::SetWidth ( tools::Long  nWidth)
void svx::sidebar::LinePropertyPanelBase::SetWidthIcon ( int  n)

Definition at line 397 of file LinePropertyPanelBase.cxx.

References maIMGNone, maIMGWidthIcon, mxTBWidth, and SELECTWIDTH.

void svx::sidebar::LinePropertyPanelBase::SetWidthIcon ( )
void svx::sidebar::LinePropertyPanelBase::updateLineCap ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protected
void svx::sidebar::LinePropertyPanelBase::updateLineJoint ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protected
void svx::sidebar::LinePropertyPanelBase::updateLineTransparence ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protected
void svx::sidebar::LinePropertyPanelBase::updateLineWidth ( bool  bDisabled,
bool  bSetOrDefault,
const SfxPoolItem pItem 
)
protectedvirtual

Member Data Documentation

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

Definition at line 119 of file LinePropertyPanelBase.hxx.

Referenced by SetWidthIcon().

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

Definition at line 122 of file LinePropertyPanelBase.hxx.

Referenced by Initialize(), and SetWidthIcon().

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

Definition at line 125 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 126 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls().

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

Definition at line 124 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 116 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 115 of file LinePropertyPanelBase.hxx.

Referenced by updateLineTransparence().

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

Definition at line 96 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 109 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 91 of file LinePropertyPanelBase.hxx.

Referenced by ~LinePropertyPanelBase().

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

Definition at line 106 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 104 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 102 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 100 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 108 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 107 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 105 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 94 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 113 of file LinePropertyPanelBase.hxx.

Referenced by Initialize().

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

Definition at line 93 of file LinePropertyPanelBase.hxx.

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

std::unique_ptr<LineWidthPopup> svx::sidebar::LinePropertyPanelBase::mxLineWidthPopup
private
std::unique_ptr<weld::MetricSpinButton> svx::sidebar::LinePropertyPanelBase::mxMFTransparent
private
std::unique_ptr<weld::Toolbar> svx::sidebar::LinePropertyPanelBase::mxTBColor
protected

Definition at line 90 of file LinePropertyPanelBase.hxx.

Referenced by ~LinePropertyPanelBase().

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

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