Bug 168042 [regression]Background position doesn't work in pdf generated using BIRT PDF emitter.[0300]
[regression]Background position doesn't work in pdf generated using BIRT PDF emitter.[0300] Build number: 2.1.2.v20061214 Steps to reproduce: 1.open the attached report and preview in PDF 2.select the style and set the vertical position of background to 50% 3.preview in PDF Expected result: effects in step 1 and 3 are different Actual result: the same effects Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
} else {
								PdfTemplate templateX = cbUnder.createTemplate(
										remainX, height);
								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;