| Constructor and Description |
|---|
BookmarksImpl(BookmarksTables bookmarksTables) |
| Modifier and Type | Method and Description |
|---|---|
Bookmark |
getBookmark(int index) |
List<Bookmark> |
getBookmarksAt(int startCp) |
int |
getBookmarksCount() |
Map<Integer,List<Bookmark>> |
getBookmarksStartedBetween(int startInclusive,
int endExclusive) |
void |
remove(int index)
Remove bookmark from document (but not the bookmark text)
|
public BookmarksImpl(BookmarksTables bookmarksTables)
public Bookmark getBookmark(int index)
getBookmark in interface Bookmarksindex - bookmark document indexBookmark with specified indexpublic int getBookmarksCount()
getBookmarksCount in interface BookmarksBookmarks in documentpublic Map<Integer,List<Bookmark>> getBookmarksStartedBetween(int startInclusive, int endExclusive)
getBookmarksStartedBetween in interface BookmarksMap of bookmarks started in specified range, where key is
start position and value is sorted List of
BookmarkCopyright © 2020. All rights reserved.