Package org.cyclos.impl.utils.pdf
Interface PdfHandler
-
- All Known Implementing Classes:
PdfHandlerImpl
public interface PdfHandlerHelper for generating PDF documents
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PdfTemplatenewTemplate(String html)Same asnewTemplate(String, String), but without a custom CSSPdfTemplatenewTemplate(String html, String css)Creates a new template for PDF generation from the given HTML and optional custom CSS.
-
-
-
Method Detail
-
newTemplate
default PdfTemplate newTemplate(String html)
Same asnewTemplate(String, String), but without a custom CSS
-
newTemplate
PdfTemplate newTemplate(String html, String css)
Creates a new template for PDF generation from the given HTML and optional custom CSS. The HTML is actually interpreted by Thymeleaf. Additional setup of thePdfTemplatecan be performed before calling thePdfTemplate.render()method to actually generate the PDF. If the html parameter is actually the name of a report template, reads it instead.
-
-