I have searched a lot on the internet and I could not find an answer to this. Is there a way to check where does the table belong. That is, which section does the table belong to.
I would prefer to do it using OpenXml, but if there is a solution using Interop Word object. I would take that too...
As a sample document.
I would have posted the xml for the document as well, but post's limit is reached. To clarify, the example document contains two sections. First one contains two tables and the second contains one table.
