Commit Graph
1 Commits
Author SHA1 Message Date
Steffen Becker 0f8bca31cd feat: built-in template gallery with a DIN 5008 letter
lib/templates/: registry + one module per template, localized via t()
at build time. applyTemplate (App.svelte) reuses the extracted
resetDocumentState() from handleNew, then assigns the template's
margins, styles and fold marks; no file handle, so Save asks where.
Gallery dialog reachable from the ribbon File menu and the modern
chrome; first template is a DIN 5008 Form B business letter built from
placeholder fields, with the address field at 45mm and a 10cm info tab.
2026-08-24 16:54:03 +00:00