Aspose::Words::LowCode::Merger class

Merger class

Represents a group of methods intended to merge a variety of different types of documents into a single output document.

class Merger : public Aspose::Words::LowCode::Processor

Methods

MethodDescription
static Create()Creates new instance of the mail merger processor.
static Create(const System::SharedPtr<Aspose::Words::LowCode::MergerContext>&)Creates new instance of the mail merger 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 Merge(const System::String&, const System::ArrayPtr<System::String>&)Merges the given input documents into a single output document using specified input and output file names using KeepSourceFormatting.
static Merge(const System::String&, const System::ArrayPtr<System::String>&, Aspose::Words::SaveFormat, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single output document using specified input output file names and the final document format.
static Merge(const System::String&, const System::ArrayPtr<System::String>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single output document using specified input output file names and save options.
static Merge(const System::String&, const System::ArrayPtr<System::String>&, const System::ArrayPtr<System::SharedPtr<Aspose::Words::Loading::LoadOptions>>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single output document using specified input output file names and save options.
static Merge(const System::ArrayPtr<System::String>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single document and returns Document instance of the final document.
static Merge(const System::ArrayPtr<System::String>&, const System::ArrayPtr<System::SharedPtr<Aspose::Words::Loading::LoadOptions>>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single document and returns Document instance of the final document.
static Merge(const System::ArrayPtr<System::SharedPtr<Aspose::Words::Document>>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single document and returns Document instance of the final document.
static Merge(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, Aspose::Words::SaveFormat)Merges the given input documents into a single output document using specified input output streams and the final document format.
static Merge(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single output document using specified input output streams and save options.
static Merge(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, const System::ArrayPtr<System::SharedPtr<Aspose::Words::Loading::LoadOptions>>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single output document using specified input output streams and save options.
static Merge(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single document and returns Document instance of the final document.
static Merge(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, const System::ArrayPtr<System::SharedPtr<Aspose::Words::Loading::LoadOptions>>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single document and returns Document instance of the final document.
static MergeToImages(const System::ArrayPtr<System::String>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input documents into a single output document using specified input output file names and save options. Renders the output to images.
static MergeToImages(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, Aspose::Words::LowCode::MergeFormatMode)Merges the given input document streams into a single output document using specified image save options. Renders the 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()

Remarks

The specified input and output files or streams, along with the desired merge and save options, are used to merge the given input documents into a single output document.

The merging functionality supports over 35 different file formats.

See Also