survey-pdf
Version:
Renders JSON-driven SurveyJS forms and their responses as PDF documents in the browser or Node.js: fillable interactive PDF forms (AcroForm) or static printouts.
15 lines (14 loc) • 712 B
TypeScript
import { PDFFormFillerBase } from './forms-base';
/**
* A plugin that enables you to fill interactive fields in existing PDF forms.
*
* This plugin requires a third-party library, such as [`pdf-lib`](https://pdf-lib.js.org/) or [PDF.js](https://mozilla.github.io/pdf.js/):
*
* [View pdf-lib Demo](https://surveyjs.io/pdf-generator/examples/map-survey-responses-to-pdf-fields-using-pdflib/ (linkStyle))
*
* [View PDF.js Demo](https://surveyjs.io/pdf-generator/examples/fill-in-pdf-form-fields-with-dynamic-survey-data-using-pdfjs/ (linkStyle))
* @since 2.0.9
*/
export declare class PDFFormFiller extends PDFFormFillerBase {
protected saveToFile(pdfBytes: string, fileName: string): Promise<void>;
}