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
pdfMeasure(outerBorderWidth), border.borderColor, "solid", cb ); 
 	 				drawLine( layoutPointX2PDF( border.startX+border.borderWidth/2-innerBorderWidth/2 ), 
 	 						layoutPointY2PDF( border.startY+2*border.borderWidth/3 ), 
 	 						layoutPointX2PDF( border.endX+border.borderWidth/2-innerBorderWidth/2 ), 
 	 						layoutPointY2PDF( border.endY-2*border.borderWidth/3 ), 
 	 						pdfMeasure(innerBorderWidth), border.borderColor, "solid", cb ); 
 	 				return;
 				}
	 		}
			drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ), 
						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ), 
						pdfMeasure(border.borderWidth), border.borderColor, "solid", cb ); 
			return;
		}
		
		
		/**
		 * Draws a line from the start position to the end position with the given
		 * linewidth, color, and style at the given pdf layer.
		 * 
		 * @param startX			the start X coordinate of the line
		 * @param startY 			the start Y coordinate of the line
		 * @param endX 				the end X coordinate of the line
		 * @param endY 				the end Y coordinate of the line
		 * @param width 			the lineWidth
		 * @param color 			the color of the line
		 * @param lineStyle 		the given line style
		 * @param contentByte 		the given pdf layer
		 */
		private void drawLine(float startX, float startY, float endX, float endY, float width,