weld SvxMetricField

Desktop / LibreOffice - Caolán McNamara [redhat.com] - 6 February 2020 17:17 EST

split off SdPagesField as its not really a MetricSpinButton and can be a SpinButton with a custom output function.

while I'm at it use ngettext to provide better plurals for the output.

Change-Id: Idc9ce0513c9fce60c8713c7361fd40f0dbd01f64 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88100

97a5da96159f weld SvxMetricField
.../inc => include/svx}/InterimItemWindow.hxx | 4 +-
include/svx/itemwin.hxx | 23 ++--
sd/UIConfig_simpress.mk | 1 +
sd/inc/sdresid.hxx | 1 +
sd/inc/strings.hrc | 7 +-
sd/source/ui/app/sdmod.cxx | 5 +
sd/source/ui/dlg/diactrl.cxx | 112 +++++++++++++------
sd/source/ui/inc/diactrl.hxx | 21 ++--
sd/uiconfig/simpress/ui/pagesfieldbox.ui | 30 ++++++
solenv/sanitizers/ui/modules/simpress.suppr | 1 +
solenv/sanitizers/ui/svx.suppr | 1 +
svx/UIConfig_svx.mk | 1 +
svx/source/sidebar/paragraph/ParaSpacingWindow.hxx | 2 +-
svx/source/tbxctrls/itemwin.cxx | 118 +++++++++------------
svx/source/tbxctrls/linewidthctrl.cxx | 13 +--
svx/source/tbxctrls/tbunocontroller.cxx | 2 +-
svx/uiconfig/ui/metricfieldbox.ui | 30 ++++++
17 files changed, 243 insertions(+), 129 deletions(-)

Upstream: cgit.freedesktop.org


  • Share