Kaydet (Commit) fc17d3e1 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i119555# fix FontWork font size when saving to *.doc file

Patch by: Zuojun Chen
Found by: Lou Qingle
Review by: hdu
üst 89101118
......@@ -3063,6 +3063,15 @@ void EscherPropertyContainer::CreateCustomShapeProperties( const MSO_SPT eShapeT
}
}
}
if ( EscherPropertyValueHelper::GetPropertyValue( aAny, aXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "CharHeight" ) ), sal_True ) )
{
float fCharHeight = 0.0;
if ( aAny >>= fCharHeight )
{
sal_Int32 nTextSize = static_cast< sal_Int32 > ( fCharHeight * 65536 );
AddOpt(ESCHER_Prop_gtextSize, nTextSize);
}
}
if ( EscherPropertyValueHelper::GetPropertyValue( aAny, aXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "CharKerning" ) ), sal_True ) )
{
sal_Int16 nCharKerning = sal_Int16();
......
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