# prawn_ex v0.4.0 - Table of Contents

Prawn-style declarative PDF generation for Elixir. Pure Elixir, no Chrome or HTML.

## Pages

- [PrawnEx](readme.md)

## Modules

- [PrawnEx](PrawnEx.md): Prawn-style declarative PDF generation for Elixir.
- [PrawnEx.Chart](PrawnEx.Chart.md): Bar and line charts using drawing primitives (rectangles, lines, text).
- [PrawnEx.Document](PrawnEx.Document.md): Document spec: immutable struct holding options and a list of pages.
- [PrawnEx.Font.TrueType](PrawnEx.Font.TrueType.md): Minimal TrueType (sfnt) parser — just enough metadata to embed a font
in a PDF as a simple /TrueType font with WinAnsi encoding.
- [PrawnEx.Image.JPEG](PrawnEx.Image.JPEG.md): Loads JPEG for PDF embedding. Reads dimensions from SOF0/SOF2 and returns
raw JPEG bytes (embedded as /DCTDecode stream).

- [PrawnEx.Image.PNG](PrawnEx.Image.PNG.md): Decodes PNG (8-bit truecolor RGB or RGBA, non-interlaced) to raw RGB bytes
for PDF embedding (`/DeviceRGB`, `/FlateDecode`).
- [PrawnEx.Layout](PrawnEx.Layout.md): Margin box + vertical flow helpers on top of `PrawnEx`.
- [PrawnEx.Layout.Markup](PrawnEx.Layout.Markup.md): Minimal line-oriented markup → `PrawnEx.Layout` flow blocks (Phase D).
- [PrawnEx.PDF.ContentStream](PrawnEx.PDF.ContentStream.md): Builds PDF content stream bytes from a list of content operations.
- [PrawnEx.PDF.Encoder](PrawnEx.PDF.Encoder.md): Encodes values for PDF output: string escaping, name encoding.

- [PrawnEx.PDF.Objects](PrawnEx.PDF.Objects.md): Builds PDF indirect object definitions (catalog, pages, page, stream).

- [PrawnEx.PDF.Writer](PrawnEx.PDF.Writer.md): Serializes a PrawnEx.Document to PDF 1.4 binary.
- [PrawnEx.Page](PrawnEx.Page.md): Represents a single PDF page with a list of content operations.
- [PrawnEx.Table](PrawnEx.Table.md): Table layout: draws a grid of cells with optional header row.
- [PrawnEx.Text](PrawnEx.Text.md): Text utilities: width estimation and line wrapping for PDF layout.
- [PrawnEx.Units](PrawnEx.Units.md): Unit conversion and standard page sizes for PDF.

