Bug 205593 ClassCastException in excel emitter
Build ID: 2.2.1 Steps To Reproduce: 1. export a design with a dynamic text (Ex: print: "Page "+ pageNumber) in excel format 2. 3. More information: It tries to cast a DynamicTextItemDesign into a DataItemDesign. Thanks Nicolas
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelEmitter.java
{
		
		engine.complete();
		
		ExcelWriter writer = new ExcelWriter( out );
		writer.writeDeclarations( );
		writer.declareStyles( engine.getStyleMap( ) );
		writer.startSheet( );
		writer.startTable( engine.getCoordinates( ) );
		int count = 0;
		while ( count < engine.getRowCount( ) )
		{
			outputData( engine.getRow( count ), writer );
			count++;
		}
		writer.endTable( );
		writer.closeSheet( );		
		
		
		for ( int i = 0; i < charts.size( ); i++ )
		{
			File temp = (File) charts.get( i );
			writer.insertSheet( temp );
			temp.delete( );
		}
		writer.close( true );
	}
	private void outputData( Data[] row, ExcelWriter writer )
	{