Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 22nd, 2008, 03:07 PM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with single page excel report

Hi Everyone,
I have a lengthy report that needs to be exported to xls format in a single page. Through iReport, I'm able to generate a single page continuous xls report(with no empty lines in-between). I have two problems with this report.
Pbm 1:
First problem is that the same report comes bad when generated through the application. Many empty lines appear randomly after some set of rows throughout the report. Infact the number of empty lines increases as we go down the report. Please give me some suggestions for this issue.

Pbm 2:
We want to be able to have exactly the same number of rows as in the table in the generated report. Currently some extra 30 lines appear in the report due to the over flow of text.
Please note that for some column of a row, the data is over 100 lines(when put in a doc file).

Note:
I have set the foll. parameters in the code:
1. JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE
2.
JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWE EN_ROWS,
Boolean.TRUE

Also, I have enabled the 'stretch with over-flow' property of the Text fields in iReport. I have attached the genereted excel report for your reference.

I feel that both the problems have the same cause ie text over flow. If there is way so that the text of a column, does not over flow to the next row, this issue can be resolved. I looked in to the previous forum questions, but still trying to fiqure out the solution.


Thank you very much for your time!

-Somu

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page number doesnt come in Excel report diptypatil J2EE 0 October 23rd, 2007 06:37 AM
Page Break in Excel Report diptypatil J2EE 0 October 23rd, 2007 06:37 AM
a report containing multiple single page reports hthakkar BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 March 14th, 2006 05:05 PM
display 2 identical pages on a single report pallavijyo BOOK: Professional Crystal Reports for VS.NET 2 October 8th, 2005 11:41 AM
Concatenate different files into one single report safecoder Crystal Reports 1 October 12th, 2004 03:37 PM



All times are GMT -4. The time now is 02:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.