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
}
			int end = m.end( );
			if (txt.charAt( end - 1 ) != '\r' || end == length
					||  txt.charAt( end ) != '\n' )
			{
				writer.cdata("<w:br/>");
			}
			index = end;
		}
		if ( index < length )
		{
			writer.cdata("<![CDATA[" +  txt.substring( index ) + "]]>");
		}
		writer.closeTag( "w:t" );
	}
	private void writeLetterSpacing( IStyle style )
	{
		int letterSpacing = PropertyUtil.getDimensionValue( style
				.getProperty( StyleConstants.STYLE_LETTER_SPACING ) );
		writeAttrTag( "w:spacing", WordUtil.milliPt2Twips( letterSpacing ) );
	}
	private void writeHyperlinkStyle( HyperlinkInfo info, IStyle style )
	{
		
		if ( info != null )
		{
			String color = info.getColor( );
			if ( color != null )
			{
				writeAttrTag( "w:color", color );