Hello,
As explained in our previous reply, you need to use DOCXPath methods for the requested task.
Please note that in this forum we can help using methods and options, generate simple script to illustrate generic tasks, solve bugs and others, but your task is very specific. For this kind of support, that also requires checking your DOCX document, please open a support ticket (https://www.phpdocx.com/support).
Regards.