Kaydet (Commit) fdf77f50 authored tarafından Muthu Subramanian's avatar Muthu Subramanian

n#828390: Reset charescapement.

Unless the value is reset - the escapement
seems to continue to the next set of textruns.
üst 1114d927
......@@ -119,6 +119,9 @@ void TextCharacterProperties::pushToPropMap( PropertyMap& rPropMap, const XmlFil
if( moBaseline.has() ) {
rPropMap[ PROP_CharEscapement ] <<= sal_Int16(moBaseline.get( 0 ) / 1000);
rPropMap[ PROP_CharEscapementHeight ] <<= sal_Int8(DFLT_ESC_PROP);
} else {
rPropMap[ PROP_CharEscapement ] <<= sal_Int16(0);
rPropMap[ PROP_CharEscapementHeight ] <<= sal_Int8(100); // 100%
}
if( !bUseOptional || moBold.has() ) {
......
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