mitra4umohit Posted August 16, 2006 Share Posted August 16, 2006 Hi, I am new to Jasper report.In our project we are providing facility export given report in to various format such as csv,pdf,excel,rtf etc.Now while exporting report in csv,pdf,excel report is coming properly alligned but while i try to export it in rtf format i m facing major allignment problem. It's going almost out of page.I am useing JRRtfExporter() to export in to rtf format.Is there any way to provide allignment information before exporting that should be followed by export? Please reply on this as soon as possible. Thanks in advance for your help. Mohit. Link to comment Share on other sites More sharing options...
teodord Posted August 23, 2006 Share Posted August 23, 2006 Hi, I'm not sure about what alignment problems in RTF you are talking about.Seeing some generated files would help understand. You can attach them here in a ZIP. Thank you,Teodor Link to comment Share on other sites More sharing options...
mitra4umohit Posted August 23, 2006 Author Share Posted August 23, 2006 Hi Thank you for your reply.Please find file in attachment.I am not able to alligne this columns from jasper code in my project.Let me know wht i need to do? Mohit. [file name=rtfreport.zip size=99109]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/rtfreport.zip[/file] Link to comment Share on other sites More sharing options...
teodord Posted August 23, 2006 Share Posted August 23, 2006 Hi, And the PDF? How all this looks in PDF? Thanks,Teodor Link to comment Share on other sites More sharing options...
elfeczka Posted November 10, 2006 Share Posted November 10, 2006 Hi, I'm totally new to Jasper Reports and have just "inherited" a bunch of reports from senior programmers in my company. The issue reported in this topic seems to be similar to mine - I also have alignment problems exporting to rtf, fields being printed out in separate lines and/or wrong order, compared to preview in iReports and pdf output. At times, the rtf file created is blank (contains no text, only some formatting information). Is there any known reason for that, like rtf file format supporting only a limited set of attributes one can set via iReport? I attach one of the jrxml files and its corresponding rtf report, hoping someone would look into them. I'd also be grateful for pointing me some tutorial mentioning those details. Thanks, [file name=PersFragDE1_16.zip size=7108]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/PersFragDE1_16.zip[/file] Link to comment Share on other sites More sharing options...
teodord Posted November 16, 2006 Share Posted November 16, 2006 Hi, The RTF file you have sent is not generated by our RTF exporter.What version of JasperReports are you using?Try an RTF preview in iReport. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now