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
writeTableIndent( );
		writeAttrTag( "w:tblStyle", "TableGrid" );
		writeAttrTag( "w:tblOverlap", "Never" );
		writeBidiTable( );
		writeTableWidth( tablewidth );
		writeAttrTag( "w:tblLook", "01E0" );
		writeTableLayout( );
		writeTableBorders( style );
		writeBackgroundColor( style.getBackgroundColor( ) );
		
		
		if ( "justify".equalsIgnoreCase( style.getTextAlign( ) ) )
		{
			writeAlign( "left", style.getDirection( ) );
		}
		else
		{
			writeAlign( style.getTextAlign( ), style.getDirection( ) );
		}
		if (inForeign)
		{
			writer.openTag( "w:tblCellMar" );
			writer.openTag( "w:top" );
			writer.attribute( "w:w", 0 );
			writer.attribute( "w:type", "dxa" );
			writer.closeTag( "w:top" );
			writer.openTag( "w:left" );
			writer.attribute( "w:w", 0 );
			writer.attribute( "w:type", "dxa" );
			writer.closeTag( "w:left" );