androidx.pdf


Interfaces

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.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

EditablePdfDocument

Represents a PDF document that allows for editing.

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.

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

PdfPasswordException

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

Annotations

ExperimentalPdfApi

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