Class NotesImpl

java.lang.Object
org.apache.poi.hwpf.usermodel.NotesImpl
All Implemented Interfaces:
Notes

public class NotesImpl extends Object implements Notes
Default implementation of Notes interface
Author:
Sergey Vladimirov (vlsergey {at} gmail {doc} com)
  • Constructor Details

    • NotesImpl

      public NotesImpl(NotesTables notesTables)
  • Method Details

    • getNoteAnchorPosition

      public int getNoteAnchorPosition(int index)
      Description copied from interface: Notes
      Returns the location of note anchor in main textspace
      Specified by:
      getNoteAnchorPosition in interface Notes
    • getNoteIndexByAnchorPosition

      public int getNoteIndexByAnchorPosition(int anchorPosition)
      Description copied from interface: Notes
      Returns index of note (if exists, otherwise -1) with specified anchor position
      Specified by:
      getNoteIndexByAnchorPosition in interface Notes
    • getNotesCount

      public int getNotesCount()
      Description copied from interface: Notes
      Returns count of notes in document
      Specified by:
      getNotesCount in interface Notes
    • getNoteTextEndOffset

      public int getNoteTextEndOffset(int index)
      Description copied from interface: Notes
      Returns the end offset of the text corresponding to the reference within the footnote text address space
      Specified by:
      getNoteTextEndOffset in interface Notes
    • getNoteTextStartOffset

      public int getNoteTextStartOffset(int index)
      Description copied from interface: Notes
      Returns the start offset of the text corresponding to the reference within the footnote text address space
      Specified by:
      getNoteTextStartOffset in interface Notes