Enum STLineNumberRestart

java.lang.Object
java.lang.Enum<STLineNumberRestart>
org.docx4j.wml.STLineNumberRestart
All Implemented Interfaces:
Serializable, Comparable<STLineNumberRestart>, java.lang.constant.Constable

public enum STLineNumberRestart extends Enum<STLineNumberRestart>

Java class for ST_LineNumberRestart.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ST_LineNumberRestart">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="newPage"/>
     <enumeration value="newSection"/>
     <enumeration value="continuous"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • NEW_PAGE

      public static final STLineNumberRestart NEW_PAGE
      Restart Line Numbering on Each Page
    • NEW_SECTION

      public static final STLineNumberRestart NEW_SECTION
      Restart Line Numbering for Each Section
    • CONTINUOUS

      public static final STLineNumberRestart CONTINUOUS
      Continue Line Numbering From Previous Section
  • Method Details

    • values

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

      public static STLineNumberRestart valueOf(String name)
      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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static STLineNumberRestart fromValue(String v)