Bug 208190 [Regression]A blank column occurs when export report to excel file[1203]
Description: Export report to excel file, a blank column is created on the front of the columns exported. Build version:2.3.0.v20071031-0800 Steps to reproduce: 1.Create a sample datasource and dataset. 2.Pull the dataset to the report layout,and add a group on the table. 3.Preview in web viewer, export the report to excel file, a blank column is created as the first column.
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java
Data data = createData(text, entry);		
		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 );
		}
		entry.setProperty( StyleConstant.DATA_TYPE_PROP, Data.STRING );
		return new Data( txt, entry, Data.STRING );
	}
	private void addData( Data data )
	{
		getCurrentContainer( ).setEmpty( false );
		int col = axis.getCoordinate( data.getRule( ).getStart( ) );