Hi Aspose Team.
I tried with DocumentVisitor but could not reach my target. This class is looking more like a collector and i need an on-the-fly recognition.
My method for searching things in a document is to go through every node in the document and check for the Node Type.
For example with NodeType.PARAGRAPH i can cast the node to a paragraph and get for example the StyleIdentifier to identify Headings.
with NodeType.TABLE i can work with table elements and parse the content in my structure.
there are also NodeType.FOOTNOTE or NodeType.HEADER but there are not working, i try to cast but it’s not working, i can’t get the text of a footnote or header.
but for me this is the best way: running through the document and check every node for it’s type.
But why there are the NodeTypes FOOTNOTE and HEADER but there are not working.
Or is my way of thinking wrong??
Thanks for your help.