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
{
					tplOrigin = containerBaseAbsPos - ImageSize - absPos;
					tplSize = ImageSize;
					translation = 0.0f;
				}
				else
				{
					tplOrigin = containerBaseAbsPos - containerSize; 
					tplSize = containerSize - absPos;
					translation =  containerSize - absPos - ImageSize;
				}
				
			}
			return new tplValueTriple(tplOrigin, tplSize, translation);
		}
		
		
		/**
		 * 
		 * @param absPos
		 *            the horizontal position relative to its containing box
		 * @param containerBaseAbsPos
		 *            the absolute position of the container's left side
		 * @param containerSize
		 *            container width
		 * @param ImageSize
		 *            the width of template which image lies in
		 * @return a triple(the horizontal position of template's left-bottom origin,
		 *         template width, and image's horizontal translation relative to the template )
		 */