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
if ( IStyle.LINE_THROUGH_VALUE.equals( style
					.getProperty( IStyle.STYLE_TEXT_LINETHROUGH ) ) )
			{
				drawLine(
						layoutPointX2PDF( textX ),
						layoutPointY2PDF( textY
								+ text.getFontInfo( ).getLineThroughPosition( ) ),
						layoutPointX2PDF( textX + text.getWidth( ) ),
						layoutPointY2PDF( textY
								+ text.getFontInfo( ).getLineThroughPosition( ) ),
						text.getFontInfo( ).getLineWidth( ),
						PropertyUtil.getColor( style
								.getProperty( StyleConstants.STYLE_COLOR ) ),
						"solid", contentByte ); 
			}
			if ( IStyle.OVERLINE_VALUE.equals( style
					.getProperty( IStyle.STYLE_TEXT_OVERLINE ) ) )
			{
				drawLine( layoutPointX2PDF( textX ), layoutPointY2PDF( textY
						+ text.getFontInfo( ).getOverlinePosition( ) ),
						layoutPointX2PDF( textX + text.getWidth( ) ),
						layoutPointY2PDF( textY
								+ text.getFontInfo( ).getOverlinePosition( ) ),
						text.getFontInfo( ).getLineWidth( ),
						PropertyUtil.getColor( style
								.getProperty( StyleConstants.STYLE_COLOR ) ),
						"solid", contentByte );