Jump to content
Changes to the Jaspersoft community edition download ×

Text export problem


Recommended Posts

By: frank hayes - frankh-ky

Text export problem

2006-01-04 15:04

When exporting a report to a text file, it is creating random blank lines between detail lines. Any ideas on what I may be doing wrong?

 

Thanks in advance for any help.

 

Frank

 

 

 

 

By: michele - gepo0073

RE: Text export problem

2006-04-14 02:09

In my experience, it is important that the height and width defined for the page is proportional to height and width defined for the character and for text fields.

 

For example:

If your exporterParameter are set like this:

exporterTXT.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Integer(10));

exporterTXT.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Integer(18));

 

and you want a record lenght = 158 and a page lenght = 66

If you have to set a page 1580 (158 * 10) width and 1188 height (18 * 66).

..and remember to set all your textfields 18 height.

I hope it could be useful

Bye

Michele

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...