Kaydet (Commit) 3048c821 authored tarafından Armin Le Grand's avatar Armin Le Grand

#119496# Correct flags AutoGrowWidth/Height for WordArt

Patch by: SunYing
Review by: Jianyuan Li, alg
üst f0bc9c2e
...@@ -4434,6 +4434,10 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r ...@@ -4434,6 +4434,10 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
} }
if ( GetPropertyValue( DFF_Prop_gtextFStrikethrough, 0 ) & 0x1000 ) // SJ: Font Kerning On ? if ( GetPropertyValue( DFF_Prop_gtextFStrikethrough, 0 ) & 0x1000 ) // SJ: Font Kerning On ?
aSet.Put( SvxKerningItem( 1, EE_CHAR_KERNING ) ); 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 ); pRet->SetMergedItemSet( aSet );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment