summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/swpossizetabpage.cxx
diff options
context:
space:
mode:
authorTibor Nagy <nagy.tibor2@nisz.hu>2020-08-05 14:29:49 +0200
committerLászló Németh <nemeth@numbertext.org>2020-08-07 12:18:45 +0200
commitd54264e34c1ccc0eaf4178ab165a843028500223 (patch)
tree6f8d4342dc3265d711be0c781c044049bd30208a /cui/source/tabpages/swpossizetabpage.cxx
parent52f8e0b6f09be0e8e8a068edef2017d45d5a1892 (diff)
tdf#133071 DOCX import: fix vertical alignment to bottom page margin
The relative vertical alignment (top, center and bottom) of bottom page margin wasn't handled. Co-authored-by: Attila Szűcs (NISZ) Change-Id: Ib41a8790f88ef004390787e3673a209dadd86457 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100170 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'cui/source/tabpages/swpossizetabpage.cxx')
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 54bb58f2c999..e78826bc5105 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -259,14 +259,14 @@ FrmMap const aHParaHtmlAbsMap[] =
constexpr auto VERT_PARA_REL = LB::VertFrame|LB::VertPrintArea|
- LB::RelPageFrame|LB::RelPagePrintArea;
+ LB::RelPageFrame|LB::RelPagePrintArea|LB::RelPagePrintAreaBottom;
FrmMap const aVParaMap[] =
{
{SvxSwFramePosString::TOP, SvxSwFramePosString::TOP, VertOrientation::TOP, VERT_PARA_REL},
{SvxSwFramePosString::BOTTOM, SvxSwFramePosString::BOTTOM, VertOrientation::BOTTOM, VERT_PARA_REL},
{SvxSwFramePosString::CENTER_VERT, SvxSwFramePosString::CENTER_VERT, VertOrientation::CENTER, VERT_PARA_REL},
- {SvxSwFramePosString::FROMTOP, SvxSwFramePosString::FROMTOP, VertOrientation::NONE, VERT_PARA_REL|LB::RelPagePrintAreaBottom}
+ {SvxSwFramePosString::FROMTOP, SvxSwFramePosString::FROMTOP, VertOrientation::NONE, VERT_PARA_REL}
};
FrmMap const aVParaHtmlMap[] =