I am using the removeChapter function. The chapter was deleted but the table of contents was not refreshed (The chapter is still there). Is there any chance to refresh the table of content? The document is based on a template.
The second thing is:
What is the best way to remove more than one chapter?
at the moment i would do something like this:
$newDocx->removeChapter('source.docx', 'target.docx', 'Chapter3');
$newDocx->removeChapter('target.docx', 'target1.docx', 'Chapter4');
$newDocx->removeChapter('target1.docx', 'target2.docx', 'ChapterX');
Is it possible to remove more than one chapter with one call of removeChapter?
Thank in advance
Cheers