24#include <svx/svxids.hrc>
42 addStatusListener(
".uno:MetricUnit");
57 if ( nSID == SID_ATTR_METRIC )
63 if ( eState == SfxItemState::DISABLED )
71 if ( eState == SfxItemState::DEFAULT )
89 sal_uInt16 nWhich = rPool.
GetWhich(SID_ATTR_LINE_WIDTH);
css::uno::Reference< css::lang::XComponent > m_xFrame
SfxApplication * SfxGetpApp()
sal_uInt16 GetWhich(sal_uInt16 nSlot, bool bDeep=true) const
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
static SAL_WARN_UNUSED_RESULT SfxObjectShell * Current()
SfxItemPool & GetPool() const
void SetDestCoreUnit(MapUnit eUnit)
void set_sensitive(bool bSensitive)
void Update(const XLineWidthItem *pItem)
static VclPtr< reference_type > Create(Arg &&... arg)
#define DBG_ASSERT(sCon, aError)
SFX_IMPL_TOOLBOX_CONTROL(SvxLineWidthToolBoxControl, XLineWidthItem)