summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-09-28 21:31:08 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-09-29 19:15:22 +0200
commit1e89fec35c23889d3f2886b434211a803251799e (patch)
tree9c8f56a32fbbd16adda7f03a83bd1d7cdbeaa38f /sw
parent06b25783a6f6fbf5e3756c9bf3f5712ce8285f68 (diff)
proper reading of mso-position-(horizontal|vertical)(-relative)
Change-Id: I50f537c697f6e73c1fd150f3f03fc65b85ccbeaf
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index d6ccd006835e..c1c451547e26 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -5776,13 +5776,17 @@ void DocxAttributeOutput::FormatVertOrientation( const SwFmtVertOrient& rFlyVert
sAlign = OString( "center" );
break;
case text::VertOrientation::BOTTOM:
- case text::VertOrientation::LINE_BOTTOM:
sAlign = OString( "bottom" );
break;
+ case text::VertOrientation::LINE_BOTTOM:
+ sAlign = OString( "outside" );
+ break;
case text::VertOrientation::TOP:
+ sAlign = OString( "top" );
+ break;
case text::VertOrientation::LINE_TOP:
default:
- sAlign = OString( "top" );
+ sAlign = OString( "inside" );
break;
}
OString sVAnchor( "page" );