BaseExtensions can be used to delete duplicated content controls. This can either be done by clicking at a button or as an event, when a document is opened. In this way, this is a cleanup that removes content controls that are both named the same and positioned next to each other. This feature does also handle content controls inside content controls.
Module is located here:
...\ModuleLibrary\BaseExtensions\04_nocontext_MISC\09_W_deleteDuplicatedCC.xmlCMD
<Cmd case="BaseExtensions:content-control-duplicate" deleteEmptyParagraphs="x"/>
Parameter
deleteEmptyParagraphs
Define parameter to be true if the command should delete empty paragraphs too. Otherwise, it will not delete empty paragraphs if the parameter is set to false.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article