com.aspose.words
Interface ReplaceEvaluator


public interface ReplaceEvaluator 

The interface that represents a user defined method that is called during a custom find and replace operation.

Method Summary
intreplace(java.lang.Object sender, ReplaceEvaluatorArgs e)
           A user defined method that is called for each match found during a replace operation.
 

Method Detail

replace

public int replace(java.lang.Object sender, ReplaceEvaluatorArgs e)
           throws java.lang.Exception
A user defined method that is called for each match found during a replace operation.
Returns:
A ReplaceAction value that specifies the action to be taken for the current match.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.