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
public void visit( Object o )
	{
		Data d = (Data) o;
		d.styleId = engine.getStyleID( d.style );
	}
	public Map getStyleIDMap( )
	{
		return style2id;
	}
	private void applyContainerTopBorder( Span span, int pos )
	{
		StyleEntry entry = (StyleEntry) styles.peek( );
		for ( int i = 0; i < span.getColSpan( ) + 1; i++ )
		{
			StyleBuilder.applyTopBorder( entry, ( (Data) dataMap.get( i
					+ span.getCol( ), pos ) ).style );
		}
	}
	private void applyHBorders( StyleEntry cEntry, StyleEntry entry,
			Span cSpan, Span span )
	{
		if ( cSpan == null || span == null )
		{
			return;
		}
		if ( cSpan.getCol( ) == span.getCol( ) )
		{
			StyleBuilder.applyLeftBorder( cEntry, entry );
		}