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
 
virtual void dispose () override
 
void SetWidth (long nWidth)
 
void SetWidthIcon (int n)
 
void SetWidthIcon ()
 
void EndLineWidthPopup ()
 
 LinePropertyPanelBase (vcl::Window *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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 

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

std::unique_ptr< weld::ToolbarmxTBColor
 
std::unique_ptr< ToolbarUnoDispatchermxColorDispatch
 
std::unique_ptr< weld::ToolbarmxLineStyleTB
 
std::unique_ptr< ToolbarUnoDispatchermxLineStyleDispatch
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

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< DisableArrowsWrappermxDisableArrowsWrapper
 
sal_uInt16 mnTrans
 
MapUnit meMapUnit
 
sal_Int32 mnWidthCoreValue
 
OUString maIMGNone
 
OUString maIMGWidthIcon [8]
 
bool mbWidthValuable: 1
 
bool mbArrowSupported
 
bool mbNoneLineStyle
 

Detailed Description

Definition at line 50 of file LinePropertyPanelBase.hxx.

Constructor & Destructor Documentation

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

Definition at line 104 of file LinePropertyPanelBase.cxx.

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

Definition at line 73 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::dispose ( void  )
overridevirtual
void svx::sidebar::LinePropertyPanelBase::enableArrowHead ( )
protected
void svx::sidebar::LinePropertyPanelBase::EndLineWidthPopup ( )

Definition at line 397 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 ( long  nWidth)
void svx::sidebar::LinePropertyPanelBase::SetWidthIcon ( int  n)

Definition at line 410 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 
)
protected

Member Data Documentation

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

Definition at line 126 of file LinePropertyPanelBase.hxx.

Referenced by SetWidthIcon().

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

Definition at line 129 of file LinePropertyPanelBase.hxx.

Referenced by Initialize(), and SetWidthIcon().

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

Definition at line 132 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 133 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls().

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

Definition at line 131 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 122 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 121 of file LinePropertyPanelBase.hxx.

Referenced by updateLineTransparence().

sal_Int32 svx::sidebar::LinePropertyPanelBase::mnWidthCoreValue
private

Definition at line 123 of file LinePropertyPanelBase.hxx.

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

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

Definition at line 115 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), and dispose().

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

Definition at line 99 of file LinePropertyPanelBase.hxx.

Referenced by dispose().

std::unique_ptr<DisableArrowsWrapper> svx::sidebar::LinePropertyPanelBase::mxDisableArrowsWrapper
private

Definition at line 119 of file LinePropertyPanelBase.hxx.

Referenced by Initialize().

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

Definition at line 112 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), and updateLineCap().

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

Definition at line 110 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), and updateLineJoint().

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

Definition at line 108 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), and updateLineTransparence().

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

Definition at line 106 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), and updateLineWidth().

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

Definition at line 114 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), and dispose().

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

Definition at line 113 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), Initialize(), and updateLineCap().

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

Definition at line 111 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), Initialize(), and updateLineJoint().

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

Definition at line 102 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), and Initialize().

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

Definition at line 101 of file LinePropertyPanelBase.hxx.

Referenced by ActivateControls(), and dispose().

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

Definition at line 117 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), Initialize(), setMapUnit(), and SetWidth().

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

Definition at line 109 of file LinePropertyPanelBase.hxx.

Referenced by dispose(), Initialize(), and updateLineTransparence().

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

Definition at line 98 of file LinePropertyPanelBase.hxx.

Referenced by dispose().

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

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