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
}
		
		public void setTotalPage(ITextArea totalPage)
		{
			if(tpl!=null)
			{
				drawTextAt(totalPage, 0, 0, tpl, tpl.getHeight());
			}
		}
		public void visitText(ITextArea textArea)
		{
			ContainerPosition curPos;
			if ( !containerStack.isEmpty() )
				curPos = (ContainerPosition)containerStack.peek();	
			else 
				curPos = new ContainerPosition(0, 0);
			
			int x = curPos.x + textArea.getX() + (int)(textArea.getFontInfo( ).getFontSize( ) * 70);
			int y = curPos.y + textArea.getY() + (int)(textArea.getFontInfo( ).getFontSize( ) * 100);
			drawTextAt(textArea, x, y, cb, pageHeight);
			
			
			makeBookmark(textArea, curPos);
			
			handleHyperlinkAction(textArea, curPos);
		}
		public void visitImage(IImageArea imageArea)
		{
			drawImage(imageArea);
		}