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
drawImageBorderStyle( TOP, style.getBorderTopStyle( ), style
				.getProperty( StyleConstants.STYLE_BORDER_TOP_WIDTH ) );
		drawImageBorderStyle( LEFT, style.getBorderLeftStyle( ), style
				.getProperty( StyleConstants.STYLE_BORDER_LEFT_WIDTH ) );
		drawImageBorderStyle( RIGHT, style.getBorderRightStyle( ), style
				.getProperty( StyleConstants.STYLE_BORDER_RIGHT_WIDTH ) );
	}
	private void drawImageBorderStyle( String pos, String style, CSSValue width )
	{
		if (  PropertyUtil.getDimensionValue( width ) != 0 )
		{
			String direct = "w10:border" + pos;
			writer.openTag( direct );
			writer.attribute( "type", WordUtil.parseImageBorderStyle( style ) );
			writer.attribute( "width", WordUtil.parseBorderSize( PropertyUtil
					.getDimensionValue( width ) ) );
			writer.closeTag( direct );
		}
	}
	protected void drawImageBordersColor( IStyle style )
	{
		drawImageBorderColor( BOTTOM, style.getBorderBottomColor( ) );
		drawImageBorderColor( TOP, style.getBorderTopColor( ) );
		drawImageBorderColor( LEFT, style.getBorderLeftColor( ) );
		drawImageBorderColor( RIGHT, style.getBorderRightColor( ) );
	}
	private void drawImageBorderColor( String pos, String color )
	{
		String borderColor = "#" + WordUtil.parseColor( color );
		String direct = "o:border" + pos + "color";