Bug 147230 [Engine test]Total format error
Details: [Engine test]Total format error Desciption: Please see the attached file
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ElementUtil.java
import org.eclipse.birt.report.model.api.CellHandle;
import org.eclipse.birt.report.model.api.DataItemHandle;
import org.eclipse.birt.report.model.api.DesignElementHandle;
import org.eclipse.birt.report.model.api.GridHandle;
import org.eclipse.birt.report.model.api.ImageHandle;
import org.eclipse.birt.report.model.api.LabelHandle;
import org.eclipse.birt.report.model.api.ListHandle;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.ReportElementHandle;
import org.eclipse.birt.report.model.api.RowHandle;
import org.eclipse.birt.report.model.api.TableHandle;
import org.eclipse.birt.report.model.api.TextDataHandle;
import org.eclipse.birt.report.model.api.TextItemHandle;
public class ElementUtil
{
	static IContentVisitor instanceBuilder = new ContentVisitorAdapter()
	{
		public Object visit( IContent content, Object value )
		{
			return content.accept( this, value );
		}
		public Object visitCell( ICellContent cell, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			return new CellInstance( cell, context, false );			
		}
		public Object visitData( IDataContent data, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			return new DataItemInstance( data, context );