You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phan...@googlegroups.com
Hi everyone,
I've been working lately on a PDF exporter for HTML presentation frameworks like reveal.js, impress.js and the likes. Given the slide-based / dynamic nature of the Web pages produced by these frameworks, I haven't been able to meet my need with the existing Web page module API. Indeed, it only provides a way to print the Web page into a PDF document while exporting HTML slides consists in printing multiple pages / frames into a single PDF document.
To be able to export a whole slide deck into a single PDF document, I've drafted a new PDF printer module API and I'd like to have feedback whether this is a valid approach and what can be improved to eventually have it merged into PhantomJS out of the box.
This new PDF printer is mainly used in a loop that navigate through all the slides and print each of them and finally write the PDF document. This is achieved in the following JavaScript: