Import of super/subscript properties of cells - n#655193
This commit is contained in:
parent
53adb12a81
commit
27e580a5bb
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue