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/ExcelWriter.java
writer.attribute( "ss:StyleID", styleid );
		if ( hyperLink != null )
		{
			if ( hyperLink.getType( ) == IHyperlinkAction.ACTION_BOOKMARK )
			{
				writer.attribute( "ss:HRef", "#Sheet1!" + hyperLink.getUrl( ) );
			}
			else
			{
				writer.attribute( "ss:HRef", hyperLink.getUrl( ) );
			}
		}
		writer.attribute( "ss:MergeAcross", colspan );
		writer.attribute( "ss:MergeDown", rowspan );
	}
	public void writeDefaultCell( Data d )
	{
		writer.openTag( "Cell" );
		if ( d.getStyleId( ) != 0 )
		{
			writer.attribute( "ss:StyleID", d.getStyleId( ) );
		}
		writeText( d );
		writer.closeTag( "Cell" );
	}
	protected void writeTxtData( Data d )
	{
		startCell( d.span.getCol( ), d.span.getColSpan( ), d.getRowSpan( ), d.styleId, d.url );
		writeText( d );
		endCell( );