Bug 196105 There is an extra red square when preview the attached design file in ppt[1205]
Description: There is an extra red square when preview the attached design file in ppt. Build number: 2.2.1.v20070711-0630 Steps to reproduce: 1.Open attached report design 2.Preview in PPT Expected reuslt: The report is previewed correctly. Actual result: See the screenshot. Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.ppt/src/org/eclipse/birt/report/engine/emitter/ppt/PPTWriter.java
{
		String rectifiedImageURI = imageURI.replace( '.', '&' );
		String extension = imageURI.substring( rectifiedImageURI.lastIndexOf( '&' ) + 1 )
				.toLowerCase( );
		if ( extension.equals( "svg" ) )
		{
			extension = "jpg";
		}
		return extension;
	}
	/*
	 * Save the image name into file list of current page
	 */
	private void recordFileLists( String filename )
	{
		Integer pageNum = new Integer( currentPageNum );
		if ( fileNamesLists.containsKey( pageNum ) )
		{
			( (List) fileNamesLists.get( pageNum ) ).add( filename );
		}
		else
		{
			List fileNames = new ArrayList( );
			fileNames.add( filename );
			fileNamesLists.put( pageNum, fileNames );
		}
	}
	/**
	 * Draws a line from the start position to the end position with the given
	 * line width, color, and style on the PPT.