stable

Clone or download

Read-only

feat: artidoc supports headers and footers in pdf exports

Part of story #38630: Export to file How to test: - Pick up a template with custom headers and footers - Pick up an artidoc document - Export it using the selected template --> The document is properly displayed --> It has headers and footers on each page Change-Id: I08e3f3ddecb9b14683a8e94b6df0830b5643b11a

Modified Files

Name
M lib/frontend/print-as-pdf/src/print-as-pdf.ts +2 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.test.ts +16 −40 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.vue +11 −8 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/print/PrinterVersion.vue +58 −18 Go to diff View file
R plugins/artidoc/scripts/artidoc/src/pdf-templates-injection-key.ts Go to diff View file
M plugins/artidoc/scripts/artidoc/src/index.ts +5 −2 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/stores/pdf-templates-store.test.ts +44 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/stores/pdf-templates-store.ts +47 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/initiate-print-preview.ts +2 −0 Go to diff View file