View Source API Reference ExPDF v1.0.1
Modules
The missing PDF library for Elixir.
Declarative PDF builder from template lists.
A list of predefined colors you can use
Layout helpers for positioning content in PDF documents.
Native PDF reader — opens a PDF binary or file path and provides pure-functional access to text runs with positions, raster images, document metadata, interactive form fields, document outlines (bookmarks), and page annotations. No GenServer, no mutable state; the reader is a fully lazy, immutable pipeline.
Adobe Glyph List (AGL) — compile-time glyph name to Unicode codepoint lookup.
AcroForm field walker for Pdf.Reader.
Represents a single annotation extracted from a PDF page.
Walker for per-page /Annots arrays.
Adobe-CNS1 CID to Unicode mapping (~18000 entries).
Adobe-GB1 CID to Unicode mapping (~28000 entries).
Adobe-Japan1 CID to Unicode mapping (~9600 entries).
Adobe-Korea1 CID to Unicode mapping (~17000 entries).
Parser and lookup for the PDF /CIDToGIDMap entry in Type2 CIDFont dicts.
Minimal PostScript subset parser for Adobe predefined CMap files.
Variable-length codespace-aware tokenizer for predefined CMap byte sequences.
CID font decoder for Type0/Identity-H and Identity-V composite fonts.
Lazy loader and lookup for Adobe predefined CMaps bundled in priv/cmap/.
Parser for the ToUnicode CMap subset used in PDF fonts.
PDF content stream interpreter for text and image extraction.
Destination resolution for outline and annotation /Dest values.
Struct representing an open PDF document in the reader.
Encoding cascade facade for resolving PDF character codes to Unicode codepoints.
Applies a PDF /Differences array on top of a base encoding override map.
Mac OS Roman (MacRomanEncoding) byte-to-Unicode codepoint table.
PDF Standard Encoding — byte-to-Unicode codepoint table.
WinAnsi (Windows-1252 / CP1252) encoding — read direction.
Facade module for PDF Standard Security Handler authentication and decryption.
Derives the per-object encryption key used for V1, V2, and V4 Standard Security Handler streams and strings.
Provides the canonical 32-byte PDF password-padding constant and a helper to pad (or truncate) an arbitrary password binary to exactly 32 bytes.
Parses the PDF /Encrypt dictionary into a %StandardHandler{} struct.
Implements PDF Standard Security Handler algorithms for V1 (RC4-40) and V2 (RC4-128) — revisions R=2 and R=3/4.
Implements PDF Standard Security Handler algorithms for V4 (Crypt Filters + AES-128 CBC) — revision R=4.
Implements PDF Standard Security Handler algorithms for V5/R6 (AES-256, PDF 2.0). R=5 (deprecated Acrobat X beta variant) is explicitly rejected.
Exception raised by bang variants of Pdf.Reader functions.
Documents the full reason set returned in {:error, reason} from Pdf.Reader.
PDF stream filter pipeline — behaviour definition and apply_chain dispatcher.
ASCII85Decode filter — decodes ASCII base-85 encoded data to binary.
ASCIIHexDecode filter — decodes a sequence of hexadecimal digit pairs to a binary.
FlateDecode filter — zlib inflate, with optional PNG and TIFF predictor un-filtering.
LZWDecode filter — decodes LZW compressed data as specified in PDF §7.4.4.
RunLengthDecode filter — decodes PackBits-style run-length encoded data.
Per-font decoder construction for the encoding cascade.
Per-font glyph-width lookup for text advance computation.
Represents a single interactive form field extracted from a PDF AcroForm.
Struct and operations for the PDF graphics state during content stream interpretation.
Struct representing an image extracted from a PDF page.
JPEG (DCTDecode) image utilities for Pdf.Reader.
PNG-like image decoding for Pdf.Reader.
PDF binary tokenizer.
Logical text line reconstructed from individual TextRuns.
Lazy indirect-object resolver with Map-based cache.
Decodes objects embedded in a PDF Object Stream (/Type /ObjStm).
Represents a single node in a PDF document outline (bookmark tree).
Walker for catalog /Outlines (PDF document outline / bookmarks tree).
Page tree walker for Pdf.Reader.
PDF recursive-descent parser.
Unified extraction result returned by Pdf.Reader.read/2.
Per-page slice of the unified extraction result.
Polymorphic struct describing an "interactive" or actionable element extracted from a PDF — currently link-like elements (URIs, emails, intra-document jumps).
Struct representing a single text run extracted from a PDF page.
Locates the startxref byte offset in a PDF binary and parses the
trailer dictionary at a given xref section offset.
Shared utility helpers for Pdf.Reader sub-modules.
XMP RDF/XML metadata parser.
Facade that dispatches to the appropriate xref reader and follows /Prev chains.
Parses a classic PDF cross-reference table (keyword xref).
Parses a PDF 1.5+ compressed cross-reference stream (/Type /XRef).
CSS-like styling system for PDF elements.
Styled table component with CSS-like configuration.
Mix Tasks
Starts a development server for previewing PDF examples.