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
.getProperty( StyleConstants.STYLE_BORDER_BOTTOM_WIDTH ) );
			int borderRightWidth = getScaledValue( style
					.getProperty( StyleConstants.STYLE_BORDER_RIGHT_WIDTH ) );
			if ( borderTopWidth > 0 || borderLeftWidth > 0
					|| borderBottomWidth > 0 || borderRightWidth > 0 )
			{
				
				Color borderTopColor = PropertyUtil.getColor( style
						.getProperty( StyleConstants.STYLE_BORDER_TOP_COLOR ) );
				Color borderRightColor = PropertyUtil
						.getColor( style
								.getProperty( StyleConstants.STYLE_BORDER_RIGHT_COLOR ) );
				Color borderBottomColor = PropertyUtil
						.getColor( style
								.getProperty( StyleConstants.STYLE_BORDER_BOTTOM_COLOR ) );
				Color borderLeftColor = PropertyUtil.getColor( style
						.getProperty( StyleConstants.STYLE_BORDER_LEFT_COLOR ) );
				
				BorderInfo[] borders = new BorderInfo[4];
				borders[BorderInfo.TOP_BORDER] = new BorderInfo(
						startX + borderLeftWidth / 2,
						startY + borderTopWidth / 2,
						startX + getWidth( container ) - borderRightWidth / 2,
						startY + borderTopWidth / 2,
						borderTopWidth,
						borderTopColor,
						style
								.getProperty( StyleConstants.STYLE_BORDER_TOP_STYLE ),
						BorderInfo.TOP_BORDER );
				borders[BorderInfo.RIGHT_BORDER] = new BorderInfo(