dynamic-jasper

jasper text field getting truncated

梦想的初衷 提交于 2019-11-30 13:09:46
I'm having a font issue with my jasper report where one of my more wordy text fields (the last one in a detail band) is getting cut off in the PDF and PDF Preview but not in the Internal Preview. e.g. Internal Preview: Here is a fake description. It fits perfectly, fitting just in the lines. PDF Preview Here is a fake description. It fits perfectly, fitting just in the Jasper is (seemingly) using some algorithm to figure out how tall the field should be, my text is barely fitting, then when the PDF is generated the text wraps and disappears on the next line. I'm not using custom fonts (just

Is it possible to generate reports dynamically using Jasper Reports without generating a jasper for each report?

时光总嘲笑我的痴心妄想 提交于 2019-11-28 17:40:16
I have to generate reports based on various parameters which would be provided dynamically. In certain contexts, the parameters may be null. For example, from the table Person with id , name , age , sex and maritalStatus as fields, I would have to generate reports on married male persons of age 30 . Some other times, it may be required to get married female without considering age . If I use the same jasper for both these cases, the age constraint will be null in second case. Is there any way to manage this condition? Also, is it possible to dynamically specify which all fields should be

Is it possible to generate reports dynamically using Jasper Reports without generating a jasper for each report?

北城以北 提交于 2019-11-27 10:24:34
问题 I have to generate reports based on various parameters which would be provided dynamically. In certain contexts, the parameters may be null. For example, from the table Person with id , name , age , sex and maritalStatus as fields, I would have to generate reports on married male persons of age 30 . Some other times, it may be required to get married female without considering age . If I use the same jasper for both these cases, the age constraint will be null in second case. Is there any way

Font is not available to the JVM with Jasper Reports

北战南征 提交于 2019-11-26 03:22:21
问题 I\'m trying to generate report with DynamicJasper, but I\'m getting the following error: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font \'Arial\' is not available to the JVM. msttcorefonts is installed, but I guess the JVM is not using any fonts from it. I\'m using Ubuntu 10.04. How can I fix this? 回答1: I tried installing mscorefonts, but the package was installed and up-to-date. sudo apt-get update sudo apt-get install ttf-mscorefonts-installer I tried searching for the font