PDFUtils

Content Type: Module
Categories: Utility

Overview

Handy Java actions when working with PDF files in Mendix!

When to use it?

  • When you want more control over the settings
  • The PDF files will stay in the Mendix environment
  • When the build-in components are not sufficient for your PDF's

What does it contain?

  • Adding page numbering at the footer of the document (text is customizable)
  • Add a watermark to the pages (text, fontsize and text color are customizable)
  • Image compression with setting the quality and the scaling of the image
  • Auto fill form fields within a document
  • Merge a list of PDF's into one document (not limited to an amount of documents)
  • Create password protected files with other security settings for example allow printing or allow modification to the document
  • Retrieve the content from the file as a string with the correct charset
  • Modify the current metadata for example the author or the creation date
  • Remove the entire metadata from the document
  • Split a PDF document in seperated PDF documents
  • Create PNG images from the content of your PDF  document

For who

  • Application managers (change the settings within the application if necessary)
  • Business Engineers

Pricing

It is free and it will stay free forever! :)

Support or suggestions

If you have any issues or suggestions, please reach out to me at c.denbreejen[at]rotterdam.nl

Documentation

Description

This module contains ten java actions with some handy features such as password protecting documents which are currently not (partialy) available in Mendix. These Java actions are build with a lot of configuration options in mind such as setting the text or fontsize of the text.

 

Typical usage scenario

Described in the overview tab.

 

Features and limitations

Described in the overview tab.

 

Dependencies

  • Commons Logging 1.3.0
  • Fontbox 2.0.30
  • PDFBox 2.0.30

 

Installation

  • Install the module from the Mendix marketplace
  • Review the release notes for new/updated depedencies
  • Remove the old dependencies when no longer necessary from the "Userlib" folder

Releases

Version: 1.5.0
Framework Version: 9.24.29
Release Notes: - Updated the module to the latest LTS version - Added the possibility to create PNG images from the content of your PDF files
Version: 1.4.0
Framework Version: 9.24.26
Release Notes: - Every Java action now works with type parameters (also known as generics) instead of the System.FileDocument entity. This allows you to use or copy other members, such as when using the PDF splitter. The Java action itself will check if your provided parameter is a generalization of System.FileDocument; if not, the Java action will throw an exception.
Version: 1.3.0
Framework Version: 9.24.26
Release Notes: - Updated the Mendix version to 9.24.26 (LTS) - Added functionality to split a PDF document into multiple PDF documents
Version: 1.2.0
Framework Version: 9.24.22
Release Notes: - Added support for Mendix 10 - Fixed some Java bugs
Version: 1.1.0
Framework Version: 9.24.20
Release Notes: - Added more detailed documentation to the Java action input's - Update to Mendix version 9.24.20
Version: 1.0.0
Framework Version: 9.24.4
Release Notes: - Initial Release