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
cb.addImage(img, 
					pdfMeasure(image.getWidth()), 0f, 0f, pdfMeasure(image.getHeight()),
					layoutAreaX2PDF(image.getAbsoluteX()), 
					layoutAreaY2PDF(image.getAbsoluteY(), image.getHeight()));
		} catch (BadElementException bee)
		{
			logger.log( Level.WARNING, bee.getMessage( ), bee );
		} catch (IOException ioe)
		{
			logger.log( Level.WARNING, ioe.getMessage( ), ioe );
		} catch (DocumentException de)
		{
			logger.log( Level.WARNING, de.getMessage( ), de );
		}
		catch (Throwable t)
		{
			logger.log( Level.WARNING, t.getMessage( ), t );
		}
		
		cb.restoreState();
		
		
		
		makeBookmark(image);
		
		
		handleHyperlinkAction(image);