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:r" );
		writer.openTag( "w:fldChar" );
		writer.attribute( "w:fldCharType", fldCharType );
		writer.closeTag( "w:fldChar" );
		writer.closeTag( "w:r" );
	}
	protected void writeField( boolean isStart, IStyle style, String fontName )
	{
		String fldCharType = isStart ? "begin" : "end";
		writer.openTag( "w:r" );
		writeFieldRunProperties( style, fontName );
		writer.openTag( "w:fldChar" );
		writer.attribute( "w:fldCharType", fldCharType );
		writer.closeTag( "w:fldChar" );
		writer.closeTag( "w:r" );
	}
	public void writeColumn( int[] cols )
	{
		
		writer.openTag( "w:tblGrid" );
		for ( int i = 0; i < cols.length; i++ )
		{
			writeAttrTag( "w:gridCol", cols[i] );
		}
		writer.closeTag( "w:tblGrid" );
	}
	/**
	 *
	 * @param style
	 *            style of the row