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
private int detal;
	private int left;
	private Stack containers = new Stack( );
	private Stack tables = new Stack( );
	private Hashtable links = new Hashtable( );
	public ExcelLayoutEngine( PageDef page )
	{
		axis = new AxisProcessor( );
		int[] init = new int[3];
		init[0] = page.leftmargin;
		init[1] = page.contentwidth + init[0];
		init[2] = page.rightmargin + init[1];
		axis.addCoordinates( init );
		Rule rule = new Rule( init[0], init[1] - init[0] );
		cache = new DataCache( 1 );
		engine = new StyleEngine( this );
		detal = init[0] == 0 ? 0 : 1;
		left = init[0];
		containers.push( createContainer( rule, page.style ) );
	}
	public XlsContainer getCurrentContainer( )
	{
		return (XlsContainer) containers.peek( );
	}
	public Stack getContainers( )
	{
		return containers;
	}
	public void addTable( TableInfo table, IStyle style )
	{