Bug 416105 Docx output: leading and trailing whitespaces of a label are removed
I have two simple labels in my report. The first label has my given name as value with a space at the end "Martin ". The second labels value is my lastname "Burgler". If I generate the report as docx output the whitespace is removed. I get as result "MartinBurgler". If I use pdf or doc as output format the result is as expected "Martin Burgler".
engine/org.eclipse.birt.report.engine.emitter.wpml/src/org/eclipse/birt/report/engine/emitter/wpml/writer/AbstractWordXmlWriter.java
if ( space > 31 )
			space = 31;
		return space;
	}
	protected void writeAlign( String align, String direction )
	{
		if ( null == align )
		{
			return;
		}
		String textAlign = align;
		if ( "justify".equalsIgnoreCase( align ) )
		{
			textAlign = "both";
		}
		
		if ( CSSConstants.CSS_RTL_VALUE.equalsIgnoreCase( direction ) )
		{
			if ( IStyle.CSS_RIGHT_VALUE.equals( textAlign ) )
				writeAttrTag( "w:jc", IStyle.CSS_LEFT_VALUE );
			else if ( IStyle.CSS_LEFT_VALUE.equals( textAlign ) )
				writeAttrTag( "w:jc", IStyle.CSS_RIGHT_VALUE );
			else
				writeAttrTag( "w:jc", textAlign );
		}
		else
			writeAttrTag( "w:jc", textAlign );
	}
	protected void writeBackgroundColor( String color )
	{