21#include <editeng/editids.hrc>
30#define DEFAULT_VALUE 0
31#define MAX_DURCH 31680
33#define MAX_SC_SD 116220200
34#define NEGA_MAXVALUE -10000000
103 aMargin.
SetUpper(m_xAboveSpacing->GetCoreValue(m_eUnit));
104 aMargin.
SetLower(m_xBelowSpacing->GetCoreValue(m_eUnit));
105 pDisp->
ExecuteList(SID_ATTR_PARA_ULSPACE, SfxCallMode::RECORD, {&aMargin});
208 if(pState && eState >= SfxItemState::DEFAULT)
225 m_xFLSpacing->set_min(aTxtLeft*-1, FieldUnit::MM_100TH);
258 aTxtFirstLineOfst =
m_xFLSpacing->normalize(aTxtFirstLineOfst);
259 m_xFLSpacing->set_value(aTxtFirstLineOfst, FieldUnit::MM_100TH);
261 else if(eState == SfxItemState::DISABLED)
294 aMargin.
SetTextLeft(m_xBeforeSpacing->GetCoreValue(m_eUnit));
295 aMargin.
SetRight(m_xAfterSpacing->GetCoreValue(m_eUnit));
298 pDisp->
ExecuteList(SID_ATTR_PARA_LRSPACE, SfxCallMode::RECORD, {&aMargin});
#define CombinedEnumContext(a, e)
SfxApplication * SfxGetpApp()
virtual void dispose() override
std::unique_ptr< weld::Builder > m_xBuilder
void InitControlBase(weld::Widget *pWidget)
SfxDispatcher * GetDispatcher() const
const SfxPoolItem * ExecuteList(sal_uInt16 nSlot, SfxCallMode nCall, std::initializer_list< SfxPoolItem const * > args, std::initializer_list< SfxPoolItem const * > internalargs=std::initializer_list< SfxPoolItem const * >())
virtual MapUnit GetMetric(sal_uInt16 nWhich) const
SfxItemPool & GetPool() const
static SAL_WARN_UNUSED_RESULT SfxViewFrame * Current()
SfxBindings & GetBindings()
short GetTextFirstLineOffset() const
void SetRight(const tools::Long nR, const sal_uInt16 nProp=100)
tools::Long GetRight() const
void SetTextLeft(const tools::Long nL, const sal_uInt16 nProp=100)
tools::Long GetTextLeft() const
void SetTextFirstLineOffset(const short nF, const sal_uInt16 nProp=100)
void SetLower(const sal_uInt16 nL, const sal_uInt16 nProp=100)
sal_uInt16 GetUpper() const
void SetUpper(const sal_uInt16 nU, const sal_uInt16 nProp=100)
sal_uInt16 GetLower() const
ParaAboveSpacingWindow(vcl::Window *pParent)
ParaBelowSpacingWindow(vcl::Window *pParent)
ParaFirstLineSpacingWindow(vcl::Window *pParent)
virtual void dispose() override
void SetContext(const vcl::EnumContext &eContext)
std::unique_ptr< weld::Container > m_xFirstLineContainer
vcl::EnumContext m_aContext
ParaLRSpacingWindow(vcl::Window *pParent)
std::optional< SvxRelativeField > m_xFLSpacing
void SetUnit(FieldUnit eUnit)
std::unique_ptr< weld::Container > m_xAfterContainer
void SetValue(SfxItemState eState, const SfxPoolItem *pState)
std::optional< SvxRelativeField > m_xBeforeSpacing
virtual ~ParaLRSpacingWindow() override
std::unique_ptr< weld::Container > m_xBeforeContainer
std::optional< SvxRelativeField > m_xAfterSpacing
ParaLeftSpacingWindow(vcl::Window *pParent)
ParaRightSpacingWindow(vcl::Window *pParent)
std::optional< SvxRelativeField > m_xBelowSpacing
virtual void dispose() override
virtual ~ParaULSpacingWindow() override
std::unique_ptr< weld::Container > m_xBelowContainer
void SetUnit(FieldUnit eUnit)
void SetValue(const SvxULSpaceItem *pItem)
std::unique_ptr< weld::Container > m_xAboveContainer
std::optional< SvxRelativeField > m_xAboveSpacing
sal_Int32 GetCombinedContext_DI() const
virtual void SetSizePixel(const Size &rNewSize)
Size get_preferred_size() const
#define LINK(Instance, Class, Member)
IMPL_LINK_NOARG(SuggestionDisplay, SelectSuggestionValueSetHdl, ValueSet *, void)
SVT_DLLPUBLIC FieldUnit MapToFieldUnit(const MapUnit eUnit)