Bug 180873 Background color on dynamic text doesn't take effect in excel emitter[1203]
Background color on dynamic text doesn't take effect in excel emitter[1203] Build number: 2.2.0.v20070404-0630 Steps to reproduce: 1.preview attached report design in excel emitter Expected result: Style on items can take effects in excel emitter Actual result: Background color on dynamic wasn't displayed in excel emitter Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelEmitter.java
/**
	 * Add an element's data to container.
	 * 
	 * @param design
	 *            element's design
	 * @param style
	 *            element's style
	 * @param url
	 *            url defined on element
	 * @param txt
	 *            element's value
	 */
	private void addData( Object design, IStyle style, String url, String txt )
	{
		Span span = (Span) design2ExcelSpan.get( design );
		if ( span == null )
		{
			return;
		}
		
		StyleEntry entry = engine.getStyle( style, span );
		
		Data data = new Data( txt, INVALID, span, url, entry );
		for ( int col = span.getCol( ); col < span.getCol( )
				+ span.getColSpan( ) + 1; col++ )
		{
			lb.add( col, data );
		}
		
		if ( design instanceof DataItemDesign && tableBindings.size( ) > 0 )