ziden Posted January 27, 2011 Share Posted January 27, 2011 Hallo everyone. Ive got a report that is 510 pixels width. Im using the following code to generate an RTF over this report: JRRtfExporter exporter = new JRRtfExporter(); File rtf = new File( caminho + "Curso.rtf" ); exporter.setParameter( JRExporterParameter.JASPER_PRINT, jPrint ); exporter.setParameter( JRExporterParameter.OUTPUT_FILE, rtf ); exporter.setParameter( JRExporterParameter.IGNORE_PAGE_MARGINS, true ); exporter.setParameter( JRExporterParameter.OFFSET_X, 0 ); exporter.exportReport(); Now, what happens is, the RTF document have a very smaller width then my report, even having loads of free space to write. So a line that was being something like (a textField)"hello, this is a bigger line then a normal one"in RTF comes like"hello, this is a bigger linethen a normal one" Is there anyway i can make the RTF bigger, so the report would fit perfectly on it ?Thanx for any help. Regards Ziden. 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