n8n-nodes-doc-fill-handwritten-finalyy
Version:
Custom n8n node to fill PDF forms with handwritten.ttf font
13 lines (12 loc) • 469 B
TypeScript
import { IBinaryData } from 'n8n-workflow';
import { PDFForm, PDFFont } from 'pdf-lib';
declare const isPDFDocument: (data: IBinaryData) => boolean;
interface DocFillConfig {
key: string;
value: string;
type: 'textfield' | 'checkbox' | 'dropdown' | 'radiogroup';
xOffset?: number;
yOffset?: number;
}
declare const fillForm: (pdfForm: PDFForm, config: DocFillConfig, customFont?: PDFFont) => void;
export { isPDFDocument, fillForm, DocFillConfig };