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:tcMar" );
		writeCellPadding( bottomPadding, BOTTOM );
		writeCellPadding( leftPadding, LEFT );
		writeCellPadding( topPadding, TOP );
		writeCellPadding( rightPadding, RIGHT );
		writer.closeTag( "w:tcMar" );
	}
	/**
	 *
	 * @param padding  milliPoint
	 * @param position top/right/bottom/left
	 */
	private void writeCellPadding( int padding, String position )
	{
		writer.openTag( "w:" + position );
		writer.attribute( "w:w", WordUtil.milliPt2Twips( padding ) );
		writer.attribute( "w:type", "dxa" );
		writer.closeTag( "w:" + position );
	}
	protected void writeAttrTag( String name, String val )
	{
		writer.openTag( name );
		writer.attribute( "w:val", val );
		writer.closeTag( name );
	}
	protected void writeAttrTag( String name, int val )
	{
		writer.openTag( name );
		writer.attribute( "w:val", val );