Bug 204215 Background color for xtab doesn't cover the whole area in xls.[1102][1203]
Description: Background color for xtab doesn't cover the whole area in xls. Build number:2.2.1.v20070920 Steps to reproduce: 1. Preview attached report in xls Expected result: Background color covers whole area. Actual result: Several places are filled with white background color. Error log:n/a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/StyleBuilder.java
overwriteProp( cEntry, entry, StyleConstant.BORDER_RIGHT_WIDTH_PROP );
	}
	public static void applyLeftBorder( StyleEntry cEntry, StyleEntry entry )
	{
		overwriteProp( cEntry, entry, StyleConstant.BORDER_LEFT_COLOR_PROP );
		overwriteProp( cEntry, entry, StyleConstant.BORDER_LEFT_STYLE_PROP );
		overwriteProp( cEntry, entry, StyleConstant.BORDER_LEFT_WIDTH_PROP );
	}
	public static void applyTopBorder( StyleEntry cEntry, StyleEntry entry )
	{
		overwriteProp( cEntry, entry, StyleConstant.BORDER_TOP_COLOR_PROP );
		overwriteProp( cEntry, entry, StyleConstant.BORDER_TOP_STYLE_PROP );
		overwriteProp( cEntry, entry, StyleConstant.BORDER_TOP_WIDTH_PROP );
	}
	public static void applyBottomBorder( StyleEntry cEntry, StyleEntry entry )
	{
		overwriteProp( cEntry, entry, StyleConstant.BORDER_BOTTOM_COLOR_PROP );
		overwriteProp( cEntry, entry, StyleConstant.BORDER_BOTTOM_STYLE_PROP );
		overwriteProp( cEntry, entry, StyleConstant.BORDER_BOTTOM_WIDTH_PROP );
	}
	private static void overwriteProp( StyleEntry cEntry, StyleEntry entry,
			int id )
	{
		if ( !( StyleEntry.isNull( cEntry.getProperty( id ) ) ))
		{
			entry.setProperty( id, cEntry.getProperty( id ) );
		}
	}	
}