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.
13 lines (12 loc) • 754 B
TypeScript
import { ItemValue, QuestionCheckboxModel, QuestionTagboxModel } from 'survey-core';
import { IPoint } from '../doc_controller';
import { FlatSelectBase } from './flat_selectbase';
import { IPdfBrick } from '../pdf_render/pdf_brick';
import { ISelectionInputStyle, IQuestionCheckboxStyle } from '../style/types';
export declare class FlatCheckbox<T extends QuestionCheckboxModel = QuestionCheckboxModel> extends FlatSelectBase<T, IQuestionCheckboxStyle> {
generateFlatItem(point: IPoint, item: ItemValue, index: number, style: ISelectionInputStyle): IPdfBrick;
generateFlats(point: IPoint): Promise<IPdfBrick[]>;
}
export declare class FlatTagbox extends FlatCheckbox<QuestionTagboxModel> {
protected getVisibleChoices(): Array<ItemValue>;
}