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
e.printStackTrace( );
			}
		}
		pptOutput = null;
	}
	public void endPage( )
	{
		try
		{
			
			for ( Iterator ite = imageTitles.iterator( ); ite.hasNext( ); )
			{
				String imageTitle = (String) ite.next( );
				byte[] imageData = (byte[]) currentImageData.get( imageTitle );
				generateImageBytes( imageTitle, imageData );
				pptOutput.write( "\n\n".getBytes( ) );
			}
			pptOutput.write( "</p:slide></body></html>\n".getBytes( ) ); 
		}
		catch ( IOException ioe )
		{
			logger.log( Level.WARNING, ioe.getMessage( ), ioe );
		}
	}
	private void exportImageHeader( String imagekey ) throws IOException
	{
		pptOutput.write( "\n".getBytes( ) );
		pptOutput.write( "--___Actuate_Content_Boundary___\n".getBytes( ) ); 
		pptOutput.write( ( "Content-Location: file:///C:/___Actuate___/"
				+ (String) imageNames.get( imagekey ) + "\n" ).getBytes( ) );