UNPKG

@npoci/pdfform

Version:

Modern PDF form renderer with HTML overlay fields - view, fill, and map PDF forms in the browser

12 lines (11 loc) 652 B
import { PDFLibField, ParsedField, BasicFieldInfo, FieldPosition } from '../../types/base.types'; export declare abstract class BaseFieldParser { abstract canHandle(field: PDFLibField): boolean; abstract parse(field: PDFLibField): ParsedField | null; protected getPosition(field: PDFLibField): FieldPosition; protected getPageHeight(field: PDFLibField, pageNum: number): number; protected getBasicInfo(field: PDFLibField): BasicFieldInfo; protected extractDefaultValue(field: PDFLibField): any; protected hasMethod(field: PDFLibField, methodName: string): boolean; protected getFieldFlags(field: PDFLibField): number; }