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
protected abstract void writeIndent( int indent );
	protected abstract void writeIndent( int leftMargin, int rightMargin, int textIndent );
		
	public void startSectionInParagraph( )
	{
		writer.openTag( "w:p" );
		writer.openTag( "w:pPr" );
		startSection( );
	}
	public void endSectionInParagraph( )
	{
		endSection( );
		writer.closeTag( "w:pPr" );
		writer.closeTag( "w:p" );
	}
	public void startSection( )
	{
		writer.openTag( "w:sectPr" );
	}
	public void endSection( )
	{
		writer.closeTag( "w:sectPr" );
	}
	protected void drawImageShapeType( int imageId )
	{
		writer.openTag( "v:shapetype" );
		writer.attribute( "id", "_x0000_t" + imageId );
		writer.attribute( "coordsize", "21600,21600" );
		writer.attribute( "o:spt", "75" );
		writer.attribute( "o:preferrelative", "t" );