Java Word Library (Essential DocIO for Java) is a feature-rich and high-performance library that allows you to add advanced Word document processing functionalities to any Java application. It allows you to create, read, and edit Word documents programmatically without Microsoft Office or interop dependencies. It allows you to create complex reports by merging data from various data sources using its powerful mail merge engine. This library also provides functionalities for merging, splitting, organizing Word documents, and finding and replacing text with ease.
Optimized for a server environment where speed and low memory usage are critical, DocIO works much faster and consumes less memory when compared to Office automation libraries.
There is no distribution fees, per-server licensing fees, or royalties, making DocIO very cost-effective.
All the elements of a typical Word document like text, formatting, images, tables, sections, headers and footers are accessible through a comprehensive set of APIs. It only takes a few lines of code to create or manipulate richly formatted Word documents.
Creates, reads and edits popular text file formats like DOCM, DOTM, DOCX, DOTX, HTML, TXT and XML (WordML). Converts Word documents also to HTML and TEXT files.
Design reports using Microsoft Word and use DocIO to dynamically populate them with data. The final report can be saved to a Word file or exported to other supported formats.
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.
Performs mail merge by repeating a particular region of the document automatically for every record in the data source.
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.
Populates the template Word document with data from common data sources.
Formats the merged text, numeric values and date-times automatically with the help of field switches.
When the prefix “image:” is added to the merge field name, it replaces image in the place of the merge field.
Customizes the document during mail merge by formatting and editing the merged text, numeric and image data with mail merge events and also the layout of the document by inserting breaks.
Supports intuitive options like mapping merge fields with fields in data source, retrieving merge field names and removing merge fields that are not merged, empty paragraphs and empty groups.
For more information, check our Mail merge features.
Organizes the document contents with sections for grouping and making the contents start on a new page, odd page, even page, or continue on the same page.
Adds information like title, author, branding and page number to repeat it at the top and bottom of every page. Supports all the header and footer types such as different first page and different odd and even pages.
Creates or edits documents with all language texts. Supports left-to-right text and right-to-left text, also.
Inserts images in a document with all the common layout options like text wrapping, position, size and more. Supports all common image formats like PNG, BMP, JPEG, TIFF, GIF, EMF, WMF, SVG, etc.
Creates and inserts bookmarks to identify a part of the document for future reference.
Creates a link in a document for quick access of webpages, files, email, bookmarks, and more.
Adds dynamic information like title, time, etc., in a Word document that updates automatically. Supports updating commonly used fields like merge field, IF field, date-time, document properties, and more.
Showcases important text or quotes in a document within a text box. Supports inserting and editing text and formatting and removing an existing text box.
Adds all the predefined shapes in a Word Open XML Format document (DOCX, DOTX, DOCM, DOTM, Word XML). Supports inserting and editing text and formatting and removing an existing shape.
Reads and writes document information with built-in document properties. Also, supports custom document properties and document variables.
Customizes the appearance of the text with several text-level formatting options like font family, size, style, underline, strikethrough, text color, highlight, subscript, superscript and more.
Customizes the appearance of a paragraph with several paragraph-level formatting options like indents, alignment, spacing, tab stops, text direction and more.
Organizes items or creates an outline of the document with bullets and numbering ranging from single level to multilevel lists.
Designs the structure and layout of document pages with several properties like size, margins, orientation, columns, line numbers, borders, page background, watermarks and more.
Creates and applies styles to ensure consistency within a document. Supports predefined and custom character styles, paragraph styles and predefined table styles.
Creates, inserts and deletes tables in a document. Supports nested tables also.
Edits an existing table in a document like merging cells, adding or removing cells and rows, resizing cells and more.
Formats a table with several properties like indent, alignment, cell margins and spacing, borders, shadings, repeat header row, break row across pages, etc.
Gives a polished look to tables by applying built-in styles and conditional styling options like first row, last row, banded rows, first column, last column, and banded columns.
Copies part of a document and inserts that part into the same or a different document with several formatting options like using destination styles, keeping source formatting, etc. Supports all the common paste options in Microsoft Word.
Navigates to a bookmark in the document and inserts, edits, retrieves, or deletes its content. Also supports replacing the bookmarked contents with text, a part of a document, or an entire document.
Merges multiple documents into a single document with several formatting options like using destination styles, keeping source formatting and more.
Splits a document into multiple small documents based on sections, placeholder text, or any document element.
For more information, check our Merge and Split Word document features.
Creates and inserts content controls like plain text, rich text, pictures, check boxes, combo boxes, drop-down lists, date pickers and more in a Word Open XML Format document (DOCX, DOTX, DOCM, DOTM, Word XML). Groups a part of a document with block content control.
Creates fillable forms with legacy form fields in Word documents. Fills the form fields and extracts filled data from the form fields effortlessly.
Creates more functional forms with content controls like plain text, rich text, pictures, check boxes, combo boxes, drop-down lists, date pickers and more in Word Open XML Format document. Fills the form and extracts filled data from the content controls effortlessly.
Creates and inserts comments in a document to add notes about a part of the document while reviewing. Also, edits and removes an existing comment from a document.
Accepts and rejects changes that are tracked within a Word document.
|Document Content Features||WORD 2007-2019|
|Create a Word document from scratch or edit an existing Word document|
|Open an existing Word document from file system or stream|
|Save the Word document to file system, stream, or stream it to the client browser|
|Create, access and modify paragraphs and text|
|Create, access and modify tables, rows and cells|
|Create, access and modify hyperlinks|
|Create, access and modify bookmarks|
|Access, create and modify document sections, headers and footers|
|Iterate over document content|
|Copy and move document elements between documents|
|Merge multiple Word documents|
|Create, access and modify fields|
|Update fields such as IF and other popular field types|
|Support for inserting watermarks|
|Create, access and modify comments|
|Access and modify built-in document properties|
|Access and modify custom document properties|
|Create, access and modify form fields|
|Create, access and modify structured document tags (content controls)|
|Accept or delete a particular revision or all the revisions in a document|
|Support for inserting HTML text|
|Mail Merge||WORD 2007-2019|
|Create, access and modify merge fields|
|Retrieve mail merge field names|
|Insert images during mail merge|
|Event handling during mail merge process to apply formatting|
|Perform mail merge on documents that contain complex merge fields|
|Perform mail merge for a specified region|
|Perform mail merge on reports that contain relational details (parent-child data)|
|Document Formatting||WORD 2007-2019|
|Support for character formatting including font size, font color, font name, bold, italic, underline, etc.|
|Support for paragraph formatting including line spacing, alignment, indentation, spacing before and after, keep follow, etc.|
|Support for bulleted and numbered lists formatting including numbering and levels|
|Support for table formatting including alignment, borders and shading|
|Access and modify all section properties including paper size, margins, and orientation|
|Access, create, and modify paragraph styles|
|Support for applying predefined table styles|
|Create and manipulate bookmarks|
|Navigate to a specific bookmark|
|Retrieve document contents between the specified bookmarks and merge to an existing or a new document|
|Insert text or part of a document’s contents between the specified bookmarks|
|Replace a document’s contents between the specified bookmarks with text or part of another document’s contents|
|Delete document contents between the specified bookmarks|
|Word 2007-2016 formats (*.docx, *.dotx, *.docm, *.dotm, *.xml)|
|Word 2003 XML Document (*.xml)|
/developer 1st year
Cover everyone in your organization for one low annual feeCONTACT US
/developer 1st year
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.