Package org.apache.poi.hwmf.record
Enum Class HwmfFont.WmfOutPrecision
- All Implemented Interfaces:
Serializable
,Comparable<HwmfFont.WmfOutPrecision>
,Constable
- Enclosing class:
- HwmfFont
The output precision defines how closely the output must match the requested font's height,
width, character orientation, escapement, pitch, and font type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA value that specifies default behavior.A value that specifies the choice of a device font when the system contains multiple fonts with the same name.A value that specifies the requirement for TrueType and other outline fonts.A value that specifies a requirement for only PostScript fonts.A value that specifies the choice of a rasterized font when the system contains multiple fonts with the same name.A value that specifies a preference for TrueType and other outline fonts.A value that is returned when rasterized fonts are enumerated.A value that is returned when TrueType and other outline fonts, and vector fonts are enumerated.A value that specifies the requirement for only TrueType fonts.A value that specifies the choice of a TrueType font when the system contains multiple fonts with the same name. -
Method Summary
Modifier and TypeMethodDescriptionstatic HwmfFont.WmfOutPrecision
Returns the enum constant of this class with the specified name.static HwmfFont.WmfOutPrecision[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OUT_DEFAULT_PRECIS
A value that specifies default behavior. -
OUT_STRING_PRECIS
A value that is returned when rasterized fonts are enumerated. -
OUT_STROKE_PRECIS
A value that is returned when TrueType and other outline fonts, and vector fonts are enumerated. -
OUT_TT_PRECIS
A value that specifies the choice of a TrueType font when the system contains multiple fonts with the same name. -
OUT_DEVICE_PRECIS
A value that specifies the choice of a device font when the system contains multiple fonts with the same name. -
OUT_RASTER_PRECIS
A value that specifies the choice of a rasterized font when the system contains multiple fonts with the same name. -
OUT_TT_ONLY_PRECIS
A value that specifies the requirement for only TrueType fonts. If there are no TrueType fonts installed in the system, default behavior is specified. -
OUT_OUTLINE_PRECIS
A value that specifies the requirement for TrueType and other outline fonts. -
OUT_SCREEN_OUTLINE_PRECIS
A value that specifies a preference for TrueType and other outline fonts. -
OUT_PS_ONLY_PRECIS
A value that specifies a requirement for only PostScript fonts. If there are no PostScript fonts installed in the system, default behavior is specified.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-