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/StyleEngine.java
StyleBuilder.applyLeftBorder( cEntry, entry );
			}
			if ( rule.getEnd( ) == crule.getEnd( ) )
			{
				StyleBuilder.applyRightBorder( cEntry, entry );
			}
		}
		return entry;
	}
	public void removeContainerStyle( )
	{
		calculateBottomStyles( );
	}
	public void calculateBottomStyles( )
	{
		if(engine.getContainers( ).size() == 0)
		{
			return;
		}	
		
		XlsContainer container = engine.getCurrentContainer( );
		Rule rule = container.getRule( );
		StyleEntry entry = container.getStyle( );
		if ( entry.isStart( ) )
		{
			calculateTopStyles( );
		}
		int start = rule.getStart( );
		int col = engine.getAxis().getCoordinate( start );
		int span = engine.getAxis().getCoordinate( rule.getEnd( ) ) - col;