Package org.apache.poi.hwpf.usermodel
Class NotesImpl
- java.lang.Object
-
- org.apache.poi.hwpf.usermodel.NotesImpl
-
-
Constructor Summary
Constructors Constructor Description NotesImpl(NotesTables notesTables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNoteAnchorPosition(int index)
Returns the location of note anchor in main textspaceint
getNoteIndexByAnchorPosition(int anchorPosition)
Returns index of note (if exists, otherwise -1) with specified anchor positionint
getNotesCount()
Returns count of notes in documentint
getNoteTextEndOffset(int index)
Returns the end offset of the text corresponding to the reference within the footnote text address spaceint
getNoteTextStartOffset(int index)
Returns the start offset of the text corresponding to the reference within the footnote text address space
-
-
-
Constructor Detail
-
NotesImpl
public NotesImpl(NotesTables notesTables)
-
-
Method Detail
-
getNoteAnchorPosition
public int getNoteAnchorPosition(int index)
Description copied from interface:Notes
Returns the location of note anchor in main textspace- Specified by:
getNoteAnchorPosition
in interfaceNotes
-
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 interfaceNotes
-
getNotesCount
public int getNotesCount()
Description copied from interface:Notes
Returns count of notes in document- Specified by:
getNotesCount
in interfaceNotes
-
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 interfaceNotes
-
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 interfaceNotes
-
-