I have a question regarding the addTableContents('autoUpdate' =>true).
When we add a TOC like this, it brings up a popup when word opens the doc saying links need to be updated. Is there a way to update the TOC before we save it $docx->createDocxAndDownload() so that this popup does not come up since TOC was updated? I tried adding the code in the end before the save but that does not help either