Class ListLevel

java.lang.Object
org.docx4j.model.listnumbering.ListLevel

public class ListLevel
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    protected class  ListLevel.Counter  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static org.slf4j.Logger log  
    protected boolean startAtUsed  
  • Constructor Summary

    Constructors 
    Constructor Description
    ListLevel​(ListLevel masterCopy)
    Constructor for a ListLevel in an instance definition.
    ListLevel​(Lvl levelNode)
    Constructor for a ListLevel in an abstract definition.
  • Method Summary

    Modifier and Type Method Description
    protected ListLevel.Counter getCounter()  
    java.lang.String getCurrentValueFormatted()
    The current number, formatted using numFmt.
    java.lang.String getCurrentValueUnformatted()  
    java.lang.String getFont()
    Deprecated.
    java.lang.String getID()
    returns the ID of the level
    Lvl getJaxbAbstractLvl()  
    Lvl getJaxbOverrideLvl()  
    java.lang.String getLevelText()
    returns the indicated lvlText value
    NumberFormat getNumFmt()  
    java.math.BigInteger getStartValue()
    start value of that level
    void IncrementCounter()
    increments the current count of list items of that level
    boolean IsBullet()
    returns whether the enumeration type is a bulleted list or not
    void ResetCounter()
    resets the counter to the start value
    void SetOverrides​(Lvl levelNode)
    Get overridden values
    void setStartValue​(java.math.BigInteger startValue)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      protected static org.slf4j.Logger log
    • startAtUsed

      protected boolean startAtUsed
  • Constructor Details

    • ListLevel

      public ListLevel​(Lvl levelNode)
      Constructor for a ListLevel in an abstract definition.
    • ListLevel

      public ListLevel​(ListLevel masterCopy)
      Constructor for a ListLevel in an instance definition.
  • Method Details

    • getJaxbAbstractLvl

      public Lvl getJaxbAbstractLvl()
    • getJaxbOverrideLvl

      public Lvl getJaxbOverrideLvl()
    • getCounter

      protected ListLevel.Counter getCounter()
    • SetOverrides

      public void SetOverrides​(Lvl levelNode)
      Get overridden values
      Parameters:
      levelNode -
    • getID

      public java.lang.String getID()
      returns the ID of the level
      Returns:
    • setStartValue

      public void setStartValue​(java.math.BigInteger startValue)
    • getStartValue

      public java.math.BigInteger getStartValue()
      start value of that level
      Returns:
    • getCurrentValueFormatted

      public java.lang.String getCurrentValueFormatted()
      The current number, formatted using numFmt.
    • getCurrentValueUnformatted

      public java.lang.String getCurrentValueUnformatted()
    • IncrementCounter

      public void IncrementCounter()
      increments the current count of list items of that level
    • ResetCounter

      public void ResetCounter()
      resets the counter to the start value
    • getLevelText

      public java.lang.String getLevelText()
      returns the indicated lvlText value
      Returns:
    • getFont

      @Deprecated public java.lang.String getFont()
      Deprecated.
      returns the font name
      Returns:
    • getNumFmt

      public NumberFormat getNumFmt()
    • IsBullet

      public boolean IsBullet()
      returns whether the enumeration type is a bulleted list or not
      Returns: