survey-pdf
Version:
survey.pdf.js is a SurveyJS PDF Library. It is a easy way to export SurveyJS surveys to PDF. It uses JSON for survey metadata.
14 lines (13 loc) • 696 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))
*/
export declare class PDFFormFiller extends PDFFormFillerBase {
protected saveToFile(pdfBytes: string, fileName: string): Promise<void>;
}