Bug 188022 The expression builder should generate the data["XXX"] expression when specify highlight and map on dimension[1102]
Description: The expression builder should generate the data["XXX"] expression when specify highlight and map on dimension[1102] Build number: 2.2.0.v20070521-0630 Steps to reproduce: 1, New a crosstab 2, Select one dimension and specify the highlight or map 3, Go to expression builder and select the available column bindings to generate the expressions Expected result: The expression should be data["XXX"] Actual result: The expression is row["xxx"]
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
if ( DesignChoiceConstants.UNITS_PX.equals( units ) )
		{
			return measure;
		}
		
		if ( "".equalsIgnoreCase( units ) ) 
		{
			px = measure;
		}
		if ( fontSize == 0 )
		{
			Font defaultFont = JFaceResources.getDefaultFont( );
			FontData[] fontData = defaultFont.getFontData( );
			fontSize = fontData[0].getHeight( );
		}
		if ( DesignChoiceConstants.UNITS_EM.equals( units ) )
		{
			px = DimensionUtil.convertTo( measure * fontSize,
					DesignChoiceConstants.UNITS_PT,
					DesignChoiceConstants.UNITS_IN ).getMeasure( );
		}
		else if ( DesignChoiceConstants.UNITS_EX.equals( units ) )
		{
			px = DimensionUtil.convertTo( measure * fontSize / 3,
					DesignChoiceConstants.UNITS_PT,
					DesignChoiceConstants.UNITS_IN ).getMeasure( );
		}
		else if ( DesignChoiceConstants.UNITS_PERCENTAGE.equals( units ) )
		{
			px = DimensionUtil.convertTo( measure * fontSize / 100,