XDocReport is Java API to generate reports from a "template" docx or odt created with MS Word or OpenOffice/LibreOffice and convert it to another format like PDF/XHTML.

XDocReport is Java API to generate reports from a "template" docx or odt created with MS Word or OpenOffice/LibreOffice and convert it to another format like PDF/XHTML.

The docx, odt template uses mergefield/input field with Velocity/Freemarker syntax to manage field value to replace with Java value, loop, condition.

Report generation is the result of the merge between a "template" docx odt and Java context. It's possible to convert the report into PDF/XHTML format.

You can test XDocReport with live demo: