27class SvxLineSpacingToolBoxControl;
std::unique_ptr< weld::Button > mxSpacing1Button
DECL_LINK(LineSPDistAtHdl_Impl, weld::MetricSpinButton &, void)
void SelectEntryPos(sal_Int32 nPos)
Set the entry and update the metric fields.
DECL_LINK(PredefinedValuesHandler, weld::Button &, void)
ParaLineSpacingControl(SvxLineSpacingToolBoxControl *pControl, weld::Widget *pParent)
weld::MetricSpinButton * mpActLineDistFld
DECL_LINK(LineSPDistHdl_Impl, weld::ComboBox &, void)
void Initialize()
Setup the widgets with values from the document.
std::unique_ptr< weld::Button > mxSpacing115Button
virtual void GrabFocus() override
virtual ~ParaLineSpacingControl() override
std::unique_ptr< weld::ComboBox > mxLineDist
std::unique_ptr< weld::Label > mxLineDistLabel
std::unique_ptr< weld::MetricSpinButton > mxLineDistAtMetricBox
void ExecuteLineSpace()
Take the values from the widgets, and update the paragraph accordingly.
std::unique_ptr< weld::Button > mxSpacing2Button
std::unique_ptr< weld::Button > mxSpacing15Button
rtl::Reference< SvxLineSpacingToolBoxControl > mxControl
void ExecuteLineSpacing(sal_Int32 aEntry)
For the buttons - set the values, and close the popup.
std::unique_ptr< weld::MetricSpinButton > mxLineDistAtPercentBox
void UpdateMetricFields()
Set mpActlineDistFld and visibility of mpLineDist* fields according to what is just selected.
static void SetLineSpace(SvxLineSpacingItem &rLineSpace, sal_Int32 eSpace, tools::Long lValue=0)
Set one particular value.