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
{
		startX = PPTXUtil.convertToEnums( startX );
		startY = PPTXUtil.convertToEnums( startY );
		width = PPTXUtil.convertToEnums( width );
		height = PPTXUtil.convertToEnums( height );
		
		if ( clipStack.isEmpty( ) )
		{
			clipStack.push( new ClipArea( startX, startY, width, height ) );
		}
		else
		{
			ClipArea parent = clipStack.peek( );
			int newX = Math.max( parent.x, startX );
			int newY = Math.max( parent.y, startY );
			int newWidth = Math.min( startX + width, parent.x + parent.width )
					- newX;
			int newHeight = Math
					.min( startY + height, parent.y + parent.height ) - newY;
			clipStack
					.push( new ClipArea( newX, newY, newWidth, newHeight ) );
		}
	}
	
	public void endClip( )
	{
		clipStack.pop( );
	}
}