DynamicJasper icon indicating copy to clipboard operation
DynamicJasper copied to clipboard

Can't use markup in setTitle (or setSubTitle)

Open chrisknoll opened this issue 7 years ago • 0 comments

If i want to put a line break in the title, I thought you could use the 'markup' type of style from jasper reports:

.setTitle("Line 1<br>Line2")

But this doesn't seem to work. putting \n in the place of the br tag breaks the compiler. It seems like you'd need to specify that the style uses markup per this link: http://jasperreports.sourceforge.net/sample.reference/markup/index.html

But I can't find any way through the DynamicJasper API to specify this property of the style.

chrisknoll avatar Apr 26 '17 19:04 chrisknoll