summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2022-06-18 19:45:02 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2022-06-19 21:48:40 +0200
commit352284e77f905bc5f09c1dfdab35059e0a3de6bf (patch)
tree16b73c9a2480495b4b795f2fbcff8ceed2021438 /cui
parent994ff7a1d36382c21cff34f7a89b2b6690f2edd5 (diff)
tdf#68335 Increase default para spacing before/after to 56 cm
and fixed line spacing as well. These may be set to 1584 pt in Word, but the UI incorrectly showed even the correctly imported values as 10 cm. Turns out this is only a UI limitation, so lift it for UX interop. Save/reload already works fine to odt, docx, doc, rtf formats. Change-Id: I69a772e860ad24a1b317dc041b0c55f0a9d461de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136102 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/paragrph.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 0a0cb96487d8..b43c77cbd894 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -65,8 +65,7 @@ const WhichRangesContainer SvxExtParagraphTabPage::pExtRanges(svl::Items<
SID_ATTR_PARA_MODEL, SID_ATTR_PARA_KEEP // 10065 - 10066
>);
-#define MAX_DURCH 5670 // 10 cm makes sense as maximum interline lead
- // according to BP
+#define MAX_DURCH 31680 // tdf#68335: 1584 pt for UX interoperability with Word
#define FIX_DIST_DEF 283 // standard fix distance 0,5 cm
namespace {