LibreOffice Module svx (master) 1
|
#include <LinePropertyPanelBase.hxx>
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::Window * | GetFrameWeld () const |
Protected Attributes | |
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 |
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::Label > | mxFTWidth |
std::unique_ptr< weld::Toolbar > | mxTBWidth |
std::unique_ptr< weld::Label > | mxFTTransparency |
std::unique_ptr< weld::MetricSpinButton > | mxMFTransparent |
std::unique_ptr< weld::Label > | mxFTEdgeStyle |
std::unique_ptr< weld::ComboBox > | mxLBEdgeStyle |
std::unique_ptr< weld::Label > | mxFTCapStyle |
std::unique_ptr< weld::ComboBox > | mxLBCapStyle |
std::unique_ptr< weld::Widget > | mxGridLineProps |
std::unique_ptr< weld::Widget > | mxBoxArrowProps |
std::unique_ptr< LineWidthPopup > | mxLineWidthPopup |
std::unique_ptr< LineStyleNoneChange > | mxLineStyleNoneChange |
sal_uInt16 | mnTrans |
MapUnit | meMapUnit |
OUString | maIMGNone |
BitmapEx | maIMGWidthIcon [8] |
bool | mbWidthValuable: 1 |
bool | mbArrowSupported |
bool | mbNoneLineStyle |
Definition at line 46 of file LinePropertyPanelBase.hxx.
|
overridevirtual |
Definition at line 98 of file LinePropertyPanelBase.cxx.
References mxBoxArrowProps, mxColorDispatch, mxFTCapStyle, mxFTEdgeStyle, mxFTTransparency, mxFTWidth, mxGridLineProps, mxLBCapStyle, mxLBEdgeStyle, mxLineStyleDispatch, mxLineStyleTB, mxLineWidthPopup, mxMFTransparent, mxTBColor, and mxTBWidth.
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().
|
protected |
Definition at line 438 of file LinePropertyPanelBase.cxx.
References mbArrowSupported, mbNoneLineStyle, mxBoxArrowProps, mxGridLineProps, and mxLineStyleTB.
Referenced by disableArrowHead(), enableArrowHead(), and svx::sidebar::LinePropertyPanel::NotifyItemUpdate().
|
private |
|
private |
|
private |
|
private |
|
protected |
Definition at line 454 of file LinePropertyPanelBase.cxx.
References ActivateControls(), and mbArrowSupported.
Referenced by svx::sidebar::LinePropertyPanel::HandleContextChange().
|
protected |
Definition at line 460 of file LinePropertyPanelBase.cxx.
References ActivateControls(), and mbArrowSupported.
Referenced by svx::sidebar::LinePropertyPanel::HandleContextChange().
void svx::sidebar::LinePropertyPanelBase::EndLineWidthPopup | ( | ) |
Definition at line 377 of file LinePropertyPanelBase.cxx.
References mxTBWidth, and SELECTWIDTH.
|
private |
Definition at line 117 of file LinePropertyPanelBase.cxx.
References XDashList::CreateBitmapForXDash(), Graphic::GetXGraphic(), LINK, maIMGWidthIcon, mxLBCapStyle, mxLBEdgeStyle, mxLineStyleDispatch, mxLineStyleNoneChange, mxLineWidthPopup, mxMFTransparent, mxTBWidth, SELECTWIDTH, and SvxLineStyleToolBoxControl::setLineStyleIsNoneFunction().
Referenced by LinePropertyPanelBase().
|
protectedpure virtual |
Implemented in svx::sidebar::LinePropertyPanel.
|
protectedpure virtual |
Implemented in svx::sidebar::LinePropertyPanel.
|
protectedpure virtual |
Implemented in svx::sidebar::LinePropertyPanel.
|
pure virtual |
Implemented in svx::sidebar::LinePropertyPanel.
|
protected |
Definition at line 448 of file LinePropertyPanelBase.cxx.
References mbWidthValuable, meMapUnit, mnWidthCoreValue, and mxLineWidthPopup.
Referenced by svx::sidebar::LinePropertyPanel::LinePropertyPanel().
|
inline |
Definition at line 63 of file LinePropertyPanelBase.hxx.
Referenced by svx::sidebar::LineStyleNoneChange::operator()().
void svx::sidebar::LinePropertyPanelBase::SetWidth | ( | tools::Long | nWidth | ) |
Definition at line 431 of file LinePropertyPanelBase.cxx.
References mbWidthValuable, meMapUnit, mnWidthCoreValue, and mxLineWidthPopup.
void svx::sidebar::LinePropertyPanelBase::SetWidthIcon | ( | ) |
Definition at line 401 of file LinePropertyPanelBase.cxx.
References Graphic::GetXGraphic(), OutputDevice::LogicToLogic(), maIMGNone, maIMGWidthIcon, mbWidthValuable, meMapUnit, mnWidthCoreValue, mxTBWidth, and SELECTWIDTH.
Referenced by updateLineWidth().
void svx::sidebar::LinePropertyPanelBase::SetWidthIcon | ( | int | n | ) |
Definition at line 390 of file LinePropertyPanelBase.cxx.
References Graphic::GetXGraphic(), maIMGNone, maIMGWidthIcon, mxTBWidth, n, and SELECTWIDTH.
|
protected |
Definition at line 260 of file LinePropertyPanelBase.cxx.
References mxFTCapStyle, and mxLBCapStyle.
Referenced by svx::sidebar::LinePropertyPanel::NotifyItemUpdate().
|
protected |
Definition at line 201 of file LinePropertyPanelBase.cxx.
References mxFTEdgeStyle, and mxLBEdgeStyle.
Referenced by svx::sidebar::LinePropertyPanel::NotifyItemUpdate().
|
protected |
Definition at line 144 of file LinePropertyPanelBase.cxx.
References mnTrans, mxFTTransparency, and mxMFTransparent.
Referenced by svx::sidebar::LinePropertyPanel::NotifyItemUpdate().
|
protectedvirtual |
Definition at line 172 of file LinePropertyPanelBase.cxx.
References mbWidthValuable, mnWidthCoreValue, mxFTWidth, mxTBWidth, and SetWidthIcon().
Referenced by svx::sidebar::LinePropertyPanel::NotifyItemUpdate().
|
private |
Definition at line 119 of file LinePropertyPanelBase.hxx.
Referenced by SetWidthIcon().
|
private |
Definition at line 122 of file LinePropertyPanelBase.hxx.
Referenced by Initialize(), and SetWidthIcon().
|
private |
Definition at line 125 of file LinePropertyPanelBase.hxx.
Referenced by ActivateControls(), disableArrowHead(), and enableArrowHead().
|
private |
Definition at line 126 of file LinePropertyPanelBase.hxx.
Referenced by ActivateControls().
|
private |
Definition at line 124 of file LinePropertyPanelBase.hxx.
Referenced by setMapUnit(), SetWidth(), SetWidthIcon(), and updateLineWidth().
|
private |
Definition at line 116 of file LinePropertyPanelBase.hxx.
Referenced by setMapUnit(), SetWidth(), and SetWidthIcon().
|
private |
Definition at line 115 of file LinePropertyPanelBase.hxx.
Referenced by updateLineTransparence().
|
protected |
Definition at line 96 of file LinePropertyPanelBase.hxx.
Referenced by setMapUnit(), SetWidth(), SetWidthIcon(), and updateLineWidth().
|
private |
Definition at line 109 of file LinePropertyPanelBase.hxx.
Referenced by ActivateControls(), and ~LinePropertyPanelBase().
|
protected |
Definition at line 91 of file LinePropertyPanelBase.hxx.
Referenced by ~LinePropertyPanelBase().
|
private |
Definition at line 106 of file LinePropertyPanelBase.hxx.
Referenced by updateLineCap(), and ~LinePropertyPanelBase().
|
private |
Definition at line 104 of file LinePropertyPanelBase.hxx.
Referenced by updateLineJoint(), and ~LinePropertyPanelBase().
|
private |
Definition at line 102 of file LinePropertyPanelBase.hxx.
Referenced by updateLineTransparence(), and ~LinePropertyPanelBase().
|
private |
Definition at line 100 of file LinePropertyPanelBase.hxx.
Referenced by updateLineWidth(), and ~LinePropertyPanelBase().
|
private |
Definition at line 108 of file LinePropertyPanelBase.hxx.
Referenced by ActivateControls(), and ~LinePropertyPanelBase().
|
private |
Definition at line 107 of file LinePropertyPanelBase.hxx.
Referenced by Initialize(), updateLineCap(), and ~LinePropertyPanelBase().
|
private |
Definition at line 105 of file LinePropertyPanelBase.hxx.
Referenced by Initialize(), updateLineJoint(), and ~LinePropertyPanelBase().
|
protected |
Definition at line 94 of file LinePropertyPanelBase.hxx.
Referenced by Initialize(), and ~LinePropertyPanelBase().
|
private |
Definition at line 113 of file LinePropertyPanelBase.hxx.
Referenced by Initialize().
|
protected |
Definition at line 93 of file LinePropertyPanelBase.hxx.
Referenced by ActivateControls(), and ~LinePropertyPanelBase().
|
private |
Definition at line 111 of file LinePropertyPanelBase.hxx.
Referenced by Initialize(), setMapUnit(), SetWidth(), and ~LinePropertyPanelBase().
|
private |
Definition at line 103 of file LinePropertyPanelBase.hxx.
Referenced by Initialize(), updateLineTransparence(), and ~LinePropertyPanelBase().
|
protected |
Definition at line 90 of file LinePropertyPanelBase.hxx.
Referenced by ~LinePropertyPanelBase().
|
private |
Definition at line 101 of file LinePropertyPanelBase.hxx.
Referenced by EndLineWidthPopup(), Initialize(), SetWidthIcon(), updateLineWidth(), and ~LinePropertyPanelBase().