StimVinsh / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

repeating some pages moor than once #120

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
0.9.7 on windows 7

Please provide any additional information below.
is it possible to generate some pages in a document moor than once? in a loop 
for example?? 
thank you

Original issue reported on code.google.com by nourelho...@gmail.com on 12 Jun 2012 at 7:41

GoogleCodeExporter commented 8 years ago
Hi,

Could you attach 2 sample document (docx or odt) that you wish to write 
("template" document) and generate (generated reporot)?

Many thanks 

Regards Angelo

Original comment by angelo.z...@gmail.com on 12 Jun 2012 at 8:25

GoogleCodeExporter commented 8 years ago
Voila...

Original comment by nourelho...@gmail.com on 13 Jun 2012 at 2:06

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

Your sample seems that you wish loop for city. Is that? If it's that why you 
cannot use loop macro (see 
http://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainListFieldAnywhere)

You can set on before the document a start loop macro (eg: with velocity 
#foreach($city in $cities)) and at end of the document the end loop (eg: with 
velcity #end).

Perhaps I don't understand your need?

Regards Angelo

Original comment by angelo.z...@gmail.com on 13 Jun 2012 at 3:53

GoogleCodeExporter commented 8 years ago
I wanted to loop for aspect with the page next to it. But yes i think this 
foreach is going to work. Mmm my bad , i saw the loop for tables but not this 
one. i'll give it a try.
thanks :)

Original comment by nourelho...@gmail.com on 13 Jun 2012 at 8:25

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 23 Jun 2012 at 10:58