[]
Serializable, Comparable<FontLanguageIndex>, Constable使用此枚举可以从 IThemeFonts 集合中选择拉丁文、东亚文字或复杂文字的主题字体。它通常与IThemeFonts.get(FontLanguageIndex) 一起使用,并由IThemeFont.getFontLanguageIndex() 返回。
Theme theme = new Theme("CustomTheme", Themes.GetBerlin());
workbook.setTheme(theme);
IThemeFont latinFont = workbook.getTheme().getThemeFontScheme().getMajor().get(FontLanguageIndex.Latin);
latinFont.setName("Aptos");
IThemeFont eastAsianFont = workbook.getTheme().getThemeFontScheme().getMajor().get(FontLanguageIndex.EastAsian);
eastAsianFont.setName("MS Gothic");
Enum.EnumDesc<E extends Enum<E>>static FontLanguageIndexstatic FontLanguageIndex[]values()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