Bug 313459 Problem with % when generating images in tables.
See the attached BirtProject, it has two reports. Each identical except for this difference: The image width/height is set to a %age value (50%) in one (TestImage.rptdesign) and not-set in the other (TestImageWorking.rptdesign). TestImage.rptdesign does not display the image in pdf, but works fine in html. TestImageWorking.rptdesign shows the image in both pdf and html. The %age setting seems to cause the problem in pdf format.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/PropertyUtil.java
public static int getDimensionValue( IContent content, DimensionType d )
	{
		return getDimensionValue( content, d, 0, 0 );
	}
	protected static int _getDimensionValue( IContent content, DimensionType d,
			int renderOptionDpi, int referenceLength )
	{
		if ( d.getValueType( ) == DimensionType.TYPE_DIMENSION )
		{
			String units = d.getUnits( );
			if ( units.equals( EngineIRConstants.UNITS_PT )
					|| units.equals( EngineIRConstants.UNITS_CM )
					|| units.equals( EngineIRConstants.UNITS_MM )
					|| units.equals( EngineIRConstants.UNITS_PC )
					|| units.equals( EngineIRConstants.UNITS_IN ) )
			{
				double point = d.convertTo( EngineIRConstants.UNITS_PT ) * 1000;
				return (int) point;
			}
			else if ( units.equals( EngineIRConstants.UNITS_PX ) )
			{
				double point = d.getMeasure( ) / getRenderDpi( content, renderOptionDpi )
						* 72000d;
				return (int) point;
			}
			else if ( units.equals( EngineIRConstants.UNITS_PERCENTAGE ) )
			{
				double point = referenceLength * d.getMeasure( ) / 100.0;
				return (int) point;
			}