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


Template Documents with Custom Variables


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

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.

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:

Report Generation in OpenDocument Format using Java

// Instantiate DocumentAssembler class
DocumentAssembler assembler = new DocumentAssembler();
//Call AssembleDocument to generate report in open document format
assembler.assembleDocument("D:\\WordTemplates\\Barcode.docx", "D:\\WordReports\\Barcode_report.docx", new DataSourceInfo(new DataStorage().getManagers().iterator().next(), "value"));

Support and Learning Resources


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