Package-level declarations
Types
A fully-rendered PDF document, ready to be persisted or transferred.
Functions
Returns the Android implementation of PdfDriverFactory, backed by android.graphics.pdf.PdfDocument.
Returns the platform's default PdfDriverFactory.
Returns the iOS implementation of PdfDriverFactory, backed by UIGraphicsBeginPDFContextToData and Core Graphics.
Returns the JVM / Desktop implementation of PdfDriverFactory, backed by Apache PdfBox.
Web (Kotlin/Wasm) default backend.
Opens this document in a new browser tab using the browser's own PDF viewer (PDFium in Chrome/Edge, PDF.js inside Firefox, Apple's viewer in Safari) — zoom, search, print, and download come for free, which is why PdfKmp ships no embedded viewer for the web target.
Top-level entry point of the PdfKmp DSL. Builds a PDF document and returns it ready for PdfDocument.save or PdfDocument.toByteArray.
Suspend variant of pdf that runs a preflight pass before rendering, resolving every com.conamobile.pdfkmp.node.LazyNode in the document tree. Use this when the DSL contains nodes whose payload is fetched through a suspend API — the typed Res.drawable.X overloads in :pdfkmp-compose-resources are the canonical example.