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.
18 lines (17 loc) • 656 B
TypeScript
import { SurveyPDF } from '../survey';
import { DocController } from '../doc_controller';
import { IPdfBrick } from '../pdf_render/pdf_brick';
import { ISurveyStyle } from '../style/types';
export interface IFlatSurvey {
generateFlats(): Promise<IPdfBrick[][]>;
}
export declare class FlatSurvey implements IFlatSurvey {
protected survey: SurveyPDF;
protected controller: DocController;
protected style: ISurveyStyle;
private popRowlines;
constructor(survey: SurveyPDF, controller: DocController, style: ISurveyStyle);
private generateFlatTitle;
private generateFlatLogoImage;
generateFlats(): Promise<IPdfBrick[][]>;
}