An open API service indexing awesome lists of open source software.

https://github.com/jdiehl/mx-html2pdf


https://github.com/jdiehl/mx-html2pdf

mendix

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Mendix Module - HTML2PDF

This module provides a JS Action that converts an HTML Container into a downloadable PDF.

## Usage

1. Create a Nanoflow
2. Add the MakePDF Action
3. Configure the Action:

Target: The class of the container that should be converted into a PDF (must be unique!)
Filename: The filename used for the downlaoded PDF
Orientation: Landscape or Portrait
Format: PDF (to create a pure pdf) or PNG/JPEG (to create an image)

## Notes

* The module uses [jsPDF](https://github.com/MrRio/jsPDF) and [HTML2Canvas](https://html2canvas.hertzen.com)
* CSS Transforms are not supported in pure PDFs, use PNG or JPEG instead