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
{
			return;
		}
		float imageWidth = 0;
		float imageHeight = 0;
		byte[] imageData = null;
		InputStream imageStream = null;
		try
		{
			URL url = new URL( imageURI );
			imageStream = url.openStream( );
			imageData = getImageData( imageStream );
			imageStream.close( );
			imageStream = url.openStream( );
			Image image = ImageIO.read( imageStream );
			ImageIcon imageIcon = new ImageIcon( image );
			imageWidth = imageIcon.getIconWidth( );
			imageHeight = imageIcon.getIconHeight( );
		}
		catch ( IOException ioe )
		{
			logger.log( Level.WARNING, ioe.getMessage( ), ioe );
		}
		finally
		{
			if ( imageStream != null )
			{
				try
				{
					imageStream.close( );