Bug 206283 Fail to display table caption in word and excel.
Description: Fail to display table caption in word and excel. Build number:2.2.2.v20071011 Steps to reproduce: 1. Create data source and dataset. 2. Drag dataset to layout and add a caption for the table. 3. Preview in doc and xls. Expected result: Display caption content above table. Actual result: No caption display in word and excel. Error log:n/a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java
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 )
	{
		Rule rule = getCurrentContainer( ).getRule( );
		int start = rule.getStart( );
		int[] npos = new int[table.getColumnCount( )];
		npos[0] = start;
		for ( int i = 1; i < table.getColumnCount( ); i++ )
		{
			npos[i] = npos[i - 1] + table.getColumnWidth( i - 1 );