Bug 213841 [Automation][Regression]Border style does not work correctly in PDF
Description: Border style does not work correctly in PDF Test Date: 20071225 Test Build: BIRT2.3.0 Daily Build: v20071225-1306 Step to reproduce: 1. Use the report attached 2. Preview it Expect result: Please refer to golden file attached Actual result: Please refer to failed screen shot attached
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/PageDeviceRender.java
private void drawBackgroundImage( String imageURI, int x, int y, int width,
			int height, float positionX, float positionY, String repeat,
			boolean xMode, boolean yMode )
	{
		
		if ( null == imageURI )
		{
			return;
		}
		String imageUrl = getImageUrl( imageURI );
		if ( imageUrl == null || "".equals( imageUrl ) ) 
		{
			return;
		}
		
		if ( null == repeat )
		{
			repeat = "repeat"; 
		}
		Image img = null;
		try
		{
			img = Image.getInstance( imageUrl );
			int absPosX, absPosY;
			if ( xMode )
			{
				absPosX = (int) ( ( width - img.scaledWidth( )
						* PDFConstants.LAYOUT_TO_PDF_RATIO ) * positionX );
			}
			else