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
}
		catch ( Exception e )
		{
			logger.log( Level.WARNING, e.getLocalizedMessage( ) );
			return 0;
		}
	}
	public static int getDimensionValue( IContent content, DimensionType d,
			int referenceLength )
	{
		return getDimensionValue( content, d, 0, referenceLength );
	}
	public static int getIntAttribute( Element element, String attribute )
	{
		String value = element.getAttribute( attribute );
		int result = 1;
		if ( value != null && value.length( ) != 0 )
		{
			result = Integer.parseInt( value );
		}
		return result;
	}
	public static DimensionType getDimensionAttribute( Element ele,
			String attribute )
	{
		String value = ele.getAttribute( attribute );
		if ( value == null || 0 == value.length( ) )
		{
			return null;
		}