aspose.words.replacing.IReplacingCallback class. Implement this interface if you want to have your own custom method called during a find and replace operation.... doc = aw . Document ( file_name = MY_DIR...self . ReplaceLog () options = aw . replacing . FindReplaceOptions...