Using Microsoft.Office.Interop.Word please tell me how to get all the headers with which you can automatically generate a table of contents? I am looking on the Internet, I can not find a single example. Everywhere there are examples with tables, paragraphs, but there are no examples how to find headings.
|