Replacer class
Replacer class
Provides methods intended to find and replace text in the document.
Inheritance: Replacer → Processor
Methods
| Name | Description |
|---|---|
| create(context) | Creates new instance of the replacer processor. |
| execute() | Execute the processor action. (Inherited from Processor) |
| from_file(input) | Specifies input document for processing. (Inherited from Processor) |
| from_file(input, load_options) | Specifies input document for processing. (Inherited from Processor) |
| from_stream(input) | Specifies input document for processing. (Inherited from Processor) |
| from_stream(input, load_options) | Specifies input document for processing. (Inherited from Processor) |
| replace(input_file_name, output_file_name, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. |
| replace(input_file_name, output_file_name, save_format, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options. |
| replace(input_file_name, output_file_name, save_format, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options. |
| replace(input_file_name, output_file_name, save_options, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options. |
| replace(input_file_name, output_file_name, save_options, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options. |
| replace(input_stream, output_stream, save_format, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options. |
| replace(input_stream, output_stream, save_format, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options. |
| replace(input_stream, output_stream, save_options, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options. |
| replace(input_stream, output_stream, save_options, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options. |
| replace_regex(input_file_name, output_file_name, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression. |
| replace_regex(input_file_name, output_file_name, save_format, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression, with the specified save format and additional options. |
| replace_regex(input_file_name, output_file_name, save_options, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression, with the specified save format and additional options. |
| replace_regex(input_stream, output_stream, save_format, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input stream using a regular expression, with the specified save format and additional options. |
| replace_regex(input_stream, output_stream, save_options, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input stream using a regular expression, with the specified save format and additional options. |
| replace_to_images(input_file_name, save_options, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images. |
| replace_to_images(input_file_name, save_options, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images. |
| replace_to_images(input_stream, save_options, pattern, replacement) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images. |
| replace_to_images(input_stream, save_options, pattern, replacement, options) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images. |
| replace_to_images_regex(input_file_name, save_options, pattern, replacement, options) | Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images. |
| replace_to_images_regex(input_stream, save_options, pattern, replacement, options) | Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images. |
| to_file(output) | Specifies output file for the processor. (Inherited from Processor) |
| to_file(output, save_options) | Specifies output file for the processor. (Inherited from Processor) |
| to_file(output, save_format) | Specifies output file for the processor. (Inherited from Processor) |
| to_stream(output, save_options) | Specifies output stream for the processor. (Inherited from Processor) |
| to_stream(output, save_format) | Specifies output stream for the processor. (Inherited from Processor) |
| to_streams(output, save_options) | (Inherited from Processor) |
| to_streams(output, save_format) | (Inherited from Processor) |
See Also
- module aspose.words.lowcode
- class Processor