open-xml-templating/docxtemplater

Duplicate content of a word file (in one page)

Stevemoretz opened this issue · 1 comments

I have a question, we have a word file which contains of 4 identical paragraphs (in one page), I want to have only one paragraph and using this library duplicate it 3 times, is that possible? That way my template only has one paragraph and it's easier to edit.

I also have many other files with the same exact scenario except the number of the duplicates (4,3,2).

It would be interesting to see your desired template and desired output.

You could have a look at two features :

This is part of the open-source version :

https://docxtemplater.com/demo/#/view/loops

This is part of the paid version :

https://docxtemplater.com/modules/subtemplate/#segments