n8n-nodes-doc-fill-handwritten-finalyy
Version:
Custom n8n node to fill PDF forms with handwritten.ttf font
19 lines (18 loc) • 606 B
TypeScript
import { IBinaryData } from "n8n-workflow";
import { PDFPage } from "pdf-lib";
declare const isPDFDocument: (data: IBinaryData) => boolean;
interface DocCreateFieldConfig {
page: number;
value: string;
options: {
x: number;
y: number;
size: number | undefined;
opacity: number | undefined;
colorRed: number | undefined;
colorGreen: number | undefined;
colorBlue: number | undefined;
};
}
declare const createField: (pdfPage: PDFPage, config: DocCreateFieldConfig) => void;
export { isPDFDocument, createField, DocCreateFieldConfig };