Hi.
I'm not sure if I understand you right. Generally you can create a template with conditionals, so that one template fits for multiple reports. Nevertheless it might be better to separate your concerns.
If you primary want to have one PDF as a result you can concatenate PDFs. I'm not sure if JOD offer this out of the box. But there are libs that can do this.
Regards Leif
Am 26.12.2011 12:10 schrieb "wyborowiec" <wybor...@googlemail.com>:
>
> Hello
>
> I would like to know if it's possible in JODReports to have template
> ODT file and generate more than one report based on the template into
> one file.
Yes. Use a list of input data items, one per report. Iterate over these items using #list and generate the report content. Pay attention to page breaks to cleanly separate the individual reports.
> I want to generate many reports but have only one resulting
> ODT file to contain all of them. Printing of such report set would
> more comfortable than printing many separate files.
>
Printing multiple PDF files might be as easy as
$> lpr -P yourprinter *.PDF
Depending on your OS, the actual print client and its command line syntax might differ, but some easy way of automating printing of multiple files should exist.
Best regards
Ansgar
I did many reports in file but i cannot make page breaks between them.