PrawnEx.PDF.Writer (prawn_ex v0.3.0)

Copy Markdown View Source

Serializes a PrawnEx.Document to PDF 1.4 binary.

Allocates object IDs, builds catalog → pages → page(s) → content stream(s), then emits body + xref + trailer.

Summary

Functions

Converts a Document to PDF binary.

Functions

write(document)

@spec write(PrawnEx.Document.t()) :: binary()

Converts a Document to PDF binary.