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 calculateTopStyles( )
	{
		if ( styles.size( ) != 0 && istop )
		{
			Span span = (Span) spans.peek( );
			int start = ( (Integer) pos.peek( ) ).intValue( );
			applyContainerTopBorder( span, start );
			istop = false;
		}
	}
	public StyleEntry createHorizionStyle( int pos )
	{
		Span span = (Span) spans.peek( );
		StyleEntry cEntry = (StyleEntry) styles.peek( );
		StyleEntry entry = StyleBuilder.createEmptyStyleEntry( );
		StyleBuilder.mergeInheritableProp( cEntry, entry );
		if ( pos == span.getCol( ) )
		{
			StyleBuilder.applyLeftBorder( cEntry, entry );
		}
		if ( pos == span.getCol( ) + span.getColSpan( ) )
		{
			StyleBuilder.applyRightBorder( cEntry, entry );
		}
		return entry;
	}
	public void calculateBottomStyles( )
	{
		Span span = (Span) spans.pop( );
		StyleEntry entry = (StyleEntry) styles.pop( );