We have a Word document here which contains a number of hidden paragraphs, including headings. Depending on the respective view/print setting, these paragraphs are (or are not) shown/printed - all fine.
However, independent on these settings, the prespective headings never appear in the table of contents.
Is there a way around this? I'd like to appear the headings in the TOC if and only if they're visible, per the view setting.