Interface Notes

All Known Implementing Classes:
NotesImpl

public interface Notes
User-friendly interface to access document notes information
Author:
Sergey Vladimirov (vlsergey {at} gmail {doc} com)
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the location of note anchor in main textspace
    int
    getNoteIndexByAnchorPosition(int anchorPosition)
    Returns index of note (if exists, otherwise -1) with specified anchor position
    int
    Returns count of notes in document
    int
    Returns the end offset of the text corresponding to the reference within the footnote text address space
    int
    Returns the start offset of the text corresponding to the reference within the footnote text address space
  • Method Details

    • getNoteAnchorPosition

      int getNoteAnchorPosition(int index)
      Returns the location of note anchor in main textspace
    • getNotesCount

      int getNotesCount()
      Returns count of notes in document
    • getNoteIndexByAnchorPosition

      int getNoteIndexByAnchorPosition(int anchorPosition)
      Returns index of note (if exists, otherwise -1) with specified anchor position
    • getNoteTextEndOffset

      int getNoteTextEndOffset(int index)
      Returns the end offset of the text corresponding to the reference within the footnote text address space
    • getNoteTextStartOffset

      int getNoteTextStartOffset(int index)
      Returns the start offset of the text corresponding to the reference within the footnote text address space