Package org.docx4j.dml
Enum STTextUnderlineType
java.lang.Object
java.lang.Enum<STTextUnderlineType>
org.docx4j.dml.STTextUnderlineType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<STTextUnderlineType>,java.lang.constant.Constable
public enum STTextUnderlineType extends java.lang.Enum<STTextUnderlineType>
Java class for ST_TextUnderlineType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_TextUnderlineType">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="none"/>
<enumeration value="words"/>
<enumeration value="sng"/>
<enumeration value="dbl"/>
<enumeration value="heavy"/>
<enumeration value="dotted"/>
<enumeration value="dottedHeavy"/>
<enumeration value="dash"/>
<enumeration value="dashHeavy"/>
<enumeration value="dashLong"/>
<enumeration value="dashLongHeavy"/>
<enumeration value="dotDash"/>
<enumeration value="dotDashHeavy"/>
<enumeration value="dotDotDash"/>
<enumeration value="dotDotDashHeavy"/>
<enumeration value="wavy"/>
<enumeration value="wavyHeavy"/>
<enumeration value="wavyDbl"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description DASHText Underline Enum ( Dashed )DASH_HEAVYText Underline Enum ( Heavy Dashed )DASH_LONGText Underline Enum ( Long Dashed )DASH_LONG_HEAVYText Underline Enum ( Heavy Long Dashed )DBLText Underline Enum ( Double )DOT_DASHText Underline Enum ( Dot Dash )DOT_DASH_HEAVYText Underline Enum ( Heavy Dot Dash )DOT_DOT_DASHText Underline Enum ( Dot Dot Dash )DOT_DOT_DASH_HEAVYText Underline Enum ( Heavy Dot Dot Dash )DOTTEDText Underline Enum ( Dotted )DOTTED_HEAVYText Underline Enum ( Heavy Dotted )HEAVYText Underline Enum ( Heavy )NONEText Underline Enum ( None )SNGText Underline Enum ( Single )WAVYText Underline Enum ( Wavy )WAVY_DBLText Underline Enum ( Double Wavy )WAVY_HEAVYText Underline Enum ( Heavy Wavy )WORDSText Underline Enum ( Words ) -
Method Summary
Modifier and Type Method Description static STTextUnderlineTypefromValue(java.lang.String v)java.lang.Stringvalue()static STTextUnderlineTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static STTextUnderlineType[]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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
NONE
Text Underline Enum ( None ) -
WORDS
Text Underline Enum ( Words ) -
SNG
Text Underline Enum ( Single ) -
DBL
Text Underline Enum ( Double ) -
HEAVY
Text Underline Enum ( Heavy ) -
DOTTED
Text Underline Enum ( Dotted ) -
DOTTED_HEAVY
Text Underline Enum ( Heavy Dotted ) -
DASH
Text Underline Enum ( Dashed ) -
DASH_HEAVY
Text Underline Enum ( Heavy Dashed ) -
DASH_LONG
Text Underline Enum ( Long Dashed ) -
DASH_LONG_HEAVY
Text Underline Enum ( Heavy Long Dashed ) -
DOT_DASH
Text Underline Enum ( Dot Dash ) -
DOT_DASH_HEAVY
Text Underline Enum ( Heavy Dot Dash ) -
DOT_DOT_DASH
Text Underline Enum ( Dot Dot Dash ) -
DOT_DOT_DASH_HEAVY
Text Underline Enum ( Heavy Dot Dot Dash ) -
WAVY
Text Underline Enum ( Wavy ) -
WAVY_HEAVY
Text Underline Enum ( Heavy Wavy ) -
WAVY_DBL
Text Underline Enum ( Double Wavy )
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value() -
fromValue
-