Package-level declarations
Types
Link copied to clipboard
class ChromiumPdfGeneratorScript(sourcesDirectory: File, out: File, browser: ChromiumWrapper, noSandbox: Boolean = false)
Script-like generator of a PDF from HTML through a Chromium-family browser, driven over the Chrome DevTools Protocol via ChromiumInteraction.
Link copied to clipboard
Exports a PDF from a directory with an index.html root file. This is done via a Chromium-family browser, driven over the Chrome DevTools Protocol.
Link copied to clipboard
data class HtmlPdfExportOptions(val outputDirectory: File, val chromePath: String, val noSandbox: Boolean = false)
Options for exporting PDF files from HTML via ChromiumPdfGeneratorScript.
Link copied to clipboard
class PdfHtmlPostRendererDecorator(postRenderer: HtmlPostRenderer, options: HtmlPdfExportOptions) : PostRenderer
Decorator for HtmlPostRenderer that generates a PDF file from the HTML output via a Chromium-family browser.
Functions
Link copied to clipboard
fun RendererFactory.htmlPdf(context: Context, pdfOptions: HtmlPdfExportOptions, htmlOptions: HtmlExportOptions): RenderingComponents
The HTML-PDF rendering plug-in produces a PDF document from the HTML output of com.quarkdown.rendering.html.extension.html. The outcome is 1:1 with what would be displayed in a Chrome browser.