Package org.apache.poi.hwmf.record
Enum Class HwmfFont.WmfClipPrecision
- All Implemented Interfaces:
Serializable
,Comparable<HwmfFont.WmfClipPrecision>
,Constable
- Enclosing class:
HwmfFont
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis value SHOULD NOT be used.Specifies that default clipping MUST be used.This value specifies that font association SHOULDinvalid input: '<' be turned off.This value specifies that font embedding MUST be used to render document content; embedded fonts are read-only.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.This value MAY be returned when enumerating rasterized, TrueType and vector fonts.This value SHOULD NOT be used. -
Method Summary
Modifier and TypeMethodDescriptionstatic HwmfFont.WmfClipPrecision
Returns the enum constant of this class with the specified name.static HwmfFont.WmfClipPrecision[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLIP_DEFAULT_PRECIS
Specifies that default clipping MUST be used. -
CLIP_CHARACTER_PRECIS
This value SHOULD NOT be used. -
CLIP_STROKE_PRECIS
This value MAY be returned when enumerating rasterized, TrueType and vector fonts. -
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
This value SHOULD NOT be used. -
CLIP_DFA_DISABLE
This value specifies that font association SHOULDinvalid input: '<' be turned off. -
CLIP_EMBEDDED
This value specifies that font embedding MUST be used to render document content; embedded fonts are read-only.
-
-
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
-