Bug 119817 properities using percentage dimension as value don't work in BIRT PDF Emitter.
Description: properities using percentage dimension as value don't work in BIRT PDF Emitter. Steps to reproduce: 1. Set percentage value to Margin/Padding 2. Preview Expected result: Percentage values work. Actual result: No effects.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/PropertyUtil.java
catch(NumberFormatException ex)
    	{
    		ex.printStackTrace();
    		return 0;
    	}
    }
    
    /**
     * FIXME
     * until now we only support absolute dimension value
     * @param d
     * @return
     */
    public static int getDimensionValue(DimensionType d)
    {
    	if(d!=null)
    	{
    		try
    		{
    			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))