diff options
author | Szabolcs Toth <toth.szabolcs@nisz.hu> | 2020-10-14 16:32:05 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-10-27 13:35:49 +0100 |
commit | c690d49770d0c93a95bd8c3d11e95c1d17a17a60 (patch) | |
tree | e7b2fd69fc61b79da8f5ef1abd9008ec666a4a34 /sw/source/filter | |
parent | c9eb53f200225f2ee6ca695e1326843a487aee51 (diff) |
tdf#137641 DOCX export: fix relative from top page border
alignment.
Follow-up of commit 1c593e1916c9164c7db71da2017cfc26972f8e9f
(tdf#133045 sw: add shape alignment to the top page border).
Change-Id: Ie5bc536556b72030d17829a917f91a15ad5157a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104660
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index a1656ea75fab..41ca25235c48 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -509,6 +509,9 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons case text::RelOrientation::PAGE_PRINT_AREA: relativeFromV = "margin"; break; + case text::RelOrientation::PAGE_PRINT_AREA_TOP: + relativeFromV = "topMargin"; + break; case text::RelOrientation::PAGE_PRINT_AREA_BOTTOM: relativeFromV = "bottomMargin"; break; |