Package org.apache.poi.hwpf.usermodel
Class NotesImpl
java.lang.Object
org.apache.poi.hwpf.usermodel.NotesImpl
- All Implemented Interfaces:
Notes
Default implementation of
Notes interface- Author:
- Sergey Vladimirov (vlsergey {at} gmail {doc} com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetNoteAnchorPosition(int index) Returns the location of note anchor in main textspaceintgetNoteIndexByAnchorPosition(int anchorPosition) Returns index of note (if exists, otherwise -1) with specified anchor positionintReturns count of notes in documentintgetNoteTextEndOffset(int index) Returns the end offset of the text corresponding to the reference within the footnote text address spaceintgetNoteTextStartOffset(int index) Returns the start offset of the text corresponding to the reference within the footnote text address space
-
Constructor Details
-
NotesImpl
-
-
Method Details
-
getNoteAnchorPosition
public int getNoteAnchorPosition(int index) Description copied from interface:NotesReturns the location of note anchor in main textspace- Specified by:
getNoteAnchorPositionin interfaceNotes
-
getNoteIndexByAnchorPosition
public int getNoteIndexByAnchorPosition(int anchorPosition) Description copied from interface:NotesReturns index of note (if exists, otherwise -1) with specified anchor position- Specified by:
getNoteIndexByAnchorPositionin interfaceNotes
-
getNotesCount
public int getNotesCount()Description copied from interface:NotesReturns count of notes in document- Specified by:
getNotesCountin interfaceNotes
-
getNoteTextEndOffset
public int getNoteTextEndOffset(int index) Description copied from interface:NotesReturns the end offset of the text corresponding to the reference within the footnote text address space- Specified by:
getNoteTextEndOffsetin interfaceNotes
-
getNoteTextStartOffset
public int getNoteTextStartOffset(int index) Description copied from interface:NotesReturns the start offset of the text corresponding to the reference within the footnote text address space- Specified by:
getNoteTextStartOffsetin interfaceNotes
-