Free Support Forum - aspose.com

Fetch comments across the word document irrespective of its parent node


#1

Fetch comments across the word document irrespective of its parent node.

Hi All,
I am trying to fetch Comments and Tables across a word document. However,

doc.getChildNodes(NodeType.COMMENT, true);
doc.getChildNodes(NodeType.TABLE, true);

above code returns only the entities directly tagged to a document.
Any comment or tables belonging to any other node is not retrieved using above code.

Please let me know how to fetch all the comments or tables irrespective of its parent node.

I am need to implement the change inmy task which is being delayed due to the above said issue.


#2

2 posts were merged into an existing topic: Get tables from document


#3