Bookmark

open class Bookmark : Comparable<T>

Represents a bookmark in a PDF document.

Constructors

Link copied to clipboard
constructor(@IntRange(from = 0) pageIndex: Int)
Creates a new bookmark pointing to a page with generated UUID.
constructor(@Nullable name: String, @IntRange(from = 0) pageIndex: Int)
Creates a new bookmark pointing to a page with generated UUID.
constructor(@NonNull uuid: String, @Nullable name: String, @IntRange(from = 0) pageIndex: Int)
Creates a new bookmark pointing to a page.

Properties

Link copied to clipboard
open val isDirty: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Handles sorting of this bookmark.
Link copied to clipboard

Functions

Link copied to clipboard
open fun clearDirty()
Marks bookmark not dirty.
Link copied to clipboard
open fun compareTo(@Nullable bookmark: Bookmark): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun setSortKey(sortKey: Int)
Sets an integer to determine bookmark sort order.
Link copied to clipboard
open fun toString(): String