Jump to content
JasperReports Library 7.0 is now available ×

Could I make a report from some jrxml files?


chanpheo

Recommended Posts

i'm a newbie to JasperReports and I'm trying to

solve this problem.

I could make 1 page report from 1 .jrxml design file,

but now I want to make a report of several pages from

several .jrxml design files(1 page each).

I've tried to compile design files one by one and print

them to browser in type of application/pdf but the

result is still 1 page report with uncontrolable view.

Anyone have any ideas to help me solve this problem?

 

Thank you in advance.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

first of all, you can create a more pages report with

one jrxml file.

 

It is like that

 

1. create a .jrxml file (with iReport or by hand)

2. compile it to a jasper file

3. if you fill it with parameters/dataSources

you will get a jrprint file out.

4. From jrprint you can make pdf and other formats

 

If you add a table to the report and then hand over

a DataSource from which to fill the table and if then

the table is too long to fit one page, a second

(third..) page will be added.

 

*(jasperreports-1.3.0demosamplestables)

 

If you dont have content for the report that grows

down (like a table), the only way (i ve seen so far) to create a second page, is to create a second

report and merge them together in a batch process.

 

*(jasperreports-1.3.0demosamplesbatchexport)

 

 

I hope that will help you a bit

(Iam also still figuring out about JasperReports)

 

 

Yves

 

* There is a big sample project with demo source

which is really worth checking it out.

Link to comment
Share on other sites

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