compile(group: 'com.groupdocs', name: 'groupdocs-assembly', version: '23.8')
<dependency org="com.groupdocs" name="groupdocs-assembly" rev="23.8">
    <artifact name="groupdocs-assembly" ext="jar"/>
libraryDependencies += "com.groupdocs" % "groupdocs-assembly" % "23.8"

High Code Java API for Document Automation & Assembly


Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

GroupDocs.Assembly for Java is an on-premise Java API that helps you obtain data & information from various data sources (DB, XML, JSON, OData) based on user-defined templates and then assemble documents of various file formats based on those templates. Supports comprehensive report building, customization & generation features.

Document Assembly Java On-premise API Features

  • Assemble documents based on user-defined templates and data fetched from data sources, e.g., DB, XML, JSON.
  • Supports multiple data formats.
  • Apply formulas & perform data operations sequentially.
  • Apply string formatting (firstcap, capital, lower, upper) in the template syntax.
  • Supports alphabetic, cardinal, ordinal numeric formatting support within the template syntax
  • Allows text comments within the template syntax tags.
  • Use custom variables within the template documents.
  • Ability to dynamically perform the following operations with in the reports:
    • Insert document content
    • Insert hyper-links
    • Apply attributes to email message body
    • Add email attachments
    • Configure HTML page background color
    • generate barcode within reports
  • Apply formula while spreadsheet is assembling
  • Configure template formatting for the following elements:
    • Numeric
    • Text
    • Image
    • Date-time
    • Chart
  • Apply conditional formatting to the template text elements
  • Supports LINQ based template syntax
  • Auto-removal of paragraphs which are empty
  • Generate various report types, such as:
    • Chart (Bubble Chart, Column Chart Report, Pie Chart Report, Scatter Chart Report)
    • Image (Common List Image Report, Single Row Image Report, Common Master-Detail Image report)
    • Table (TableMaster-Detail Report, Table Report with Highlighted Rows, In-TableList WithAlternateContent Report)
    • List (Bulleted, Numbered List Report, Multicolored Numbered List Report, In-TableList Report, In-ParagraphList Report)
  • Facility of in-line template syntax errors in the generated documents
  • Load template documents from HTML with resources
  • Save assembled Word®, Excel®, PowerPoint® & Email to HTML with resources
  • Table cells containing equal textual content can be merged dynamically within your report.
  • Use barcode tags to dynamically insert the barcode images to your documents.
  • Supports 60+ types of barcodes to be inserted into assembling documents.
  • Generate reports that fetch data from multiple data sources.
  • Ability to use spreadsheet, presentations, & Wordprocessing table as a data source.
  • Specify formatting within the template syntax
  • Define placeholders using Doc Tags to insert external documents into your report at runtime.

Supported Document Assembly File Formats

OpenOffice® Writer: ODT, OTT
OpenOffice® Spreadsheet: ODS
Microsoft PowerPoint®: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS, POT
OpenOffice® Presentation: ODP, OTP
Microsoft Outlook®: EML, MSG
Apple® Email: EMLX
Text: TXT
Fixed Layout: PDF, XPS
eBook: EPUB
Raster Image: TIFF
Vector: SVG
Postscript: PS
Printer Command Language: PCL
Markdown: MD

For details and limitations please visit, Supported Document Formats.

Supported Document Assembly Data Sources

  • Database (DB)
  • OData
  • JSON
  • XML
  • Custom Java Object
  • Spreadsheet
  • Word processing Table

System Requirements

  • Microsoft Windows: Windows Desktop & Server (x86, x64), Microsoft Azure
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), J2SE 8.0 (1.8) or above (for example Java 10)

GroupDocs.Assembly for Java does not require any external software or third party tool to be installed. Just follow one of the ways as described in Installation and Configuration.

Get Started

GroupDocs hosts all Java APIs at the GroupDocs Repository. You can easily use GroupDocs.Assembly for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installation from GroupDocs Repository using Maven documentation page.

Sample Java code to Generate Pie Chart in PowerPoint® 2013

Please download the sample Pie Chart sample PPTX being used in the following example.

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

VersionRelease Date
23.8August 18, 2023
22.12December 22, 2022
22.2March 5, 2022
20.6January 25, 2022
20.4January 25, 2022
20.12January 25, 2022
19.10January 25, 2022
18.6January 25, 2022
18.2January 25, 2022
17.12January 25, 2022
17.1.0January 25, 2022
21.7July 9, 2021
21.4April 30, 2021
21.3March 19, 2021
21.1January 31, 2021
20.11November 26, 2020
20.9September 30, 2020
20.8August 25, 2020
20.3March 17, 2020
19.11November 18, 2019
19.8August 24, 2019
19.7July 16, 2019
19.5May 27, 2019
19.3March 8, 2019
19.1January 29, 2019
18.12December 6, 2018
18.10October 31, 2018
18.9September 11, 2018
18.7July 31, 2018
18.5June 1, 2018
17.11April 20, 2018
17.3.0April 20, 2018
17.5.0April 20, 2018
17.8.0April 20, 2018
17.9April 20, 2018
18.1April 20, 2018