Package-level declarations

PDF document API (classes for accessing document content and meta-data).

Types

Link copied to clipboard
data class Destination(val pageIndex: Int, val type: DestinationType, val left: Float, val top: Float, val width: Float, val height: Float, val zoom: Float)

A destination defines a particular view of a document, consisting of the following items:

Link copied to clipboard

This enumeration defines a particular view of a document, part of a Destination.

Link copied to clipboard

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

Link copied to clipboard
A set of flags specifying which operations shall be permitted when the document is opened with user access.
Link copied to clipboard
Configures options for saving a document.
Link copied to clipboard
Represents a document source which may be a DataProvider or a file Uri.
Link copied to clipboard
interface ImageDocument
An image document.
Link copied to clipboard

Helper class for loading ImageDocument from a DocumentSource.

Link copied to clipboard
Collection of helper methods for working with ImageDocuments.
Link copied to clipboard
data class OutlineElement(val title: String, val color: Int = DEFAULT_COLOR, val style: Int = Typeface.NORMAL, val typeface: Typeface? = Typeface.DEFAULT, val isExpanded: Boolean = false, val action: Action? = null, val pageLabel: String? = null, val children: List<OutlineElement> = emptyList())

A document outline element (or "table of contents entry"), usually the header of a chapter. Outline elements can be retrieved via PdfDocument.getOutline. They can carry an Action and thus allow quick navigation to document pages, or even external resources.

Link copied to clipboard

State to manage if outline elements are expanded or collapsed

Link copied to clipboard

Enum of the possible page bindings deciding how the document will be displayed.

Link copied to clipboard
enum PdfBox
Types of supported PDF page boxes.
Link copied to clipboard
interface PdfDocument
A PDF document.
Link copied to clipboard
Provides methods to obtain PdfDocument instances.
Link copied to clipboard
class PdfValue
This represents a value stored inside a PDF document stream.
Link copied to clipboard
PDF versions supported by Nutrient.