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
new BorderStyleInfo( preCellRight, POSITION_RIGHT ),
				new BorderStyleInfo( cellLeft, POSITION_LEFT ),
				new BorderStyleInfo( preColumnRight, POSITION_RIGHT ),
				new BorderStyleInfo( columnLeft, POSITION_LEFT )},
				new BorderStyleInfo( usedStyle, POSITION_LEFT ) );
	}
	/**
	 * The used style should be style of area which is writable, and the others
	 * are styles of content which is read-only.
	 * 
	 * @param preRowBottom
	 * @param rowTop
	 * @param preCellBottom
	 * @param cellTop
	 * @param usedStyle
	 */
	public void resolveCellTopBorder( IStyle preRowBottom, IStyle rowTop,
			IStyle preCellBottom, IStyle cellTop, IStyle usedStyle )
	{
		resolveBorder( new BorderStyleInfo[]{
				new BorderStyleInfo( preCellBottom, POSITION_BOTTOM ),
				new BorderStyleInfo( cellTop, POSITION_TOP ),
				new BorderStyleInfo( preRowBottom, POSITION_BOTTOM ),
				new BorderStyleInfo( rowTop, POSITION_TOP )},
				new BorderStyleInfo( usedStyle, POSITION_TOP ) );
	}
	private void resolveBorder( BorderStyleInfo[] styles,
			BorderStyleInfo usedStyle )
	{
		CSSValue[] borderStyles = new CSSValue[styles.length];