/** * Set the Compatibility Mode * * @param string $compatibilityMode Compatibility Mode * @return boolean (Success or Failure) */ public static function setCompatibilityMode($compatibilityMode) { if ($compatibilityMode == self::COMPATIBILITY_EXCEL || $compatibilityMode == self::COMPATIBILITY_GNUMERIC || $compatibilityMode == self::COMPATIBILITY_OPENOFFICE) { self::$compatibilityMode = $compatibilityMode; return True; } return False; }