UNPKG

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) 598 B
import { ITextBrickOptions, TextBrick } from './pdf_text'; import { IRect, DocController } from '../doc_controller'; import { ITextStyle } from '../style/types'; export interface ILinkOptions extends ITextBrickOptions { link: string; readOnlyShowLink: boolean; } export declare class LinkBrick extends TextBrick { options: ILinkOptions; style: ITextStyle; private static readonly SCALE_FACTOR_MAGIC; constructor(controller: DocController, rect: IRect, options: ILinkOptions, style: ITextStyle); renderInteractive(): Promise<void>; renderReadOnly(): Promise<void>; }