Jump to content
Changes to the Jaspersoft community edition download ×

IS_IGNORE_PAGINATION problem


FlexTech

Recommended Posts

Hi to all,

 

 

 

I am quite new with Jasperreport. Can you please help me with a little problem exporting my report into PDF with page breaks or not . So I saw there is a parameter"IS_IGNORE_PAGINATION" wish can be set to TRUE or FALSE.

 

The problem is when i set it to false i get my result with 80 pages wiht page breaks(remarks: I group my element people and start a new page for it). But when i set "IS_IGNORE_PAGINATION" to TRUE, I got a blank page

 

My second parameter works fine.

 

Here is my code :

 

 

 

HashMap hm =new HashMap();

 

 

hm.put("IS_IGNORE_PAGINATION",Boolean.TRUE);hm.put("Test","My name");

 

 

JasperPrint print = JasperFillManager.fillReport("people_details.jasper",hm,cxt);

 

 

JasperExportManager.exportReportToPdfFile (print, "./pdf/people_details"+".pdf");

 

 

 

 

Thanks a lot for your help. :-))

 

Post edited by: FlexTech, at: 2007/08/11 09:21

Post edited by: FlexTech, at: 2007/08/11 09:22

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

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...