Import of super/subscript properties of cells - n#655193

This commit is contained in:
Muthu Subramanian K 2010-11-30 18:31:53 +05:30
parent 53adb12a81
commit 27e580a5bb

View file

@ -1161,10 +1161,11 @@ void Font::writeToPropertyMap( PropertyMap& rPropMap, FontPropertyType ePropType
if( maUsedFlags.mbShadowUsed )
rPropMap[ PROP_CharShadowed ] <<= maApiData.mbShadow;
// escapement
if( maUsedFlags.mbEscapementUsed && (ePropType == FONT_PROPTYPE_TEXT) )
if( maUsedFlags.mbEscapementUsed )
{
rPropMap[ PROP_CharEscapement ] <<= maApiData.mnEscapement;
rPropMap[ PROP_CharEscapementHeight ] <<= maApiData.mnEscapeHeight;
if( ePropType == FONT_PROPTYPE_TEXT )
rPropMap[ PROP_CharEscapementHeight ] <<= maApiData.mnEscapeHeight;
}
}