int intVal; if (value.contains("pt")) intVal = mapPoints(); else if (value.contains("px")) intVal = mapPixels(); else intVal = mapAbsolute();   return intVal;
if (isRelative) mapRelative(p); return size;
  public int getValue()  {    int intVal;    if (value.contains("pt"))      intVal = mapPoints();    else if (value.contains("px"))      intVal = mapPixels();    else      intVal = mapAbsolute();    // FIXME: Allow relative font values, ('larger' and 'smaller'). This    // requires knowledge about the parent element's font size.    return intVal;  }