Say a Word Table Of Contents has 8 lines in it, generated by a Table of Contents field in the normal way.
Is it possible, using C# and Microsoft Open XML, to determine how many lines (in this case 8) are in a Table of Contents field in an existing Word document?
I have not found any obvious properties that would give this information.
Thanks,
Jimmy