Java API to Automate Documents & Reports

Build Data Automation Applications to Fetch Data; put it in Customizable Templates & Generate Dynamic Reports via Java API.

  Download Free Trial
Java document generation API

GroupDocs.Assembly for Java


GroupDocs.Assembly for Java API helps you rapidly develop document automation and reporting applications in Java, that perform template creation and customization for supported file formats. Furthermore, by utilizing this powerful API, your Java applications will be able to assemble reports on the fly, by dynamically fetching data from data sources. The reports assembled and generated by GroupDocs.Assembly range from lists, tables, charts, images and more. You can configure and insert formatting properties of template elements dynamically. This enables you to create highly customizable reports and documents, of vast range of file formats, as per requirements.

Previous Next

GroupDocs.Assembly for Java Features



Multiple Data Formats Support


Use Formulae & Perform Sequential Data Operations


Apply Upper, Lower, Capital, FirstCap Formatting to Strings in Template Syntax


Template Syntax support Formatting of Ordinal, Cardinal, Alphabetic Numeric Nature


Support Template Documents with Custom Variables & Text Comments within Template Syntax Tags


Dynamically Insert Out Document Content in Report


Dynamically Configure Background Color of HTML Documents & Generate Barcode in Reports


Dynamically Insert Hyperlinks in Reports & Apply Attributes to Email Message Body


Dynamically Attach Email Attachments


Support of NEXT Field Analogue of Microsoft Word


Update Fields during Word Processing Document Assembly


Apply Formula during Spreadsheet Assembly


Template Formatting for Numeric, Text, Image, Date-Time, Chart Elements


Conditional Formatting of Template Text Elements


LINQ-Based Template Syntax


Change Format of Assembled File using Explicit Specifications or File Extension


Auto-Removal of Empty Paragraphs


Generate Various Report Types, e.g., Charts, Image, Tables, Lists and more


Inline Template Syntax Errors in Generated Documents instead of Exception Throwing


Load Template Documents from HTML with Resources and Save Assembled Word, Excel, PowerPoint & Emails to HTML with Resources


Dynamically Restart A Numbered List in Word Documents as well as Emails with HTML & RTF Bodies

Manipulate Template Elements

Manipulate numerous template elements with GroupDocs.Assembly for Java API. The template elements that you can work with include, text blocks, Images, Hyperlinks, HTML blocks, Barcodes (via Barcode fonts), and Charts. You can also apply repeated blocks & conditional blocks for list items and table rows. Dynamic merging of table cells holding the same text, based on template expressions for documents, presentations, spreadsheets, and emails with HTML and RTF bodies.

Manipulate List Reports

Using GroupDocs.Assembly for Java API, supports following types of List Reports:

  • Bulleted List
  • Numbered List
  • Colored Numbered List

Manipulate Chart Reports

GroupDocs.Assembly for Java supports following type of Chart Reports:

  • Bubble Chart, which displays three dimensions of data
  • Column Chart
  • Pie Chart
  • Scatter Chart
  • Series Chart (Colored)

Manipulate Table Reports

GroupDocs.Assembly for Java supports following types of Table Reports:

  • Master-Detail Table
  • Table with Highlighted Rows
  • Table with Alternate Content
  • Table with Filtering, Grouping, and Ordering

You can also use Data Bands in table rows.

Easily Integrate

Integration of GroupDocs.Assembly for Java API with your Java application is like a breeze. What follows is an example block of code that generates report in OpenDocument format using Java:

Insert nested external documents in word document - Java

// Instantiate DocumentAssembler class
DocumentAssembler assembler = new DocumentAssembler();
//Call AssembleDocument to generate report
assembler.assembleDocument("D:\\WordTemplates\\Nested External Document.docx", "D:\\WordReports\\Nested External Document.docx", 
new DataSourceInfo( new DataStorage(), null));
//(See new DataStorage() method details at

Support and Learning Resources


GroupDocs.Assembly offers document automation APIs for other popular development environments as listed below: