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

n#744509: Alignment of text is wrong.

According to section 21.1.2.2.7 [pPr], "If this [algn]
attribute is omitted, then a value of left is implied."
üst 1085f3ee
......@@ -64,12 +64,7 @@ TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler&
PropertyMap& rPropertyMap( mrTextParagraphProperties.getTextParagraphPropertyMap() );
// ST_TextAlignType
if ( xAttribs->hasAttribute( XML_algn ) )
{
sal_Int32 nAlign = xAttribs->getOptionalValueToken( XML_algn, XML_l );
rPropertyMap[ PROP_ParaAdjust ] <<= GetParaAdjust( nAlign );
}
// OSL_TRACE( "OOX: para adjust %d", GetParaAdjust( nAlign ));
rPropertyMap[ PROP_ParaAdjust ] <<= GetParaAdjust( xAttribs->getOptionalValueToken( XML_algn, XML_l ) );
// TODO see to do the same with RubyAdjust
// ST_Coordinate32
......
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