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 Bookmarks
index
- bookmark document indexBookmark
with specified indexpublic int getBookmarksCount()
getBookmarksCount
in interface Bookmarks
Bookmark
s in documentpublic Map<Integer,List<Bookmark>> getBookmarksStartedBetween(int startInclusive, int endExclusive)
getBookmarksStartedBetween
in interface Bookmarks
Map
of bookmarks started in specified range, where key is
start position and value is sorted List
of
Bookmark
Copyright © 2020. All rights reserved.