Hi Josef, On Jul 1, 2013, at 10:45 AM, jhaimerl <[email protected]> wrote:
Hi,
we want to modify the pdf-export by using a commercial pdf-rendering library. As so far the pdf-export is located in the xwiki-platform-oldcore package, I suppose the reengineering is still pending. Because of that I wanted to ask how is the future strategy for the pdf-export? How can we integrate our pdf-export to be prepared for future modification?
The long term future is to have the PDF export done using the Rendering engine as a Renderer (ie ability to transform XDOM into PDF). I've even started a branch on this at https://github.com/xwiki/xwiki-rendering/tree/itext-pdf-renderer Now this branch is more an experiment at this stage since using iText is very nice but has 2 important drawbacks: PDF styling and exporting HTML (RawBlock with HTML). But even if we don't use iText we could still move our current PDF export code in a Renderer and implement the current pipeline (syntax --> HTML --> PDF, as described at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizi... There's no defined roadmap to do this at this point. Currently you'll need to modify ExportAction.export(). Thanks -Vincent
Thanks and regards,
Josef