public interface

DocumentActionListener

com.pspdfkit.document.DocumentActionListener

Class Overview

Handles PDF actions triggered inside the PDF document - these are usually things like button presses, form submission, etc.

Summary

Public Methods
abstract boolean onExecuteAction(Action action)
Called when PDF action should be executed.

Public Methods

public abstract boolean onExecuteAction (Action action)

Called when PDF action should be executed.

Parameters
action Action that should be executed. One of Action subclasses. Exact type can be checked with getType().
Returns
  • Should true if the action was handled and no further processing should happen. false if default handlers should handle the action.