Skip to content

groupdocs-total/GroupDocs.Total-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupDocs.Total for Java - Code Examples

Runnable code for GroupDocs.Total for Java — one Maven artifact containing every GroupDocs document API: viewing, conversion, comparison, signing, annotation, editing, metadata, search, watermarking, merging, parsing and redaction.

Examples

Examples/ holds a small, self-contained class per feature across all 12 bundled products — each opens a sample file, does one thing, and writes an output. It is the same code published on the GroupDocs.Total for Java developer guide, and the sample files sit next to the code that uses them, so an example runs with no setup.

cd Examples

# Run every example
mvn -q compile exec:java

# List every example, then run one on its own
mvn -q compile exec:java -Dexec.args="--list"
mvn -q compile exec:java -Dexec.args="--example ViewerRenderToHtml"

The groupdocs-total package is served from the GroupDocs Java repository — declared in Examples/pom.xml, it is not on Maven Central. See Examples/README.md for the full walkthrough.

Examples/ is generated, not hand-written. Every example is extracted from the documentation by the docs-to-code-examples pipeline, compiled, executed, and its real output published back into the developer guide page it came from. That is what keeps the two in step. Edit the documentation, not the generated code — a change made here is overwritten on the next run.

Requirements

  • JDK 8 (or later) and Apache Maven 3
  • A GroupDocs license is optional: without one the APIs run in evaluation mode and add trial watermarks to output. Set the GROUPDOCS_LIC_PATH environment variable to a *.lic file, or drop one next to where you run the examples. You can request a temporary license to remove the watermarks.

All-in-one document automation API

GroupDocs.Total for Java is a comprehensive suite of high-performance libraries that integrate document manipulation into desktop and web applications — no other commercial software required. Across PDF, DOCX, PPTX, XLSX and 90+ other formats it can:

  • View documents as HTML, PDF or images
  • Convert between 170+ formats
  • Compare two versions and accept or reject changes
  • Sign documents and search or verify signatures
  • Annotate documents and read the markup back
  • Edit documents through an HTML round trip
  • Read and edit metadata, search document collections, watermark, merge/split, parse text and data, and redact sensitive content

GroupDocs.Assembly, GroupDocs.Markdown and GroupDocs.Classification are separate products and are not part of the GroupDocs.Total for Java artifact.

Individual product examples

Each bundled product also ships its own, deeper example repository:

Product Examples API Reference Documentation
Annotation Examples API Docs
Comparison Examples API Docs
Conversion Examples API Docs
Editor Examples API Docs
Merger Examples API Docs
Metadata Examples API Docs
Parser Examples API Docs
Redaction Examples API Docs
Search Examples API Docs
Signature Examples API Docs
Viewer Examples API Docs
Watermark Examples API Docs

Resources

License

This project is licensed under the MIT License — see the LICENSE file for details.

Used by

Contributors

Languages