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

Free Support Forum - aspose.com

DocumentVisitor problem

I currently have an evaluation version and I would like to know if it is normal if the example to extracxt text using DocumentVisitor isn`t working:


http://www.aspose.com/documentation/java-components/aspose.words-for-java/howto-extract-content-using-documentvisitor.html

Basically none of my visitor method are called… no exceptions.

Is it because I have an evaluation version ?

Thank you

Sorry… since I copy/paste the example… it seems that the method name in this page are wrong:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/howto-extract-content-using-documentvisitor.html

It was public int VisitRun(Run run)
It should be public int visitRun(Run run)
(“v” should be lowercase not uppercase)


Thank you

Hi Simon,

Thanks for considering Aspose.

It seems strange your DocumentVisitor is not working as expected, it will work properly even if a license is not set. Are you able to post your template and code that you are using here? I will take a look into it for you.

Thanks,