Bug 205557 PPT emitter
BIRT 2.2.1 PPT emitter generates PPT files with references to "file:///C:/___Actuate___", which would of coure not work on no actuate pcs. e.g.: Content-Location: file:///C:/___Actuate___/slide-show Content-Location: file:///C:/___Actuate___/s1 Content-Location: file:///C:/___Actuate___/presentation Content-Location: file:///C:/___Actuate___/file-list
engine/org.eclipse.birt.report.engine.emitter.ppt/src/org/eclipse/birt/report/engine/emitter/ppt/PPTWriter.java
BackgroundImageLayout layout = new BackgroundImageLayout( areaPosition,
				areaSize, imagePosition, imageSize );
		Collection positions = layout.getImagePositions( repeat );
		Iterator iterator = positions.iterator( );
		while ( iterator.hasNext( ) )
		{
			Position position = (Position) iterator.next( );
			exportImageDefn( imageName, imageTitle, imageWidth, imageHeight,
					position.getX( ), position.getY( ) );
		}
	}
	private byte[] getImageData( InputStream imageStream ) throws IOException
	{
		byte[] imageData;
		ByteArrayOutputStream byteArrayStream = new ByteArrayOutputStream();
		int data = -1;
		while( (data = imageStream.read( ) ) >=0)
		{
			byteArrayStream.write( data );
		}
		imageData = byteArrayStream.toByteArray( );
		return imageData;
	}
	
	protected String getEscapedStr( String s )
	{
		StringBuffer result = null;
		int spacePos = 1;
		char[] s2char = s.toCharArray( );
		for ( int i = 0, max = s2char.length, delta = 0; i < max; i++ )