[]
Serializable, Comparable<ThemeFont>, ConstableUse this enum with font-related APIs to apply a font from the workbook theme font scheme. Major uses the major theme font, Minor uses the minor theme font, and None specifies that no theme font is used.
worksheet.getRange("A1").setValue("Report Title");
worksheet.getRange("A1").getFont().setThemeFont(ThemeFont.Major);
Enum.EnumDesc<E extends Enum<E>>name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null