Generate PDF/DOCX Documents from Templates with Docmosis
Generating PDF or DOCX documents is often a critical feature of business software applications. Laying out the documents and styling them to achieve a professional appearance can be challenging, especially if you have data that runs over multiple pages. This module allows you to add template based document generation to your Mendix app using Docmosis:
- Create templates, using the well-known WYSIWYG editors Microsoft Word or LibreOffice Writer.
- Add simple plain-text placeholders for all dynamic content.
- Insert: text/images/tables; conditionally add/remove content; loop over repeating data; perform calculations; format dates/numbers and more.
- Leverage these richly featured editors to control: page size/margins; header/footers; layout tables and images; control numbered/bullet lists; add page numbering or table of contents.
- Merge data from your Mendix application with the template to generate your document.
- Output the final documents as PDF, DOCX, ODT, TXT.
This module simplifies generating documents from your Mendix app by using the Docmosis Cloud document generation service.
You will need a Docmosis Cloud Account to use this module.
You have complete control over where your templates are stored and where processing occurs. Choose from processing locations in the USA, EU and Asia/Pacific regions to ensure low latency and geo-bound processing.
Security and Reliability
We understand that Security and Reliability are essential. Below is a summary of our Cloud Security Measures:
- Load balanced, high-performance, redundant, geographically distributed and monitored 24/7.
- Over 99.99% uptime consistently for over 7 years.
- All communication with the Docmosis Cloud is SSL encrypted and templates and other uploaded content are stored encrypted at rest.
This Mendix module simplifies generating documents from your app using Docmosis. It is a wrapper around the Docmosis Cloud service. The module handles all web service complexity so you don't have to be an expert on that and you can focus on generating documents.
In the GitHub repository you will find a project with some showcases and feel free to copy it to your own project or use it as inspiration. The author of the module uses it to test the module.
The module depends on module Community Commons.
Where to go next?
The module is published with an Apache v2 open source license. We will do our best to support your use and integration of this module.