Java create PDF from template: Apache FOP vs?

apache-fop, java, pdf, xsl-fo

Solution

I recomend you the combination of JODReports and JODConverter. JODReports it's a solution to generate reports from ODT templates, so it is easy to design templates using LibreOffice. Later, you can transform the reports (in format .odt or .doc) to PDF.

Problem

I have to create a pdf from Java, I would like to create it from a template instead of create it using java code ex: ``` document.addLabel("a pdf..") ``` I've seen that I can do it with Apache FOP that use the XSL-FO for the template, does anyone know a free graphical designer for the XSL-FO? I've found just https://www.ecrion.com/Products/XFDesigner/StartTrial.aspx this one. Or are there some alternatives to Apache FOP? Thank you!

Original source