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/StyleEngine.java
int col = span.getCol( );
		int cp = dataMap.getListSize( col ) - 1;
		for ( int i = 0; i < span.getColSpan( ) + 1; i++ )
		{
			StyleBuilder.applyBottomBorder( entry, ( (Data) dataMap.get( i
					+ col, cp ) ).style );
		}
		istop = true;
	}
	public Span getContainerSpan( )
	{
		return (Span) spans.peek( );
	}
	public StyleEntry getStyle( IStyle style, Span span )
	{
		
		return initStyle( style, span );
	}
	public int getStyleID( StyleEntry entry )
	{
		if ( style2id.get( entry ) != null )
		{
			return ( (Integer) style2id.get( entry ) ).intValue( );
		}
		else
		{
			style2id.put( entry, new Integer( ID ) );
			return ++ID;
		}
	}