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/layout/ExcelLayoutEngine.java
}
		engine.removeContainerStyle( );
		containers.pop( );
	}
	public void addData( Object txt, IStyle style, HyperlinkDef link )
	{
		Rule rule = getCurrentContainer( ).getRule( );
		StyleEntry entry = engine.getStyle( style, rule );
		Data data = createData(txt, entry);
		data.setHyperlinkDef( link );
		data.setRule( rule );
		addData( data );
	}
	public Data createData( Object txt, StyleEntry entry )
	{
		if ( ExcelUtil.getType( txt ).equals( Data.NUMBER ) )
		{
			String format = ExcelUtil.getPattern( txt, entry
					.getProperty( StyleConstant.NUMBER_FORMAT_PROP ) );
			entry.setProperty( StyleConstant.NUMBER_FORMAT_PROP, format );
			entry.setProperty( StyleConstant.DATA_TYPE_PROP, Data.NUMBER );
			return new Data( txt, entry, Data.NUMBER );
		}
		else if ( ExcelUtil.getType( txt ).equals( Data.DATE ) )
		{
			String format = ExcelUtil.getPattern( txt, entry
					.getProperty( StyleConstant.DATE_FORMAT_PROP ) );
			entry.setProperty( StyleConstant.DATE_FORMAT_PROP, format );
			entry.setProperty( StyleConstant.DATA_TYPE_PROP, Data.DATE );
			return new Data( txt, entry, Data.DATE );