Package-level declarations

Editing action bar / toolbar and supporting classes.

Types

Link copied to clipboard
Base class of all contextual toolbars.
Link copied to clipboard
This view is a component of contextual toolbar.
Link copied to clipboard
This view is a component of contextual toolbar.
Link copied to clipboard

Adapter that wraps DocumentEditingController to implement UndoProvider interface. Used by document editor toolbar to work with UndoRedoToolbarHelper.

Link copied to clipboard
open class MainToolbar : Toolbar
Main toolbar of the com.pspdfkit.ui.PdfActivity.
Link copied to clipboard
Toolbar displayed on text selection.
Link copied to clipboard
This layout is responsible for handling toolbars.
Link copied to clipboard
An interface to be implemented by ToolbarCoordinatorLayout through which other components are enabled to control the toolbar movements, animations, etc.
Link copied to clipboard

Adapter that wraps UndoManager to implement UndoProvider interface. Used by annotation toolbars to work with UndoRedoToolbarHelper.

Link copied to clipboard
interface UndoProvider

Common interface for undo/redo functionality used by UndoRedoToolbarHelper. This interface allows the helper to work with both com.pspdfkit.undo.UndoManager (for annotation toolbars) and com.pspdfkit.ui.special_mode.controller.DocumentEditingController (for document editor) through adapter implementations.

Link copied to clipboard
class UndoRedoToolbarHelper(host: UndoRedoToolbarHelper.UndoRedoToolbarHost, groupId: Int, undoItemId: Int, redoItemId: Int)

Helper class that encapsulates all undo/redo functionality for toolbars. This class handles undo/redo menu item creation, async button state updates, and undo/redo action execution.

Functions

Link copied to clipboard
fun View.applyWindowInsets(left: Boolean = false, top: Boolean = false, right: Boolean = false, bottom: Boolean = false)

This should be used to apply inset to the view to support correct edge to edge behaviour