diff --git a/src/lib/form-templates.ts b/src/lib/form-templates.ts index c062681..c33493b 100644 --- a/src/lib/form-templates.ts +++ b/src/lib/form-templates.ts @@ -44,6 +44,28 @@ export interface FormTemplateConfig { showCertifiedMail?: boolean; /** Header label for the certified-mail line. */ certifiedMailLabel?: string; + /** Letterhead (header) shown at the top of letters. Lines support `\n` and `{{firm.*}}` tokens. */ + letterhead?: string; + /** Letterhead alignment. */ + letterheadAlign?: "left" | "center" | "right"; + /** Letterhead font size in points. */ + letterheadFontSizePt?: number; + /** Show the firm logo above/with the letterhead. */ + showLogo?: boolean; + /** Logo placement relative to the letterhead text block. */ + logoPosition?: "above-center" | "above-left" | "left" | "right" | "none"; + /** Logo width in points. Height auto-scales to keep aspect ratio. */ + logoWidthPt?: number; + /** Show a horizontal rule below the letterhead. */ + letterheadRule?: boolean; + /** Footer text shown at the bottom of every page. Supports `\n` and `{{firm.*}}` tokens. */ + footer?: string; + /** Footer alignment. */ + footerAlign?: "left" | "center" | "right"; + /** Footer font size in points. */ + footerFontSizePt?: number; + /** Show a horizontal rule above the footer. */ + footerRule?: boolean; } export const FORM_LABELS: Record = {