incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1374892 - /incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8esh.cxx
Date Mon, 20 Aug 2012 01:26:20 GMT
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() )



Mime
View raw message