Aspose::Words::LowCode::Replacer class
Contents
[
Hide
]Replacer class
Provides methods intended to find and replace text in the document.
class Replacer : public Aspose::Words::LowCode::Processor
Methods
Method | Description |
---|---|
static Create(const System::SharedPtr<Aspose::Words::LowCode::ReplacerContext>&) | Creates new instance of the replacer processor. |
Execute() | Execute the processor action. |
From(const System::String&, const System::SharedPtr<Aspose::Words::Loading::LoadOptions>&) | Specifies input document for processing. |
From(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Loading::LoadOptions>&) | Specifies input document for processing. |
GetType() const override | |
Is(const System::TypeInfo&) const override | |
static Replace(const System::String&, const System::String&, const System::String&, const System::String&) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. |
static Replace(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::String&, const System::String&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression. |
static Replace(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | 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. |
static ReplaceToImages(const System::String&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images. |
static ReplaceToImages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images. |
static ReplaceToImages(const System::String&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images. |
static ReplaceToImages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) | Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images. |
To(const System::String&, System::SharedPtr<Aspose::Words::Saving::SaveOptions>) | Specifies output file for the processor. |
To(const System::String&, Aspose::Words::SaveFormat) | Specifies output file for the processor. |
To(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&) | Specifies output stream for the processor. |
To(const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat) | Specifies output stream for the processor. |
To(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&) | |
To(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>&, Aspose::Words::SaveFormat) | |
static Type() |
See Also
- Class Processor
- Namespace Aspose::Words::LowCode
- Library Aspose.Words for C++