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
{
		Rule rule = getCurrentContainer( ).getRule( );
		StyleEntry entry = engine.createEntry( rule, style );
		addContainer( new XlsContainer( entry, rule ) );
	}
	public void addContainer( XlsContainer container )
	{
		getCurrentContainer( ).setEmpty( false );
		int col = axis.getCoordinate( container.getRule( ).getStart( ) );
		int pos = cache.getColumnSize( col - detal );
		container.setStart( pos );
		containers.push( container );
	}
	public void endContainer( )
	{
		XlsContainer container = getCurrentContainer( );
		
		if ( container.isEmpty( ) )
		{
			Data data = new Data( EMPTY, container.getStyle( ), Data.STRING );
			data.setRule( container.getRule( ) );
			addData( data );
		}
		engine.removeContainerStyle( );
		containers.pop( );
	}
	public void addData( Object txt, IStyle style, HyperlinkDef link )
	{
		Rule rule = getCurrentContainer( ).getRule( );
		StyleEntry entry = engine.getStyle( style, rule );