Implement PDF export with XHTML and paged CSS
- Mentor(s)
- Estimated workload
2-3 man months
- Details
Currently, the PDF export of XWiki is implemented based on XSL-FO and transformation of XHTML to FO. This poses a couple of problems, mainly related to the current level of support of FO from libraries implementing FO to PDF transformation, as well as the limitations of automatized transformation of XHTML to FO. The problems are mainly related to styling limitations, auto-layouting, etc.
The idea is to try to replace this with a pure XHTML & CSS (paged CSS) export, using an open source library for producing PDFs out of this.
This is only the first step of this project, the next steps being to validate that all customisation that is currently possible on the PDF export will remain possible with the new tool, and explore the new capabilities of the export (once ported to the new technology), build tools for it, etc.
See:
- http://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Configuration/#HCustomizingthePDFexportLook26Feel
- https://www.w3.org/TR/css3-page/
- https://github.com/flyingsaucerproject/flyingsaucer (or equivalent tool)
- notable issue https://jira.xwiki.org/browse/XWIKI-5627 (and its related issues)
- Developer profile
Basic to medium Java knowledge, Good knowledge of XHTML and CSS. Knowledge, experience or interest in with document preparation systems is useful. Passionate about completitude and details.
- Active
- Yes
- Year
2019
- Status
Proposed