summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2015-09-07 08:19:22 +0300
committerJustin Luth <justin_luth@sil.org>2015-10-17 13:50:51 +0000
commitfbd1c167851a04c60d91daa830cf93e5b2ad7b4d (patch)
tree4805db732536a2a2819ad2565bc1ffd22300cea0 /sw/source/filter/ww8/ww8par.cxx
parent1769074bd556e21e0c6ed29d9059960f998e28d1 (diff)
tdf#36117 .doc preserve page vertical alignment after RT
MSWord has a page-style vertical alignment (center/bottom/justify) setting that was lost after round-tripping through LibreOffice. Writer does not currently have the ability to vertically align text outside of a frame, but the setting should be preserved for interoperability. Change-Id: I91ae841b91ca2f2dd1b68212fdcdf830c7cef22a Reviewed-on: https://gerrit.libreoffice.org/18480 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index f2f5dbe1c15c..2d4e71066b11 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4327,6 +4327,8 @@ void wwSectionManager::SetSegmentToPageDesc(const wwSection &rSection,
GetPageULData(rSection, aULData);
SetPageULSpaceItems(rFormat, aULData, rSection);
+ rPage.SetVerticalAdjustment( rSection.mnVerticalAdjustment );
+
SetPage(rPage, rFormat, rSection, bIgnoreCols);
if (!(rSection.maSep.pgbApplyTo & 1))