This report generator provides efficient platform-independent API. Use our Reporting API to develop high-level software for Java platform. By integrating our solution into your software, you can create stunning reports in DOCX, PDF, HTML and other popular formats based on templates and custom data using Java.
Generate powerful reports incorporating lists, tables, charts, images, barcodes, and other document elements using LINQ Reporting Engine in Java. Not only reports, you can create documents of any type such as invoices, resumes, contracts, letters, and others using our advanced Java library.
See how easy it is to build a report in Java by taking the following steps:
Using the given reporting with Java, you can generate documents in many popular formats with professional quality:
Our reporting engine is based on the technology of dynamically binding a data source to fields in a document template using LINQ syntax. Such a reporting engine will significantly increase labor productivity when preparing documents of the same type by automating routine operations.
To evaluate how to generate a report in Java and how our programming API works, load a template document and file with your data. Specify the name of a data source object, if used in the template. After running the code, download the result of report generation in a convenient format such as DOCX or PDF.
// Repository path: https://releases.aspose.com/java/repo/
// Maven, where 'ver' - Aspose.Words version number, for example, 24.4.
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>ver</version>
<classifier>jdk17</classifier>
</dependency>
Copy
// Repository path: https://releases.aspose.com/java/repo/
// Gradle, where 'ver' - Aspose.Words version number, for example, 24.4.
compile(group: 'com.aspose', name: 'aspose-words', version: 'ver', classifier: 'jdk17')
Copy
// Repository path: https://releases.aspose.com/java/repo/
// Ivy, where 'ver' - Aspose.Words version number, for example, 24.4.
<dependency org="com.aspose" name="aspose-words" rev="ver">
<artifact name="aspose-words" m:classifier="jdk17" ext="jar"/>
</dependency>
Copy
// Repository path: https://releases.aspose.com/java/repo/
// Sbt, where 'ver' - Aspose.Words version number, for example, 24.4.
libraryDependencies += "com.aspose" % "aspose-words" % "ver"
Copy
import com.aspose.words.*;
Document doc = new Document("Input.docx");
Object dataSource = "";
ReportingEngine engine = new ReportingEngine();
engine.buildReport(doc, dataSource);
doc.save("Output.docx");
We host our Java packages in Maven repositories. 'Aspose.Words for Java' is a common JAR file containing byte-code. Please follow the step-by-step instructions on how to install it to your Java developer environment.
Java SE 7 and more recent Java versions are supported. We also provide a separate package for Java SE 6 in case you are obliged to use this outdated JRE.
Our Java package is cross-platform and runs on all operating systems with JVM implementation, including Microsoft Windows, Linux, macOS, Android and iOS.
For information on optional package dependencies, such as JogAmp JOGL, Harfbuzz font engine, Java Advanced Imaging JAI, please refer to Product Documentation.