androidx.pdf


Annotations

ExperimentalPdfApi

Marks declarations that are experimental in the androidx.pdf library.

Interfaces

EditablePdfDocument

Represents a PDF document that allows for editing.

PdfDocument

Represents a PDF document and provides methods to interact with its content.

PdfDocument.BitmapSource

A source for retrieving bitmap representations of PDF pages.

PdfDocument.OnEditAppliedListener

Interface definition for a callback that notifies when an edit is applied using the EditablePdfDocument.applyEdits method.

PdfDocument.OnPdfContentInvalidatedListener

Listener interface for receiving notifications when some regions of the PDF content are invalidated.

PdfLoader

Provides an abstraction for asynchronously opening PDF documents from a Uri.

PdfSandboxHandle

Represents a handle to manage the PDF processing resources.

PdfWriteHandle

Represents a handle for writing the contents of a PDF to a destination.

Classes

EditsDraft

Represents a read-only sequence of draft edit operations for a PDF document.

Highlight

Represents an area that should be highlighted with color.

MutableEditsDraft

A mutable builder for creating a sequence of draft edit operations.

PdfDocument.PageInfo

Represents information about a single page in the PDF document.

PdfDocument.PdfPageContent

Represents the combined text and image content within a single page of a PDF document.

PdfDocument.PdfPageLinks

Represents the links within a single page of a PDF document.

PdfPoint

Represents a point in PDF coordinates, where pageNum indicates a 0-indexed PDF page, and (x, y) indicates a point in PDF points within the page, with the origin existing at the top left corner of the page.

PdfRect

Represents a rectangle in PDF coordinates, where pageNum indicates a PDF page, and left, top, right, and bottom indicate a rect in PDF points within the page, with the origin existing at the top left corner of the page.

R
R.attr
RenderParams

The set of parameters that will be used to render the page of a PDF Document.

SandboxedPdfLoader

A PdfLoader implementation that opens PDF documents through a sandboxed Android service.

Exceptions

PdfEditApplyException

Represents an exception that occurred while applying edits on a PDF document.

PdfPasswordException

Represents the exception thrown when a password is required or an incorrect password is supplied to a protected document