Enum Class LineBreakType

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

public enum LineBreakType extends Enum<LineBreakType>
Represents a set of line breaking rules to use with a text.
  • Enum Constant Details

    • NORMAL

      public static final LineBreakType NORMAL
      Line breaks may occur between arbitrary characters.
    • STRICT

      public static final LineBreakType STRICT
      Line breaks shall not occur before or after implementation defined characters.
    • NONE

      public static final LineBreakType NONE
      None.
  • Method Details

    • values

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