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 you might need to use that in your report. I should think you could import com.lowagie.text.Chunk and then use Chunk.NEWLINE on your report.
 
Hope this helps.
 
Doug James


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, March 03, 2006 1:55 PM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] PDF Question

Dear Jasper Report Experts:

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 get "\n" in the text. Any ideas?

Thanks,
Gary Weik


*******************************************************************************
This communication may contain privileged and/or confidential information. It
is intended solely for the use of the addressee. If you are not the intended
recipient, you are strictly prohibited from disclosing, copying, distributing
or using any of this information. If you received this communication in error,
please contact the sender immediately and destroy the material in its entirety,
whether electronic or hard copy. This communication may contain nonpublic
information about individuals and businesses subject to the restrictions of the
Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose
such information for any purpose other than to provide the services for which
you are receiving the information.

127 Public Square, Cleveland, OH 44114
*******************************************************************************


If you prefer not to receive future e-mail offers for products or services from
Key send an e-mail to [EMAIL PROTECTED] with 'No Promotional E-mails' in the
SUBJECT line.

***************************************************************************************
BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005)
***************************************************************************************

Reply via email to