static PdfDocument |
PdfDocument.fromImage(List<Path> imagesPath,
ImageBehavior imageBehavior,
ChromePdfRenderOptions renderOptions) |
Converts a single image file to an identical PDF document of matching dimensions.
|
static PdfDocument |
PdfDocument.renderHtmlAsPdf(String html,
ChromePdfRenderOptions renderOptions) |
Creates a PDF file from a Html string, and returns it as a PdfDocument .
|
static PdfDocument |
PdfDocument.renderHtmlAsPdf(String html,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials) |
Creates a PDF file from a Html string, and returns it as a PdfDocument .
|
static PdfDocument |
PdfDocument.renderHtmlFileAsPdf(String htmlFilePath,
ChromePdfRenderOptions renderOptions) |
Creates a PDF file from a local Html file, and returns it as a PdfDocument .
|
static PdfDocument |
PdfDocument.renderHtmlFileAsPdf(String htmlFilePath,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials) |
Creates a PDF file from a local Html file, and returns it as a PdfDocument .
|
static PdfDocument |
PdfDocument.renderHtmlFileAsPdf(String htmlFilePath,
String baseUrl,
ChromePdfRenderOptions renderOptions) |
Creates a PDF file from a local Html file, and returns it as a PdfDocument .
|
static PdfDocument |
PdfDocument.renderHtmlFileAsPdf(String htmlFilePath,
String baseUrl,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials) |
Creates a PDF file from a local Html file, and returns it as a PdfDocument .
|
static PdfDocument |
PdfDocument.renderUrlAsPdf(String url,
ChromePdfRenderOptions renderOptions) |
Creates a PDF file from a URL or local file path and returns it as a
PdfDocument .
|
static PdfDocument |
PdfDocument.renderUrlAsPdf(String url,
ChromePdfRenderOptions renderOptions,
ChromeHttpLoginCredentials loginCredentials) |
Creates a PDF file from a URL or local file path and returns it as a
PdfDocument .
|
static PdfDocument |
PdfDocument.renderZipAsPdf(Path zipFilePath,
String mainFile,
ChromePdfRenderOptions renderOptions) |
Creates a PDF file from a local Zip file, and returns it as a PdfDocument .
|