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
areaPosition, areaSize, imagePosition, imageSize );
			Collection positions = layout.getImagePositions( repeat );
			Iterator iterator = positions.iterator( );
			while ( iterator.hasNext( ) )
			{
				Position position = (Position) iterator.next( );
				fillRectangleWithImage( imagePartInfo, (int) OOXmlUtil
						.convertPointerToEmus( position.getX( ) ), (int) OOXmlUtil
						.convertPointerToEmus( position.getY( ) ), (int) OOXmlUtil
						.convertPointerToEmus( originalImageWidth ), (int) OOXmlUtil
						.convertPointerToEmus( originalImageHeight ), 0, 0 );
			}
		}
		catch ( IOException e )
		{
			logger.log( Level.SEVERE, e.getLocalizedMessage( ), e );
		}
	}
	private float getImageRange( float maxRange, float offset, float imageSize )
	{
		float result = imageSize;
		if ( offset < 0 )
		{
			result = Math.max( 0, imageSize + offset );
		}
		else if ( offset + imageSize > maxRange )
		{
			result = Math.max( 0, maxRange - offset );
		}
		return result;