I have a need to force a newline character in a PDF formatted Jasper Report. I tried putting "\n" in the output of the query string but I just dont see a new line coming up.
I also heard that Jasper uses iText (
http://www.lowagie.com/iText/) for PDF generation. There is a new line in iText (a static member of the Chunk class) so I used that in my report. I imported com.lowagie.text.Chunk and then use Chunk.NEWLINE on my report. But this dint help me either.
I also tried using System.getProperty("line.separator") for my OS level new line. But even this dint help.
Could somebody pls let me know the solution for it? Its quite urgent.