public static void getPdf(OutputStream output, Form form) throws IOException {
PdfResponseWriter writer = new PdfResponseWriter("UTF-8");
writer.startDocumentInternal(output);
FormFillerPdfRenderer renderer = new FormFillerPdfRenderer();
renderer.encodePdf(form, writer.getDocument());
writer.endDocumentInternal();
}
public static void getPdf(OutputStream output, FormData formData, String mode) throws IOException {
PdfResponseWriter writer = new PdfResponseWriter("UTF-8");
writer.startDocumentInternal(output);