Bug 213826 The image can not be shown when using event handler to set image [0800]
Description: The image can not be shown when using event handler to set image. Build number: 2.2.2.v20071225-0630 Steps to reproduce: 1. Copy the attached images and report design to the same folder. 2. New a java project and import the attached java file. 3. Preview the attached report design. Expected result: The image is shown. Actual result: The image is not shown when preview. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
protected void processData( IDataContent data )
	{
		String helpText = localize( data, data.getHelpKey( ), data.getHelpText( ) );
		data.setHelpText( helpText );
		String text = ""; 
		if ( data.getLabelKey( ) != null || data.getLabelText( ) != null )
		{
			text = localize( data, data.getLabelKey( ), data.getLabelText( ) );
		}
		else
		{
			Object value = data.getValue( );
			if ( value instanceof Object[] )
			{
				Object[] values = (Object[]) value;
				if ( values.length > 0 )
				{
					value = values[0];
				}
				else
				{
					value = null;
				}
			}
			
			if ( value != null )
			{
				IStyle style = data.getComputedStyle( );
				if ( value instanceof Number )
				{