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
} catch (BadElementException bee)
		{
			logger.log( Level.WARNING, bee.getMessage( ), bee );
		} catch (DocumentException de)
		{
			logger.log( Level.WARNING, de.getMessage( ), de );
		} catch (RuntimeException re)
		{
			logger.log( Level.WARNING, re.getMessage( ), re );
		}
		cbUnder.restoreState();
	}
	
	/**
	 * convert the layout measure to PDF, the measure of layout is 1000 times
	 * larger than that of PDF
	 * 
	 * @param layoutMeasure
	 *            the measure computed in layout manager
	 * @return the measure in PDF
	 */
	private float pdfMeasure( int layoutMeasure )
	{
		return layoutMeasure/(float)layout2PdfRatio;
	}
	/**
	 * convert the X coordinate of a point from layout to X coordinate in PDF
	 * @param layoutX 		the X coordinate specified from layout
	 * @return				the PDF X coordinate
	 */