public class PdfConverterExtension extends Object
After document is rendered pass the HTML result to
exportToPdf(OutputStream, String, String, DataHolder)
or exportToPdf(String, String, String, DataHolder)
or exportToPdf(String, String, String, PdfRendererBuilder.TextDirection)
or exportToPdf(OutputStream, String, String, PdfRendererBuilder.TextDirection)
The parsed Markdown text is rendered to HTML then converted to PDF
| Modifier and Type | Field and Description |
|---|---|
static DataKey<com.openhtmltopdf.pdfboxout.PdfRendererBuilder.TextDirection> |
DEFAULT_TEXT_DIRECTION |
| Constructor and Description |
|---|
PdfConverterExtension() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportToPdf(OutputStream os,
String html,
String url,
DataHolder options) |
static void |
exportToPdf(OutputStream os,
String html,
String url,
com.openhtmltopdf.pdfboxout.PdfRendererBuilder.TextDirection defaultTextDirection) |
static void |
exportToPdf(String out,
String html,
String url,
DataHolder options) |
static void |
exportToPdf(String out,
String html,
String url,
com.openhtmltopdf.pdfboxout.PdfRendererBuilder.TextDirection defaultTextDirection) |
public static final DataKey<com.openhtmltopdf.pdfboxout.PdfRendererBuilder.TextDirection> DEFAULT_TEXT_DIRECTION
public static void exportToPdf(String out, String html, String url, DataHolder options)
public static void exportToPdf(String out, String html, String url, com.openhtmltopdf.pdfboxout.PdfRendererBuilder.TextDirection defaultTextDirection)
public static void exportToPdf(OutputStream os, String html, String url, DataHolder options)
public static void exportToPdf(OutputStream os, String html, String url, com.openhtmltopdf.pdfboxout.PdfRendererBuilder.TextDirection defaultTextDirection)
Copyright © 2017. All rights reserved.