cuba-platform / yarg

Yet Another Report Generator - CUBA Platform reporting engine
https://www.cuba-platform.com
Apache License 2.0
247 stars 74 forks source link

How to get Loop data printed in DOC? #162

Open ketan-dad opened 2 years ago

ketan-dad commented 2 years ago

Hi Guys,

I have a list of object and I want to print each object printed separately one after another in loop.

For Example, List<> persons; // consider this has list Persons with Name , Address (Nested object) , Phone number.

And I am looking to create a single Docx , Note that, In template there should be only on person info band, as List of Persons can be of any size.

image

I don't see any example for such scenario. Is that even possible, looping object and printing one after another with same template?

Thanks in advance.

ketan-dad commented 2 years ago

Please let me know if it is possible with Yarg