Category Archives: Jaspersoft

JasperReports Oddities #2: Indenting in Crosstabs

The expectation that using the Left Indent or Right Indent facility for your JasperReports Text Field or Static Text to ensure that it is spaced “just so” is perfectly reasonable. Let’s test that theory – just drop in your text field, position it carefully, right align your text and indent by 5 pixels. It looks great in the Studio designer, just what you intended with your indent. And then you press “Preview”, your draft report is generated and … well, it’s no longer indented… Continue reading

JasperReports Server Hyperlink Formatting

This little nugget applies to Jaspersoft 5.6.x and later, and was brought in due to bleeding effects on hyperlink styles in earlier versions.

There are many things you can do directly with styles in JasperReports, and perhaps hyperlink formatting on a field by field basis could be one of them with a lot of effort and some serious code abuse. But really?! You want to set hyperlinks using conditional styles for every field in every report in your server in an effortful way? Feel free, but there’s another method which is much simpler. Continue reading