Enum Class LineMode

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

public enum LineMode extends Enum<LineMode>
Represents whether underlining is applied to words only or to portions of text.
  • Enum Constant Details

    • CONTINUOUS

      public static final LineMode CONTINUOUS
      Underlining is applied to words and separating spaces.
    • SKIP_WHITESPACE

      public static final LineMode SKIP_WHITESPACE
      Underlining is not applied to spaces between words.
    • NONE

      public static final LineMode NONE
      None.
  • Method Details

    • values

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