Forum


Replies: 1   Views: 679
Clone block to end of document
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by cheesestring  · 22-12-2022 - 03:34

Hi all,

Question is mostly in the title. I'm working with blocks and need to clone a block and append it to the end of the document, not just where it is currently located. Can this be done with blocks and if not, what is the best way to accomplish similar behavior?

On another side question, is it possible to use the deleteBlock method to delete the Nth clone of a block?

Any help appreciated!