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
String size = style.getProperty( StyleConstant.FONT_SIZE_PROP );
			String fontStyle = style
					.getProperty( StyleConstant.FONT_STYLE_PROP );
			String fontWeight = style
					.getProperty( StyleConstant.FONT_WEIGHT_PROP );
			String strikeThrough = style
					.getProperty( StyleConstant.TEXT_LINE_THROUGH_PROP );
			String underline = style
					.getProperty( StyleConstant.TEXT_UNDERLINE_PROP );
			String color = style.getProperty( StyleConstant.COLOR_PROP );
			writeFont( fontName, size, fontWeight, fontStyle, strikeThrough,
					underline, color );
			String bgColor = style
					.getProperty( StyleConstant.BACKGROUND_COLOR_PROP );
			writeBackGroudColor( bgColor );
		}
		writeDataFormat( style );
		writer.closeTag( "Style" );
	}
	public void writeDataFormat( StyleEntry style )
	{
		if ( style.getProperty( StyleConstant.DATA_TYPE_PROP ) == Data.DATE
				&& style.getProperty( StyleConstant.DATE_FORMAT_PROP ) != null )
		{
			writer.openTag( "NumberFormat" );
			writer.attribute( "ss:Format", style
					.getProperty( StyleConstant.DATE_FORMAT_PROP ) );
			writer.closeTag( "NumberFormat" );
		}
		if ( style.getProperty( StyleConstant.DATA_TYPE_PROP ) == Data.NUMBER