We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Run's getFont().getHidden() returns false for runs that are hidden in the document

hiddenRuns.docx (20.9 KB)
This is a document in which the citations manager Papers2 has been used to add references.
There is lot of text (such as html output by this add-in) which are not visible in the document, but run.getFont().getHidden() still returns false.
Is there any other way to differentiate this as text that is not visible?

@els.j.gee There is no hidden text in your document. The text you are talking about is field code and you can view it in MS Word document by pressing Alt+F9. Fields in MS Word documents are represented by three special nodes FieldStart, FieldSeparator and FieldEnd. Content between FieldStart and FieldSeparator represents field code and content between FieldSeparator and FieldEnd represents the field displayed result.
Please see Working with Fields section in our documentation to learn more about fields.