Excluding nummering of numbered paragraph titles in TOC does not work when a script generates TOC
Current behavior:
The TOC style specifies to exclude the nummering of numbered paragraph titles (NumberedParagraphOptions.EXCLUDE_NUMBERS).
However, when the TOC is generated by a script via a call to createToc(), the TOC includes the nummering of numbered paragraph titles.
Expected behavior:
The TOC excludes the nummering of numbered paragraph titles, as specified in the TOC style.
When the TOC is updated manually afterwards, the nummering disappears.
When Googling for this problem, I saw that this issue was mentioned in the old archive. See attachment. Unfortunately, that archive is not available anymore.
1
vote
![](https://secure.gravatar.com/avatar/15a90718026c5be6648785a343d8d01d?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)