nmrf / sadata

Samoa's Human Rights National Mechanism for Reporting and Follow-up (NMRF) - Client-side application
Other
0 stars 0 forks source link

Print and export search results and custom views #42

Open tmfrnz opened 4 years ago

tmfrnz commented 4 years ago

From the TOR: "Additional functionality to enable search results and sections of the national implementation plan to be printed and exported to pdf"

We recommend leveraging the built-in browser export functionality (rather than setting up a dedicated print server):

Most browsers and operating systems offer a print and export function to export the content that is in view. Currently, Sadata or the IMPACT OSS platform, does not yet support print-specific rendering. Therefore, the task would be to specify style rules for printing that would use and optimise the already existing online-layout that is shown in the online version. Also it would require the addition of a print/export button to the current User Interface.

This basic option would require a lot less effort as we only tweak the existing client-side code. However, the resulting documents could differ slightly from browser to browser and operating system to operating system.