diff options
author | Lei De Bin <leidb@apache.org> | 2012-08-20 00:26:19 +0000 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-03-31 16:22:34 +0200 |
commit | 6cd346c5e8be9065a5578f2caf3f1eacd964e783 (patch) | |
tree | 57dfb398a588efb2416d4a4161b27af761bbcca7 /sw | |
parent | ec585b964e26de967f0373da0d2d9dfd20f8866c (diff) |
#120573# fix the export issue for the text box in header&footer with the margin mirrored layout
Reported by: Yan Ji
Patch by: Lei De Bin
Review by: Chen Zuo Jun
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtw8esh.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index d0f8fa98401b..d721e8cc4cd6 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -2229,6 +2229,12 @@ bool WinwordAnchoring::ConvertPosition( SwFmtHoriOrient& _iorHoriOri, { eHoriConv = CONV2PG; } + else if ( _iorHoriOri.IsPosToggle() + && _iorHoriOri.GetHoriOrient() == text::HoriOrientation::RIGHT ) + { + eHoriConv = NO_CONV; + _iorHoriOri.SetHoriOrient( text::HoriOrientation::OUTSIDE ); + } else { switch ( _iorHoriOri.GetRelationOrient() ) |