[MSWordUtils] Duplicating content in a document

Forge Component
(3)
Published on 5 Jul by Stuart Harris
3 votes
Published on 5 Jul by Stuart Harris

Is it possible to use this component to duplicate specific content in a document? 

Specifically, we have a template document with a rather complicated pre-formatted table. We'd like to duplicate that table a certain number of times depending on what the user supplies. (I don't think it would be possible to recreate the table with the correct formatting using the currently available functions).

Hi Zachary,

If the user enters the number of times you want to duplicate the data content, then before downloading the content you can append your original content with its copy for that many times and then pass that content to the download widget.

Hope this is helpful. Thanks!

I'm not sure I understand, can you show me how to append it like that? I'm not seeing a function in the component that does that.