Enum Class HwmfFont.WmfClipPrecision

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

public static enum HwmfFont.WmfClipPrecision extends Enum<HwmfFont.WmfClipPrecision>
ClipPrecision Flags specify clipping precision, which defines how to clip characters that are partially outside a clipping region. These flags can be combined to specify multiple options.
  • Enum Constant Details

    • CLIP_DEFAULT_PRECIS

      public static final HwmfFont.WmfClipPrecision CLIP_DEFAULT_PRECIS
      Specifies that default clipping MUST be used.
    • CLIP_CHARACTER_PRECIS

      public static final HwmfFont.WmfClipPrecision CLIP_CHARACTER_PRECIS
      This value SHOULD NOT be used.
    • CLIP_STROKE_PRECIS

      public static final HwmfFont.WmfClipPrecision CLIP_STROKE_PRECIS
      This value MAY be returned when enumerating rasterized, TrueType and vector fonts.
    • CLIP_LH_ANGLES

      public static final HwmfFont.WmfClipPrecision CLIP_LH_ANGLES
      This value is used to control font rotation, as follows: If set, the rotation for all fonts SHOULD be determined by the orientation of the coordinate system; that is, whether the orientation is left-handed or right-handed. If clear, device fonts SHOULD rotate counterclockwise, but the rotation of other fonts SHOULD be determined by the orientation of the coordinate system.
    • CLIP_TT_ALWAYS

      public static final HwmfFont.WmfClipPrecision CLIP_TT_ALWAYS
      This value SHOULD NOT be used.
    • CLIP_DFA_DISABLE

      public static final HwmfFont.WmfClipPrecision CLIP_DFA_DISABLE
      This value specifies that font association SHOULD< be turned off.
    • CLIP_EMBEDDED

      public static final HwmfFont.WmfClipPrecision CLIP_EMBEDDED
      This value specifies that font embedding MUST be used to render document content; embedded fonts are read-only.
  • Method Details

    • values

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