incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1363619 - /incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
Date Fri, 20 Jul 2012 01:57:59 GMT
Author: leidb
Date: Fri Jul 20 01:57:59 2012
New Revision: 1363619

URL: http://svn.apache.org/viewvc?rev=1363619&view=rev
Log:
#119581# fix import issue for left and right horizontal alignment in text box

Reported by: liu ping tan 
Patch by: Li Jian Yuan 
Review by: Lei De Bin

Modified:
    incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Modified: incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx?rev=1363619&r1=1363618&r2=1363619&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx Fri Jul 20 01:57:59 2012
@@ -1063,6 +1063,12 @@ SdrObject* SdrEscherImport::ProcessObj( 
 						break;
 
 						default :
+						{
+							if ( nTextFlags == PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT )
+								eTHA = SDRTEXTHORZADJUST_LEFT;
+							else if ( nTextFlags == PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT )
+								eTHA = SDRTEXTHORZADJUST_RIGHT;
+						}
 						break;
 					}
 					nMinFrameHeight = rTextRect.GetHeight() - ( nTextTop + nTextBottom );



Mime
View raw message