You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by le...@apache.org on 2012/08/20 03:26:20 UTC

svn commit: r1374892 - /incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx

Author: leidb
Date: Mon Aug 20 01:26:19 2012
New Revision: 1374892

URL: http://svn.apache.org/viewvc?rev=1374892&view=rev
Log:
#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 

Modified:
    incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx?rev=1374892&r1=1374891&r2=1374892&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx Mon Aug 20 01:26:19 2012
@@ -2166,6 +2166,12 @@ bool WinwordAnchoring::ConvertPosition( 
         {
             eHoriConv = CONV2PG;
         }
+		else if ( _iorHoriOri.IsPosToggle() 
+				&& _iorHoriOri.GetHoriOrient() == text::HoriOrientation::RIGHT )
+		{
+			eHoriConv = NO_CONV;
+			_iorHoriOri.SetHoriOrient( text::HoriOrientation::OUTSIDE );
+		}        
         else
         {
             switch ( _iorHoriOri.GetRelationOrient() )