| Constructor and Description |
|---|
BookmarksImpl(BookmarksTables bookmarksTables) |
| Modifier and Type | Method and Description |
|---|---|
Bookmark |
getBookmark(int index) |
java.util.List<Bookmark> |
getBookmarksAt(int startCp) |
int |
getBookmarksCount() |
java.util.Map<java.lang.Integer,java.util.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 java.util.List<Bookmark> getBookmarksAt(int startCp)
public int getBookmarksCount()
getBookmarksCount in interface BookmarksBookmarks in documentpublic java.util.Map<java.lang.Integer,java.util.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 The Apache Software Foundation or its licensors, as applicable.