In my Java code I’m trying to find some text and process its Run node in a handler. I found some solutions in this topic based on
I’m using this method and it works just fine, BUT the method is marked as deprecated in your .jar. In your API documentation I see no mention of this deprecation. Can you tell me which alternative I should use?
So it’s about class
com.aspose.words.Range and method:
int replace(Pattern pattern, IReplacingCallback handler, boolean isForward)
In the handler I want to process the node found myself, and then I return ‘STOP’, so I only need the first hit (searching from end of document to front).