Bug 214212 Problem occurs when set the masterpage margin with ems/exs/pixcel units.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/DimensionPropertyType.java
return unit;
		if ( module == null )
			return DesignChoiceConstants.UNITS_IN;
		unit = module.getUnits( );
		if ( !StringUtil.isBlank( unit ) )
			return unit;
		if ( module.getSession( ) != null )
			return module.getSession( ).getUnits( );
		return DesignChoiceConstants.UNITS_IN;
	}
	/**
	 * Creates a <code>DimensionValue</code> given its measure. The unit is
	 * assumed to be in session unit.
	 * 
	 * @param module
	 *            the report design.
	 * @param defn
	 *            the definition of the property
	 * @param value
	 *            the double value of the measure.
	 * @return an <code>DimensionValue</code> Object in session unit.
	 * 
	 */
	private DimensionValue fromDouble( Module module, PropertyDefn defn,
			double value )
	{
		return new DimensionValue( value, getDefaultUnit( module, defn ) );
	}
	/**
	 * Validates the XML representation of the dimension property value. Parse