Class EndnoteProperties

java.lang.Object
com.independentsoft.office.word.footnoteEndnote.EndnoteProperties

public class EndnoteProperties extends Object
The Class EndnoteProperties.
  • Constructor Details

    • EndnoteProperties

      public EndnoteProperties()
      Instantiates a new endnote properties.
    • EndnoteProperties

      public EndnoteProperties(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new endnote properties.
      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the xML stream exception
  • Method Details

    • clone

      public EndnoteProperties clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEmpty

      public static boolean isEmpty(String value)
      Checks if is empty.
      Parameters:
      value - the value
      Returns:
      true, if is empty
    • getNumberingFormat

      public NumberingFormat getNumberingFormat()
      Gets the numbering format.
      Returns:
      the numbering format
    • setNumberingFormat

      public void setNumberingFormat(NumberingFormat numberingFormat)
      Sets the numbering format.
      Parameters:
      numberingFormat - the new numbering format
    • getRestartNumber

      public RestartNumber getRestartNumber()
      Gets the restart number.
      Returns:
      the restart number
    • setRestartNumber

      public void setRestartNumber(RestartNumber restartNumber)
      Sets the restart number.
      Parameters:
      restartNumber - the new restart number
    • getStartNumber

      public long getStartNumber()
      Gets the start number.
      Returns:
      the start number
    • setStartNumber

      public void setStartNumber(long startNumber)
      Sets the start number.
      Parameters:
      startNumber - the new start number
    • getPlacement

      public EndnotePositioningLocation getPlacement()
      Gets the placement.
      Returns:
      the placement
    • setPlacement

      public void setPlacement(EndnotePositioningLocation placement)
      Sets the placement.
      Parameters:
      placement - the new placement
    • getSeparatorReferenceIds

      public List<Long> getSeparatorReferenceIds()
      Gets the document-level separator reference ids (<w:endnote w:id="..."/> children of the settings endnotePr: id -1 = separator, 0 = continuation separator).
      Returns:
      the separator reference ids
    • setSeparatorReferenceIds

      public void setSeparatorReferenceIds(List<Long> separatorReferenceIds)
      Sets the document-level separator reference ids (<w:endnote w:id="..."/> children of the settings endnotePr: id -1 = separator, 0 = continuation separator).
      Parameters:
      separatorReferenceIds - the new separator reference ids