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.
30 lines (29 loc) • 1.31 kB
TypeScript
import { QuestionMatrixDropdownModelBase } from 'survey-core';
import { SurveyPDF } from '../survey';
import { IPoint, DocController } from '../doc_controller';
import { FlatQuestion } from './flat_question';
import { IPdfBrick } from '../pdf_render/pdf_brick';
import { IQuestionMatrixDropdownStyle } from '../style/types';
export declare class FlatMatrixMultiple<T extends QuestionMatrixDropdownModelBase = QuestionMatrixDropdownModelBase, S extends IQuestionMatrixDropdownStyle = IQuestionMatrixDropdownStyle> extends FlatQuestion<T, S> {
protected survey: SurveyPDF;
protected isMultiple: boolean;
constructor(survey: SurveyPDF, question: T, controller: DocController, style: S, isMultiple?: boolean);
private visibleRowsValue;
private get visibleRows();
private cellFlatQuestionHash;
private getFlatQuestion;
private generateFlatsCell;
private get hasDetailPanel();
private ignoreCell;
private getRowLocation;
private generateFlatsRowHorisontal;
private generateFlatsRowVertical;
private getColumnsAvalableWidth;
private calculateColumnWidth;
private generateOneRow;
private generateFlatsRows;
private calculateIsWide;
private getRowsToRender;
private getColCount;
generateFlatsContent(point: IPoint): Promise<IPdfBrick[]>;
}