Package org.docx4j.wml
Enum STTheme
java.lang.Object
java.lang.Enum<STTheme>
org.docx4j.wml.STTheme
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<STTheme>,java.lang.constant.Constable
public enum STTheme extends java.lang.Enum<STTheme>
Java class for ST_Theme.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_Theme">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="majorEastAsia"/>
<enumeration value="majorBidi"/>
<enumeration value="majorAscii"/>
<enumeration value="majorHAnsi"/>
<enumeration value="minorEastAsia"/>
<enumeration value="minorBidi"/>
<enumeration value="minorAscii"/>
<enumeration value="minorHAnsi"/>
</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 MAJOR_ASCIIMajor ASCII Theme FontMAJOR_BIDIMajor Complex Script Theme FontMAJOR_EAST_ASIAMajor East Asian Theme FontMAJOR_H_ANSIMajor High ANSI Theme FontMINOR_ASCIIMinor ASCII Theme FontMINOR_BIDIMinor Complex Script Theme FontMINOR_EAST_ASIAMinor East Asian Theme FontMINOR_H_ANSIMinor High ANSI Theme Font -
Method Summary
Modifier and Type Method Description static STThemefromValue(java.lang.String v)java.lang.Stringvalue()static STThemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static STTheme[]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
-
MAJOR_EAST_ASIA
Major East Asian Theme Font -
MAJOR_BIDI
Major Complex Script Theme Font -
MAJOR_ASCII
Major ASCII Theme Font -
MAJOR_H_ANSI
Major High ANSI Theme Font -
MINOR_EAST_ASIA
Minor East Asian Theme Font -
MINOR_BIDI
Minor Complex Script Theme Font -
MINOR_ASCII
Minor ASCII Theme Font -
MINOR_H_ANSI
Minor High ANSI Theme Font
-
-
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
-