Package formflow.library.pdf
Class PdfGenerator
java.lang.Object
formflow.library.pdf.PdfGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionPdfGenerator(SubmissionFieldPreparers submissionFieldPreparers, PdfFieldMapper pdfFieldMapper, PdfMapConfiguration pdfMapConfiguration, PDFBoxFieldFiller pdfBoxFieldFiller) -
Method Summary
Modifier and TypeMethodDescriptiongenerate(String flow, Submission submission) Generates a PdfFile based on Submission data and a certain Form Flow
-
Constructor Details
-
PdfGenerator
public PdfGenerator(SubmissionFieldPreparers submissionFieldPreparers, PdfFieldMapper pdfFieldMapper, PdfMapConfiguration pdfMapConfiguration, PDFBoxFieldFiller pdfBoxFieldFiller)
-
-
Method Details
-
generate
Generates a PdfFile based on Submission data and a certain Form Flow- Parameters:
flow- the form flow we are working withsubmission- the submission we are going to map the data of- Returns:
- A PdfFile which contains the path to the newly created and filled in PDF file.
-