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
lineColor, antiLine );
		}
		writer.closeTag( "w:pict" );
		writer.closeTag( "w:r" );
		writer.closeTag( "w:p" );
	}
	private void drawLine( double width, String style, String color,
			Line line )
	{
		writer.openTag( "v:line" );
		writer.attribute( "id", "Line" + getLineId( ) );
		writer.attribute( "style",
				"position:absolute;left:0;text-align:left;z-index:1" );
		writer.attribute( "from", line.getXCoordinateFrom( ) + "pt,"
				+ line.getYCoordinateFrom( ) + "pt" );
		writer.attribute( "to", line.getXCoordinateTo( ) + "pt,"
				+ line.getYCoordinateTo( ) + "pt" );
		writer.attribute( "strokeweight", width + "pt" );
		writer.attribute( "strokecolor", "#" + color );
		writer.openTag( "v:stroke" );
		writer.attribute( "dashstyle", WordUtil.parseLineStyle( style ) );
		writer.closeTag( "v:stroke" );
		writer.closeTag( "v:line" );
	}
	private int getLineId( )
	{
		return lineId++;
	}
}