Enum Class ScriptType

java.lang.Object
java.lang.Enum<ScriptType>
com.independentsoft.office.odf.styles.ScriptType
All Implemented Interfaces:
Serializable, Comparable<ScriptType>, Constable

public enum ScriptType extends Enum<ScriptType>
Represents which script are currently active for a portion of text.
  • Enum Constant Details

    • LATIN

      public static final ScriptType LATIN
      All latin script-dependent attributes are active.
    • ASIAN

      public static final ScriptType ASIAN
      All asian script-dependent attributes are active.
    • COMPLEX

      public static final ScriptType COMPLEX
      All complex script-dependent attributes are active.
    • IGNORE

      public static final ScriptType IGNORE
      All script-dependent attributes are applied to all script types. This is available on default styles only.
    • NONE

      public static final ScriptType NONE
      None.
  • Method Details

    • values

      public static ScriptType[] 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 ScriptType 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