Enum Class HwmfFont.WmfFontQuality

java.lang.Object
java.lang.Enum<HwmfFont.WmfFontQuality>
org.apache.poi.hwmf.record.HwmfFont.WmfFontQuality
All Implemented Interfaces:
Serializable, Comparable<HwmfFont.WmfFontQuality>, Constable
Enclosing class:
HwmfFont

public static enum HwmfFont.WmfFontQuality extends Enum<HwmfFont.WmfFontQuality>
The output quality defines how carefully to attempt to match the logical font attributes to those of an actual physical font.
  • Enum Constant Details

    • DEFAULT_QUALITY

      public static final HwmfFont.WmfFontQuality DEFAULT_QUALITY
      Specifies that the character quality of the font does not matter, so DRAFT_QUALITY can be used.
    • DRAFT_QUALITY

      public static final HwmfFont.WmfFontQuality DRAFT_QUALITY
      Specifies that the character quality of the font is less important than the matching of logical attribuetes. For rasterized fonts, scaling SHOULD be enabled, which means that more font sizes are available.
    • PROOF_QUALITY

      public static final HwmfFont.WmfFontQuality PROOF_QUALITY
      Specifies that the character quality of the font is more important than the matching of logical attributes. For rasterized fonts, scaling SHOULD be disabled, and the font closest in size SHOULD be chosen.
    • NONANTIALIASED_QUALITY

      public static final HwmfFont.WmfFontQuality NONANTIALIASED_QUALITY
      Specifies that anti-aliasing SHOULD NOT be used when rendering text.
    • ANTIALIASED_QUALITY

      public static final HwmfFont.WmfFontQuality ANTIALIASED_QUALITY
      Specifies that anti-aliasing SHOULD be used when rendering text, if the font supports it.
    • CLEARTYPE_QUALITY

      public static final HwmfFont.WmfFontQuality CLEARTYPE_QUALITY
      Specifies that ClearType anti-aliasing SHOULD be used when rendering text, if the font supports it. Fonts that do not support ClearType anti-aliasing include type 1 fonts, PostScript fonts, OpenType fonts without TrueType outlines, rasterized fonts, vector fonts, and device fonts.
  • Method Details

    • values

      public static HwmfFont.WmfFontQuality[] 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

      public static HwmfFont.WmfFontQuality valueOf(String name)
      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 name
      NullPointerException - if the argument is null