|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FontGroup> org.apache.poi.common.usermodel.fonts.FontGroup
public enum FontGroup
Text runs can contain characters which will be handled (if configured) by a different font, because the default font (latin) doesn't contain corresponding glyphs.
Nested Class Summary | |
---|---|
static class |
FontGroup.FontGroupRange
|
Enum Constant Summary | |
---|---|
COMPLEX_SCRIPT
type for complex scripts - see https://msdn.microsoft.com/en-us/library/windows/desktop/dd317698 |
|
EAST_ASIAN
type for east asian charsets - usually set as fallback for the latin font, e.g. |
|
LATIN
type for latin charset (default) - also used for unicode fonts like MS Arial Unicode |
|
SYMBOL
type for symbol fonts |
Method Summary | |
---|---|
static FontGroup |
getFontGroupFirst(java.lang.String runText)
|
static java.util.List<FontGroup.FontGroupRange> |
getFontGroupRanges(java.lang.String runText)
Try to guess the font group based on the codepoint |
static FontGroup |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FontGroup[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FontGroup LATIN
public static final FontGroup EAST_ASIAN
public static final FontGroup SYMBOL
public static final FontGroup COMPLEX_SCRIPT
Method Detail |
---|
public static FontGroup[] values()
for (FontGroup c : FontGroup.values()) System.out.println(c);
public static FontGroup valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static java.util.List<FontGroup.FontGroupRange> getFontGroupRanges(java.lang.String runText)
runText
- the text which font groups are to be analyzed
public static FontGroup getFontGroupFirst(java.lang.String runText)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |