LibreOffice Module svx (master) 1
|
#include <ParaPropertyPanel.hxx>
Public Member Functions | |
virtual | ~ParaPropertyPanel () override |
SfxBindings * | GetBindings () |
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 |
ParaPropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings, css::uno::Reference< css::ui::XSidebar > xSidebar) | |
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< PanelLayout > | Create (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings, const css::uno::Reference< css::ui::XSidebar > &rxSidebar) |
static FieldUnit | GetCurrentUnit (SfxItemState eState, const SfxPoolItem *pState) |
Private Member Functions | |
DECL_LINK (ModifyIndentHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ULSpaceHdl_Impl, weld::MetricSpinButton &, void) | |
void | StateChangedIndentImpl (SfxItemState eState, const SfxPoolItem *pState) |
void | StateChangedULImpl (SfxItemState eState, const SfxPoolItem *pState) |
void | initial () |
void | ReSize () |
void | InitToolBoxIndent () |
void | InitToolBoxSpacing () |
void | limitMetricWidths () |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 37 of file ParaPropertyPanel.hxx.
|
overridevirtual |
Definition at line 453 of file ParaPropertyPanel.cxx.
References SfxControllerItem::dispose(), m_aMetricCtl, maLRSpaceControl, maULSpaceControl, mxBackColorDispatch, mxBottomDist, mxFLineIndent, mxHorzAlignDispatch, mxIndentDispatch, mxLeftIndent, mxLineSpacingDispatch, mxNumBulletDispatch, mxParaSpacingDispatch, mxRightIndent, mxTBxBackColor, mxTBxHorzAlign, mxTBxIndent, mxTBxLineSpacing, mxTBxNumBullet, mxTBxParaSpacing, mxTBxVertAlign, mxTBxWriteDirection, mxTopDist, mxVertAlignDispatch, and mxWriteDirectionDispatch.
svx::sidebar::ParaPropertyPanel::ParaPropertyPanel | ( | weld::Widget * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame, | ||
SfxBindings * | pBindings, | ||
css::uno::Reference< css::ui::XSidebar > | xSidebar | ||
) |
Definition at line 391 of file ParaPropertyPanel.cxx.
References CM, initial(), m_aMetricCtl, mxTBxIndent, NONE, padWidthForSidebar(), and sfx2::sidebar::ControllerItem::RequestUpdate().
|
static |
Definition at line 48 of file ParaPropertyPanel.cxx.
|
private |
|
private |
|
inline |
Definition at line 51 of file ParaPropertyPanel.hxx.
References mpBindings.
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 61 of file ParaPropertyPanel.hxx.
|
static |
Definition at line 360 of file ParaPropertyPanel.cxx.
References SfxViewFrame::Current(), SfxShell::GetItem(), SfxObjectShell::GetModule(), SfxViewFrame::GetObjectShell(), GetValue, and SAL_WARN.
Referenced by NotifyItemUpdate().
|
overridevirtual |
Definition at line 64 of file ParaPropertyPanel.cxx.
References CombinedEnumContext, vcl::EnumContext::GetCombinedContext_DI(), maContext, mxTBxBackColor, mxTBxNumBullet, mxTBxVertAlign, and ReSize().
|
private |
Definition at line 155 of file ParaPropertyPanel.cxx.
References InitToolBoxIndent(), InitToolBoxSpacing(), and limitMetricWidths().
Referenced by ParaPropertyPanel().
|
private |
Definition at line 136 of file ParaPropertyPanel.cxx.
References SfxControllerItem::GetCoreMetric(), LINK, m_eLRSpaceUnit, maLRSpaceControl, mxFLineIndent, mxLeftIndent, and mxRightIndent.
Referenced by initial().
|
private |
Definition at line 146 of file ParaPropertyPanel.cxx.
References SfxControllerItem::GetCoreMetric(), LINK, m_eULSpaceUnit, maULSpaceControl, mxBottomDist, and mxTopDist.
Referenced by initial().
|
private |
Definition at line 444 of file ParaPropertyPanel.cxx.
References limitWidthForSidebar(), mxBottomDist, mxFLineIndent, mxLeftIndent, mxRightIndent, and mxTopDist.
Referenced by initial(), NotifyItemUpdate(), StateChangedIndentImpl(), and StateChangedULImpl().
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 189 of file ParaPropertyPanel.cxx.
References GetCurrentUnit(), limitMetricWidths(), m_eMetricUnit, m_last_eMetricUnit, mxBottomDist, mxFLineIndent, mxLeftIndent, mxRightIndent, mxTopDist, StateChangedIndentImpl(), and StateChangedULImpl().
|
private |
Definition at line 130 of file ParaPropertyPanel.cxx.
References mxSidebar.
Referenced by HandleContextChange().
|
private |
Definition at line 223 of file ParaPropertyPanel.cxx.
References CombinedEnumContext, o3tl::convert(), DEFAULT_VALUE, vcl::EnumContext::GetCombinedContext_DI(), SvxLRSpaceItem::GetRight(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), limitMetricWidths(), OutputDevice::LogicToLogic(), m_eLRSpaceUnit, maContext, maTxtLeft, MAX_SC_SD, MAX_SW, o3tl::mm100, mxFLineIndent, mxLeftIndent, mxRightIndent, NEGA_MAXVALUE, and o3tl::twip.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 325 of file ParaPropertyPanel.cxx.
References o3tl::convert(), SvxULSpaceItem::GetLower(), SvxULSpaceItem::GetUpper(), limitMetricWidths(), OutputDevice::LogicToLogic(), m_eULSpaceUnit, maLower, MapToFieldUnit(), maUpper, MAX_DURCH, o3tl::mm100, mxBottomDist, mxTopDist, and o3tl::twip.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 114 of file ParaPropertyPanel.hxx.
Referenced by ParaPropertyPanel(), and ~ParaPropertyPanel().
|
private |
Definition at line 109 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxIndent(), and StateChangedIndentImpl().
|
private |
Definition at line 107 of file ParaPropertyPanel.hxx.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 110 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxSpacing(), and StateChangedULImpl().
|
private |
Definition at line 108 of file ParaPropertyPanel.hxx.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 116 of file ParaPropertyPanel.hxx.
Referenced by HandleContextChange(), and StateChangedIndentImpl().
|
private |
Definition at line 105 of file ParaPropertyPanel.hxx.
Referenced by StateChangedULImpl().
|
private |
Definition at line 112 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxIndent(), and ~ParaPropertyPanel().
|
private |
Definition at line 103 of file ParaPropertyPanel.hxx.
Referenced by StateChangedIndentImpl().
|
private |
Definition at line 113 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxSpacing(), and ~ParaPropertyPanel().
|
private |
Definition at line 104 of file ParaPropertyPanel.hxx.
Referenced by StateChangedULImpl().
|
private |
Definition at line 117 of file ParaPropertyPanel.hxx.
Referenced by GetBindings().
|
private |
Definition at line 84 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 97 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxSpacing(), limitMetricWidths(), NotifyItemUpdate(), StateChangedULImpl(), and ~ParaPropertyPanel().
|
private |
Definition at line 100 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxIndent(), limitMetricWidths(), NotifyItemUpdate(), StateChangedIndentImpl(), and ~ParaPropertyPanel().
|
private |
Definition at line 77 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 93 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 98 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxIndent(), limitMetricWidths(), NotifyItemUpdate(), StateChangedIndentImpl(), and ~ParaPropertyPanel().
|
private |
Definition at line 91 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 82 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 89 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 99 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxIndent(), limitMetricWidths(), NotifyItemUpdate(), StateChangedIndentImpl(), and ~ParaPropertyPanel().
|
private |
Definition at line 118 of file ParaPropertyPanel.hxx.
Referenced by ReSize().
|
private |
Definition at line 83 of file ParaPropertyPanel.hxx.
Referenced by HandleContextChange(), and ~ParaPropertyPanel().
|
private |
Definition at line 76 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 92 of file ParaPropertyPanel.hxx.
Referenced by ParaPropertyPanel(), and ~ParaPropertyPanel().
|
private |
Definition at line 90 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 81 of file ParaPropertyPanel.hxx.
Referenced by HandleContextChange(), and ~ParaPropertyPanel().
|
private |
Definition at line 88 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 78 of file ParaPropertyPanel.hxx.
Referenced by HandleContextChange(), and ~ParaPropertyPanel().
|
private |
Definition at line 86 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 96 of file ParaPropertyPanel.hxx.
Referenced by InitToolBoxSpacing(), limitMetricWidths(), NotifyItemUpdate(), StateChangedULImpl(), and ~ParaPropertyPanel().
|
private |
Definition at line 79 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().
|
private |
Definition at line 87 of file ParaPropertyPanel.hxx.
Referenced by ~ParaPropertyPanel().