Package org.apache.poi.hwpf.usermodel
Class BookmarksImpl
java.lang.Object
org.apache.poi.hwpf.usermodel.BookmarksImpl
- All Implemented Interfaces:
Bookmarks
Implementation of user-friendly interface for document bookmarks
- Author:
- Sergey Vladimirov (vlsergey {at} gmail {doc} com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBookmark(int index) getBookmarksAt(int startCp) intgetBookmarksStartedBetween(int startInclusive, int endExclusive) voidremove(int index) Remove bookmark from document (but not the bookmark text)
-
Constructor Details
-
BookmarksImpl
-
-
Method Details
-
getBookmark
- Specified by:
getBookmarkin interfaceBookmarks- Parameters:
index- bookmark document index- Returns:
Bookmarkwith specified index
-
getBookmarksAt
-
getBookmarksCount
public int getBookmarksCount()- Specified by:
getBookmarksCountin interfaceBookmarks- Returns:
- count of
Bookmarks in document
-
getBookmarksStartedBetween
- Specified by:
getBookmarksStartedBetweenin interfaceBookmarks- Returns:
Mapof bookmarks started in specified range, where key is start position and value is sortedListofBookmark
-
remove
public void remove(int index) Description copied from interface:BookmarksRemove bookmark from document (but not the bookmark text)
-