intive-FDV / DynamicJasper

Dynamic Reports using Jasper Reports
http://intive-fdv.github.io/DynamicJasper/
GNU Lesser General Public License v3.0
241 stars 128 forks source link

Can't use markup in setTitle (or setSubTitle) #46

Open chrisknoll opened 7 years ago

chrisknoll commented 7 years ago

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.