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
public final static String OUTPUT_FORMAT = "xls";
	protected static Logger logger = Logger.getLogger( ExcelEmitter.class
			.getName( ) );
	private IEmitterServices eservice = null;
	private int[] width;
	private Map design2ExcelSpan = null;
	private Map table2TableBinding = null;
	private Map formulaDatas = new HashMap( );
	private final String EMPTY = " ";
	private final int INVALID = -1;
	private Stack groupInfos = new Stack( );
	private Stack tableBindings = new Stack( );
	private int lines = 0, flushLength = 1000;
	private StyleEngine engine = null;
	private ListBuffer lb;
	private OutputStream out = null;
	private List charts = new ArrayList( );
	private ChartConverter chartConverter = new ChartConverter( );
	public void end( IReportContent report )
	{
		try
		{
			
			lb.flush( true, engine );
			ExcelWriter writer = new ExcelWriter( out );
			writer.writeDeclarations( );
			writer.declareStyles( engine.getStyleIDMap( ) );
			writer.startSheet( );
			writer.startTable( width );
			writeDatas( writer );