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/layout/ExcelLayoutEngine.java
int times = max - len[i - startcol];
			while ( ( times-- ) > 0 )
			{
				Rule colrule = axis.getRule( i );
				Data data = new Data( EMPTY, engine
						.createHorizionStyle( colrule ), Data.STRING );
				data.setRule( colrule );
				cache.addData( i - detal, data );
			}
		}
	}
	public void endTable( )
	{
		if ( !tables.isEmpty( ) )
		{
			tables.pop( );
			endContainer( );
		}
	}
	public void addContainer( IStyle style, HyperlinkDef link )
	{
		Rule rule = getCurrentContainer( ).getRule( );
		StyleEntry entry = engine.createEntry( rule, style );
		addContainer( new XlsContainer( entry, rule ) );
	}
	public void addContainer( XlsContainer container )
	{
		getCurrentContainer( ).setEmpty( false );
		int col = axis.getCoordinate( container.getRule( ).getStart( ) );
		int pos = cache.getColumnSize( col - detal );