The Aspose.Words.Replacing namespace provides classes to manipulate with find/replace operations over the document tree.
Classes | |
| class | FindReplaceOptions |
| Specifies options for find/replace operations. To learn more, visit the Find and Replace documentation article. More... | |
| interface | IReplacingCallback |
| Implement this interface if you want to have your own custom method called during a find and replace operation. More... | |
| class | ReplacingArgs |
| Provides data for a custom replace operation. To learn more, visit the Find and Replace documentation article. More... | |
Enumerations | |
| enum class | FindReplaceDirection |
| Specifies direction for replace operations. More... | |
| enum class | ReplaceAction |
| Allows the user to specify what happens to the current match during a replace operation. More... | |
|
strong |
Specifies direction for replace operations.
Shows how to determine which direction a find-and-replace operation traverses the document in.
| Enumerator | |
|---|---|
| Forward | Matched items are replaced from first to last. |
| Backward | Matched items are replaced from last back to first. |
|
strong |
Allows the user to specify what happens to the current match during a replace operation.
Shows how to insert an entire document's contents as a replacement of a match in a find-and-replace operation.
| Enumerator | |
|---|---|
| Replace | Replace the current match. |
| Skip | Skip the current match. |
| Stop | Terminate the replace operation. |