opensagres / xdocreport

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
https://github.com/opensagres/xdocreport
1.22k stars 372 forks source link

white space inside if #288

Open lvalladares opened 6 years ago

lvalladares commented 6 years ago

I'm using xdocreport 1.0.6 with freemarker and i have a page of the template inside an if condition because i only want to show that info if the context vars meet some criteria.

This works fine, but when the criteria is not meeted the page is still showing but in blank, this means i have one blank empty page in my document.

Its like MS Word keeps the place where the information should be but in blank, i think this is a bug, if the info inside a if condition shouldnt be showed the space also should be ignored and not a big empty space.

angelozerr commented 6 years ago

Please try with last version of XDocReport 2.0.1

nicolasfaure988 commented 6 months ago

Any news about this one?