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
{
    		return new Color(color.getRed().getFloatValue(CSSPrimitiveValue.CSS_NUMBER)/255.0f,
    				color.getGreen().getFloatValue(CSSPrimitiveValue.CSS_NUMBER)/255.0f,
    				color.getBlue().getFloatValue(CSSPrimitiveValue.CSS_NUMBER)/255.0f);
    		}
    		catch(RuntimeException ex)
    		{
    			 logger.log(Level.WARNING, "invalid color: {0}", value ); 
    		}
    	}
    	return null;
    }
    
    public static String getBackgroundImage(CSSValue value)
    {
    	if(value!=null && value instanceof StringValue)
    	{
    		String strValue = ((StringValue)value).getStringValue();
    		if(strValue!=null && (!CSSConstants.CSS_NONE_VALUE.equals(strValue)))
    		{
    			return strValue;
    		}
    	}
    	return null;
    }
   /**
     * if invalid value return -1.
     * @param d
     * @return
     */