docxtemplater
docxtemplater copied to clipboard
Generating multiple copies of content
I would like to repeat contents of a multi page document several times in a loop. Same content for each repeat, but each repeat will have a header like Copy 1, Copy 2, etc. Expected final output is a single file, with each repeat starting in a new page. Would it be possible with docxtemplater? Would appreciate any pointers! Thanks in advance!
Have a look at : https://github.com/open-xml-templating/docxtemplater/issues/182
Has this helped ? I'm closing this since the discussion at #182 already contains the solution.
@edi9999 thanks! will give it a try.