n#773048: Adjust rotate in relation to fix for n#783433

This commit is contained in:
Muthu Subramanian
2012-10-25 16:12:16 +05:30
parent 5c64ed1bc3
commit d6f6086f85

View File

@@ -94,7 +94,7 @@ TextBodyPropertiesContext::TextBodyPropertiesContext( ContextHandler& rParent,
bool bRtl = aAttribs.getBool( XML_rtl, false );
sal_Int32 tVert = mrTextBodyProp.moVert.get( XML_horz );
if( tVert == XML_vert || tVert == XML_eaVert || tVert == XML_vert270 || tVert == XML_mongolianVert )
mrTextBodyProp.moRotation = 5400000*(tVert==XML_vert270?3:1);
mrTextBodyProp.moRotation = -5400000*(tVert==XML_vert270?3:1);
else
mrTextBodyProp.maPropertyMap[ PROP_TextWritingMode ]
<<= ( bRtl ? WritingMode_RL_TB : WritingMode_LR_TB );