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.
16 lines (15 loc) • 655 B
TypeScript
import { QuestionHtmlModel } from 'survey-core';
import { IPoint } from '../doc_controller';
import { FlatQuestion } from './flat_question';
import { IPdfBrick } from '../pdf_render/pdf_brick';
import { IQuestionHtmlStyle } from '../style/types';
export type IHTMLRenderType = 'auto' | 'standard' | 'image';
export declare class FlatHTML extends FlatQuestion<QuestionHtmlModel, IQuestionHtmlStyle> {
private chooseRender;
protected get correctHtmlRules(): Array<{
searchRegExp: RegExp;
replaceString: string;
}>;
protected correctHtml(html: string): string;
generateFlatsContent(point: IPoint): Promise<IPdfBrick[]>;
}