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
public String getOutputFormat()
	{
		return RenderOptionBase.OUTPUT_FORMAT_PDF;
	}
	/**
	 * initialize the pdfEmitter
	 */
	public void initialize(IEmitterServices services)
	{
		
		
		this.reportRunnable = services.getReportRunnable();
		if (reportRunnable != null)
		{
			reportDesign = (ReportDesignHandle)reportRunnable.getDesignHandle();
		}
		Object renderContext = services.getRenderContext();
		if(renderContext!=null && renderContext instanceof Map)
		{
			Object con = ((Map)renderContext).get(EngineConstants.APPCONTEXT_PDF_RENDER_CONTEXT);
			if(con instanceof PDFRenderContext)
			{
				this.context = (PDFRenderContext)con;
			}
		}
		Object fd = services.getOption( RenderOptionBase.OUTPUT_FILE_NAME );
		File file = null;
		try
		{
			if( fd != null )