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
}
			writeAttrTag( "w:rStyle", "Hyperlink" );
		}
		else
		{
			writeTextUnderline( style );
			writeTextColor( style );
		}
	}
	protected void writeTocText( String tocText, int level )
	{
		writer.openTag( "w:r" );
		writer.openTag( "w:instrText" );
		writer.text( " TC \"" + tocText + "\"" + " \\f C \\l \""
				+ String.valueOf( level ) + "\"" );
		writer.closeTag( "w:instrText" );
		writer.closeTag( "w:r" );
	}
	/**
	 * @param direction
	 *
	 * @author bidi_hcg
	 */
	protected void writeBidi( boolean rtl )
	{
		writeAttrTag( "w:bidi", rtl ? "" : "off");
	}
	protected void writeField( boolean isStart )
	{
		String fldCharType = isStart ? "begin" : "end";