.. include:: /Includes.rst.txt .. _feature-1791302087: ================================================== Feature: Export reports with a print layout as PDF ================================================== Description =========== Reports with a print layout can be exported as PDF in addition to CSV and XLSX. The annual leave overview is the first: one block per employee with the figures of each leave account and the approved absences of the year, headed by the company's name and the creation date, in the requester's language. Like every export, the PDF is generated in the background, contains only what the requester may see when it is written and is audited. Impact ====== ``createExport`` accepts the format ``pdf`` and answers 422 with a violation on ``format`` for reports without a print layout. Report definitions say so in ``printLayout``. The package ``web-vision/adsum-reporting`` now requires ``dompdf/dompdf``. .. index:: API, Frontend, package:adsum-reporting