Feature: Export a list as it is shown
Description
A list is exported as it is shown: with its search, filters and sort, its visible columns in their order, all rows or the selected ones, as CSV, XLSX or PDF. The file is written in the background with the scope and the data categories of the requester at that moment and in their language; a column they may not read is left out, whatever was asked for. The PDF is a table in landscape with the company's letterhead, the list's title and the filters applied on every page, and "page n of m" at its foot. The employee lists and the leave requests can be exported.
Impact
create takes list (the list's key, its parameters, columns and selected IDs) instead of
report; an export names exactly one of them. Exports of lists have the type list and name their
list. A package offers the export of its list with an implementation of List (tag
app.) named by the list's registry entry. The PDF renderer of the reporting package takes a layout
for landscape pages and page numbers.