Class XWPFListManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static XWPFListManager EMPTY_LIST
      Empty singleton to be used when there is no list manager.
    • Constructor Summary

      Constructors 
      Constructor Description
      XWPFListManager​(org.apache.poi.xwpf.usermodel.XWPFNumbering numbering)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFormattedNumber​(java.math.BigInteger numId, int iLvl)  
      java.lang.String getFormattedNumber​(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_LIST

        public static final XWPFListManager EMPTY_LIST
        Empty singleton to be used when there is no list manager. Always returns empty string.
    • Constructor Detail

      • XWPFListManager

        public XWPFListManager​(org.apache.poi.xwpf.usermodel.XWPFNumbering numbering)
    • Method Detail

      • getFormattedNumber

        public java.lang.String getFormattedNumber​(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
        Parameters:
        paragraph - paragraph
        Returns:
        the formatted number or an empty string if something went wrong
      • getFormattedNumber

        public java.lang.String getFormattedNumber​(java.math.BigInteger numId,
                                                   int iLvl)