PHPOffice / PHPWord

A pure PHP library for reading and writing word processing documents
https://phpoffice.github.io/PHPWord/
Other
7.22k stars 2.69k forks source link

Consider Snappy for HTML-to-PDF conversion #847

Open ghost opened 8 years ago

ghost commented 8 years ago

Suggested here.

To do: compare quality of HTML-to-PDF conversion against DomPDF and MPDF. If better, support Snappy in PHPWord.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36495432-consider-snappy-for-html-to-pdf-conversion?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github).
rvanlaak commented 8 years ago

Snappy also allows you to create thumbnails and stuff, I think you can also only suggest using the wkhtmltopdf library and write an adapter for that. Their binary and a html file are enough to create a slick PDF (with css3 support :rocket:)