You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2012/08/15 16:18:59 UTC
svn commit: r1373430 -
/incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx
Author: alg
Date: Wed Aug 15 14:18:59 2012
New Revision: 1373430
URL: http://svn.apache.org/viewvc?rev=1373430&view=rev
Log:
#119496# Correct flags AutoGrowWidth/Height for WordArt
Patch by: SunYing
Review by: Jianyuan Li, alg
Modified:
incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx
Modified: incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx?rev=1373430&r1=1373429&r2=1373430&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/msdffimp.cxx Wed Aug 15 14:18:59 2012
@@ -4434,6 +4434,10 @@ SdrObject* SvxMSDffManager::ImportShape(
}
if ( GetPropertyValue( DFF_Prop_gtextFStrikethrough, 0 ) & 0x1000 ) // SJ: Font Kerning On ?
aSet.Put( SvxKerningItem( 1, EE_CHAR_KERNING ) );
+
+ // #119496# the resize autoshape to fit text attr of word art in MS PPT is always false
+ aSet.Put( SdrTextAutoGrowHeightItem( sal_False ) );
+ aSet.Put( SdrTextAutoGrowWidthItem( sal_False ) );
}
pRet->SetMergedItemSet( aSet );