Bug 163919 Set all border on row has totally different preview result between PDF and webviewer [0300]
Description: Set all the direction of border to the table detail row and the preview result in the PDF is not correct. Build number: 2.2.0.v20061109-0630 Step to reproduce: 1. Use attached report design file. 2. preview it in PDF 3. preview it in webviewer Actual result: There are no border between two rows when preview in PDF. Excepted result: The preview result should same as the webviewer's
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/BorderConflictResolver.java
for ( int i = 0; i < styles.length; i++ )
		{
			borderStyles[i] = styles[i].getBorderStyle( );
			if ( IStyle.HIDDEN_VALUE.equals( borderStyles[i] ) )
			{
				usedStyle.setBorderStyle( IStyle.HIDDEN_VALUE );
				return;
			}
		}
		
		
		int maxWidth = 0;
		int maxCount = 1;
		int maxFirstIndex = 0;
		int[] ws = new int[styles.length];
		CSSValue[] borderWidths = new CSSValue[styles.length];
		for ( int i = 0; i < styles.length; i++ )
		{
			borderWidths[i] = styles[i].getBorderWidth( );
			ws[i] = PropertyUtil
					.getDimensionValue( styles[i].getBorderWidth( ) );
			if ( ws[i] > maxWidth )
			{
				maxWidth = ws[i];
				maxCount = 1;
				maxFirstIndex = i;
			}
			else if ( ws[i] == maxWidth )
			{
				maxCount++;