We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Trusted by the world’s leading companies

Overview

Mail merge is a process of merging data from a data source to a Word template document. The Syncfusion Java Word library (Essential DocIO) allows you to generate reports like invoice, payroll, etc., by performing mail merge faster in a batch process without Microsoft Office or interop dependencies. The generated reports can be saved as a Word document, HTML file, and more.


Key Features

Fast and reliable

Generates complex and reliable reports by performing mail merge faster in a batch process compared to Office automation libraries.

Platform independent

A non-UI component that allows you to write Java code for performing mail merge once and reuse the same in all Java frameworks.

Create or design templates

Easily creates a Word template document with merge fields through intuitive Document Object Model (API) or designs a Word template using Microsoft Word to mail merge with data using the Syncfusion Java Word library.

Multiple file formats

Saves the merged document in multiple file formats like Word document, HTML, RTF, and TXT.

Merge template with data

Opens the Word template document and populates the merge fields with data from data source with a few lines of code.

Email merged documents

Email the merged documents as an attachment by saving them as HTML files.


Different ways to mail merge

Performs mail merge in several ways–for a whole document, region of a document and region with hierarchical data.

Simple mail merge

Performs mail merge by repeating the entire document automatically for every record in the data source. Multiple documents can also be created from a Word template.

Group mail merge

Performs mail merge by repeating a region of the document automatically for every record in the data source.

Nested mail merge

Generates complex reports by repeating nested regions, if you have two or more mail merge regions where one of them is inside the other in a hierarchical form, with relational data.


Data sources

Populates the template Word document with data from all the common data sources.


Mail merge customization

Customizes the merged document in several intuitive options during mail merge process.

Format merged data

Formats the merged text, numeric values and date-times automatically with the help of field switches.

Text merge event

Edits or formats the merged text, numeric and date time with merge events. Also, does page layout for the merged documents by inserting breaks.

Merge image

When the prefix “image:” is added to the merge field name, it replaces image in the place of merge field.

Image merge event

Allows customizing image data and load dynamic image through image merge event.

Mapping fields

Automatically maps the merge field names with column names in the data source. It also allows adding custom mapping to merge if field name differs in template and data sources.

Retrieve merge fields

Retrieves the merge field names and group names from a template document.

Remove unmerged fields

Removes the empty paragraphs, empty groups and merge fields that are not merged during mail merge.



Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon