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.

PdfLoader

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

PdfSandboxHandle

Represents a handle to manage the PDF processing resources.

Classes

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.

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