Bug 200631 [smoke]Fail to preview report in xls[1203]
Description: Fail to preview report in xls Build number:2.2.1.v20070821 Steps to reproduce: 1. New a report. 2. Insert a label. 3. Preview in xls. Expected result: Display content. Actual result: See attached. Fail to open report. Error log:n/a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java
data1.setDatatype( Data.STRING );
		return data1;
		
	}
	private void addData( Data data )
	{
		getCurrentContainer( ).setEmpty( false );
		int col = axis.getCoordinate( data.getRule( ).getStart( ) );
		int span = axis.getCoordinate( data.getRule( ).getEnd( ) ) - col;
		addDatatoCache( col, data );
		for ( int i = col + 1; i < col + span; i++ )
		{
			addDatatoCache( i, waste );
		}
	}
	public XlsContainer createContainer( Rule rule, IStyle style )
	{
		return new XlsContainer( engine.createEntry( rule, style ), rule );
	}
	public Map getStyleMap( )
	{
		return engine.getStyleIDMap( );
	}
	public int[] getCoordinates( )
	{
		return axis.getCoordinates( );
	}
	public int getRowCount( )
	{
		int realcount = cache.getRowCount( );