diff options
author | Armin Weiss <aw@openoffice.org> | 2001-04-04 15:55:50 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2001-04-04 15:55:50 +0000 |
commit | b2b067ccbe20c64c4ccc138172fd40954dc9b27a (patch) | |
tree | ec6a855cf10ba2cd610db736f6db3c5891868706 | |
parent | 93a1415ba3100dcbb7d5db6df3b505001ce120a2 (diff) |
#85127# take svg:transform into account and hanle like
draw:transform for compatibility
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 24e95a960824..c7ef6e463cb8 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ximpshap.cxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.37 $ * - * last change: $Author: dvo $ $Date: 2001-03-29 16:48:43 $ + * last change: $Author: aw $ $Date: 2001-04-04 16:55:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -547,7 +547,7 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const ::rtl::OUStr { maLayerName = rValue; } - if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_transform)) ) + else if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_transform)) ) { mnTransform.SetString(rValue, GetImport().GetMM100UnitConverter()); } @@ -558,15 +558,15 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const ::rtl::OUStr { mbIsUserTransformed = rValue.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_true)); } - if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_placeholder)) ) + else if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_placeholder)) ) { mbIsPlaceholder = rValue.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_true)); } - if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_class)) ) + else if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_class)) ) { maPresentationClass = rValue; } - if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_style_name)) ) + else if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_style_name)) ) { maDrawStyleName = rValue; mnStyleFamily = XML_STYLE_FAMILY_SD_PRESENTATION_ID; @@ -590,6 +590,12 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const ::rtl::OUStr { GetImport().GetMM100UnitConverter().convertMeasure(maSize.Height, rValue); } + else if( rLocalName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(sXML_transform)) ) + { + // because of #85127# take svg:transform into account and hanle like + // draw:transform for compatibility + mnTransform.SetString(rValue, GetImport().GetMM100UnitConverter()); + } } } |