Bug 157263 "cm" and "mm" of line height doesn't take effects in PDF
"cm" and "mm" of line height doesn't take effects in PDF Steps to reproduce: 1.new a label and input some text 2.add borders to it 3.set line height in properties window ,but use cm or mm unit 4.Preview it Expected results: Line height take effects Actual results: "cm" and "mm" doesn't take effects
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/PropertyUtil.java
return (int) ( v * 72000 );
				case CSSPrimitiveValue.CSS_MM :
					return (int) ( v * 7200 / 2.54 );
				case CSSPrimitiveValue.CSS_PT :
					return (int) ( v * 1000 );
				case CSSPrimitiveValue.CSS_NUMBER :
					return (int) v;
				case CSSPrimitiveValue.CSS_PERCENTAGE :
					return (int) ( referenceLength * v/100.0 );
			}
		}
		return 0;
	}
    
    public static float getPercentageValue(CSSValue value)
    {
    	if(value!=null && (value instanceof FloatValue))
    	{
    		FloatValue fv = (FloatValue)value;
    		float v = fv.getFloatValue();
    		if (CSSPrimitiveValue.CSS_PERCENTAGE == fv.getPrimitiveType())
    		{
	    		return v/100.0f;
    		}
    	}
    	return 0.0f;
    }
    
}