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
private static int ID = 0;
	private Stack styles = new Stack( );
	private Stack spans = new Stack( );
	private Stack pos = new Stack( );
	private Hashtable style2id = new Hashtable( );
	
	private ListBuffer dataMap = null;
	private boolean istop = true;
	/**
	 * 
	 * @param dataMap
	 *            layout data
	 * @return a StyleEngine instance
	 */
	public static StyleEngine createStyleEngine( ListBuffer dataMap )
	{
		engine.release( );
		engine.setDataMap( dataMap );
		return engine;
	}
	private StyleEngine( )
	{
	}
	public void addContainerStyle( IStyle style, Span span, int start )
	{
		StyleEntry entry = initStyle( style, span );
		spans.push( span );
		styles.push( entry );
		pos.push( new Integer( start ) );
	}