wkhtmltopdf

HTML to PDF transformation with wkhtmltopdf

Introduction

In some Alfresco implementations, you have to generate documents from metadata. You have a lot of options depending of constraints of the projects from text document to PDF. In my case, I had to generate a printable and exportable document from metadata. So, my idea is to generate an HTML file and to use the transformer from HTML to PDF in Alfresco. In my case, I have to create a document sexy and easy to read. It implies the use of CSS files and here is the result: