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
templateX.addImage(img, img.scaledWidth(), 0, 0, 
									img.scaledHeight(), 0, -img.scaledHeight()+height-absPosY);
							cbUnder.addTemplate(templateX, x+width-remainX, y-absPosY-height);
						}
						remainX=0;
					}
					else
					{
						if (height-absPosY>img.scaledHeight())
							cbUnder.addTemplate(template, x+width-remainX, y-absPosY-img.scaledHeight());
						else
							cbUnder.addTemplate(template, x+width-remainX, y-absPosY-height);
						remainX-=img.scaledWidth();
					}
				}
			}
			
			else if ("repeat-y".equalsIgnoreCase(repeat)) 
			{
				float remainY = height;
				
				 
				
				PdfTemplate template = null;
				if (height > img.scaledHeight())
				{
					template = cbUnder.createTemplate(
							width-absPosX>img.scaledWidth() ? img.scaledWidth() : width-absPosX, img.scaledHeight());
					template.addImage(img, img.scaledWidth(), 0, 0, img.scaledHeight(), 0, 0);
				}