Bug 124444 Preview attached file in pdf will display nothing.
Description: Preview attached file in pdf will display nothing. Steps to reproduce: 1. Preview attached design file in pdf Expected result: Report content shows Actual result: Wait for 10 minutes but nothing showed at all
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
{
				file = new File(fd.toString());
				output = new FileOutputStream( file );
			}
		}
		catch( FileNotFoundException fnfe )
		{
			logger.log( Level.WARNING, fnfe.getMessage( ), fnfe );
		}
		
		
		
		
		if( output == null )
		{
			Object value = services.getOption( RenderOptionBase.OUTPUT_STREAM );
			if( value != null && value instanceof OutputStream )
			{
				output = ( OutputStream ) value;
			}
			
			
			
			else
			{
				try
				{
					file = new File( REPORT_FILE );
					output = new FileOutputStream( file );
				}