Class XWPFEndnotes

    • Method Detail

      • setEndnotes

        @Internal
        public void setEndnotes​(CTEndnotes endnotes)
        Set the end notes for this part.
        Parameters:
        endnotes - The endnotes to be added.
      • createEndnote

        public XWPFEndnote createEndnote()
        Create a new end note and add it to the document.
        Returns:
        New XWPFEndnote
        Since:
        4.0.0
      • removeFootnote

        public boolean removeFootnote​(int pos)
        Remove the specified footnote if present.
        Parameters:
        pos -
        Returns:
        True if the footnote was removed.
        Since:
        4.0.0
      • getEndnotesList

        public List<XWPFEndnote> getEndnotesList()
        Get the list of XWPFEndnote in the Endnotes part.
        Returns:
        List, possibly empty, of end notes.
      • removeEndnote

        public boolean removeEndnote​(int pos)
        Remove the specified end note if present.
        Parameters:
        pos - Array position of the endnote to be removed
        Returns:
        True if the end note was removed.
        Since:
        4.0.0