XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
i'm interested to iterating over a collection of java objects and producing a slide for each item in the collection. I've heard of something similar produced with the commercial project magic draw with the #forpage directive as documented here: https://docs.nomagic.com/display/MD185/To+create+a+new+slide+for+a+presentation
From what i've seen in the xdocreport documentation and source, it doesn't look like this is currently possible with this library. From what i've gathered, we'd need some kind of preprocessor to look for this directive, then duplicate the slides somehow and process them within the context of the loop, renaming/shuffling the slides around as needed, and then i'm sure there's some kind of manifest or something in the pptx zip that needs to be updated to link in the new slides.
Any pointers as to how to accomplish this? I'd PR it if i get a working solution of course.
i'm interested to iterating over a collection of java objects and producing a slide for each item in the collection. I've heard of something similar produced with the commercial project magic draw with the
#forpage
directive as documented here: https://docs.nomagic.com/display/MD185/To+create+a+new+slide+for+a+presentationFrom what i've seen in the xdocreport documentation and source, it doesn't look like this is currently possible with this library. From what i've gathered, we'd need some kind of preprocessor to look for this directive, then duplicate the slides somehow and process them within the context of the loop, renaming/shuffling the slides around as needed, and then i'm sure there's some kind of manifest or something in the pptx zip that needs to be updated to link in the new slides.
Any pointers as to how to accomplish this? I'd PR it if i get a working solution of course.