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
*            layout data
	 * @return a StyleEngine instance
	 */
	public StyleEngine( ExcelLayoutEngine engine )
	{
		this.engine = engine;
		style2id.put( getDefaultEntry( DEFAULT_DATE_STYLE ), new Integer(
				DEFAULT_DATE_STYLE ) );
	}
	
	public StyleEntry getDefaultEntry( int id )
	{
		StyleEntry entry = new StyleEntry( );
		if ( id == DEFAULT_DATE_STYLE )
		{
			entry.setProperty( StyleConstant.DATE_FORMAT_PROP,
					"yyyy-M-d HH:ss:mm AM/PM" );
			entry.setProperty( StyleConstant.DATA_TYPE_PROP, Data.DATE );
		}
		return entry;
	}
	public StyleEntry createEntry(Rule rule, IStyle style)
	{
		if(style ==  null)
		{
			return StyleBuilder.createEmptyStyleEntry( );
		}	
		
		StyleEntry entry = initStyle( style, rule );
		entry.setStart( true );