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.pptx/src/org/eclipse/birt/report/engine/emitter/pptx/writer/Slide.java
writer.openTag( "p:cNvCxnSpPr" );
		writer.closeTag( "p:cNvCxnSpPr" );
		writer.openTag( "p:nvPr" );
		writer.closeTag( "p:nvPr" );
		writer.closeTag( "p:nvCxnSpPr" );
		writer.openTag( "p:spPr" );
		setPosition( startX, startY, endX - startX, endY - startY );
		writer.openTag( "a:prstGeom" );
		writer.attribute( "prst", "line" );
		writer.closeTag( "a:prstGeom" );
		setProperty( color, width, lineStyle );
		writer.closeTag( "p:spPr" );
		writer.closeTag( "p:cxnSp" );
	}
	public void drawText( String text, int textX, int textY, int width,
			int height, String fontName, float fontSize, int fontStyle,
			Color color, boolean isUnderline, boolean isLineThrough,
			HyperlinkDef link )
	{
		writer.openTag( "p:sp" );
		writer.openTag( "p:nvSpPr" );
		writer.openTag( "p:cNvPr" );
		int shapeId = nextShapeId( );
		writer.attribute( "id", shapeId );
		writer.attribute( "name", "TextBox " + shapeId );
		writer.closeTag( "p:cNvPr" );
		writer.openTag( "p:cNvSpPr" );
		writer.attribute( "txBox", "1" );
		writer.closeTag( "p:cNvSpPr" );
		writer.openTag( "p:nvPr" );