Annotate Documents in Java with REST API
RESTful API to build online document & image annotation tools with support for text & image based annotation options. Let's annotate!Start Free Trial
GroupDocs.Annotation Cloud SDK for Java
GroupDocs.Annotation Cloud SDK for Java is a handy toolkit for developing business document annotator applications in Java. The solution allows applying annotations, sticky notes, watermark overlays, redactions, text replacements and markups to documents, presentations, emails, spreadsheets, PDF, images other file formats. Annotation SDK works as a wrapper for the Java RESTful APIs and makes application cross-platform compatible. Our Annotation API also works with all popular 3rd party cloud storage solutions.
GroupDocs.Annotation set of SDK REST APIs is not dependent on your local operating system or database. We offer our SDK APIs in numerous programming languages and with frequent new additions.
API Supported Document Formats
GroupDocs.Annotation Cloud supports a number of document formats including almost all common business document and image file formats.
- Word: DOC, DOCX, DOCM, DOT, DOTX, RTF
- Excel: XLS, XLSX, XLSM, XLSB, CSV
- PowerPoint: PPT, PPTX, PPS, PPSX
- Visio: VSD, VSDX, VSS, VST
- OpenDocument: ODT, OTT, ODS, ODP
- Image Files: BMP, PNG, JPG, JPEG, TIFF, TIF, GIF
- Fixed Layout: PDF
- Web: HTM, HTML
- Email: EML
- CAD: DWG, DXF
At a Glance
An overview of the features supported by our document annotation API for Java.
- Area annotation
- Point annotation
- Area redaction
- Strikethrough / Underline
Advanced Document Annotation REST API Features
Apply/discard visual annotations & text markups
Get information about metadata for annotated document
Data retrieval of annotations for supported file formats
Import/export document annotations as a list
View annotated document in PDF format
Fetch storage link of the stored annotated document
Compatibility for cross-platform document annotations
Support for text redaction in Microsoft PowerPoint
Support to apply annotations to header/footer in Word documents
Work with Document Annotations
GroupDocs.Annotation Cloud API provides a number of ways to deal with annotations. It not only allows retrieving annotations from documents, but also adds annotation to a document and retrieves the resultant document as stream. Following code snippet shows how you can quickly get the PDF version of any document.
Generate PDF of Document Pages - Java
// Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required). Configuration configuration = new Configuration(appSID, appKey); AnnotateApi apiInstance = new AnnotateApi(configuration); // Create request object. GetPdfRequest request = new GetPdfRequest(); request.setFilePath("docs"+ File.separator +"document.docx"); // Executing api method. File response = apiInstance.getPdf(request);
Robust Set of Annotation Tools
GroupDocs.Annotation Cloud SDK for Java REST API, allows you to make use of various types of annotations. The primary types are; graphical annotation and text-based annotations.
Text-based markups can be done thorugh adding text comments to selection, text redaction is supported to hide classified text. You can also highlight text with markups such as underlines and strikethroughs. Sticky notes can be added to rich text.
Graphical annotation can be applied in the form of, adding notes to area highlighted with rectangle (Area Annotation), hide classified part of text or image (Area Redaction), apply notes to a specific point within the document (Point Annotation), arrows dropped to an object (Pointer/Arrow), drawing freehand shapes and lines (Polyline), add text-based watermark overlay (Watermark), and distance meaurement between any two objects in the document (Distance Annotation).
To integrate GroupDocs.Annotation Cloud SDK into your Java applications, just create an account at GroupDocs.Cloud to get App SID & App Key. No installation is required.
GroupDocs.Annotation Cloud SDK for Java is open source and has an MIT license. Use it, and even customize it for no charges. Moreover, it is tested and out of the box running for a quick and reliable integration.
Interactive API Explorer
Provide desired parameters to our Swagger based interactive API explorer and try out various features of GroupDocs.Annotation Cloud API for Java in your browser. Please visit Annotation Cloud API explorer to see it in action.