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
{
		writer.openTag( "w:tblInd" );
		writer.attribute( "w:w", 0 );
		writer.attribute( "w:type", "dxa" );
		writer.closeTag( "w:tblInd" );
	}
	protected void writeBorders( IStyle style, int bottomMargin, int topMargin,
			int leftMargin, int rightMargin )
	{
		String borderStyle = style.getBorderBottomStyle( );
		if ( hasBorder( borderStyle ) )
		{
			writeSingleBorder( BOTTOM, borderStyle, style
					.getBorderBottomColor( ), style
					.getProperty( StyleConstants.STYLE_BORDER_BOTTOM_WIDTH ),
					bottomMargin );
		}
		borderStyle = style.getBorderTopStyle( );
		if ( hasBorder( borderStyle ) )
		{
			writeSingleBorder( TOP, borderStyle, style.getBorderTopColor( ),
					style.getProperty( StyleConstants.STYLE_BORDER_TOP_WIDTH ),
					topMargin );
		}
		borderStyle = style.getBorderLeftStyle( );
		if ( hasBorder( borderStyle ) )
		{
			writeSingleBorder( LEFT, borderStyle, style.getBorderLeftColor( ),
					style.getProperty( StyleConstants.STYLE_BORDER_LEFT_WIDTH ),
					leftMargin );