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 Bookmarks
index
- bookmark document indexBookmark
with specified indexpublic java.util.List<Bookmark> getBookmarksAt(int startCp)
public int getBookmarksCount()
getBookmarksCount
in interface Bookmarks
Bookmark
s in documentpublic java.util.Map<java.lang.Integer,java.util.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 2021 The Apache Software Foundation or its licensors, as applicable.