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.
9 lines (8 loc) • 428 B
TypeScript
import { ITheme } from 'survey-core';
import { IDocStyle } from './types';
import { IDocLayout } from '../layouts/types';
export declare function createStyleFromTheme<T>(theme: ITheme, layout: IDocLayout, callback: (options: {
getColorVariable: (varName: string) => string;
getSizeVariable: (varName: string) => number;
}) => T): T;
export declare function getDefaultStyle(theme: ITheme, layout: IDocLayout): IDocStyle;