Save Annotations in a DB and Set User Avatars in the GroupDocs.Annotation for Java Library

Today, I’d like to present several great enhancements that we’ve implemented in the GroupDocs.Annotation for Java library version 1.6.0:

User Avatars

Remote collaboration in groups is much more engaging and productive when we can see each other (or at least put a face to each other). In this release we’ve implemented functionality that allows users to use personal avatars when annotating documents in a group.

The avatar functionality can be easily configured through the library’s API. The {{AnnotationHandler}} has two new methods for handling user icons:

The array used in these methods contains a binary picture that can be set for each user. For example, you can check if an avatar is already set, and if not, load one:

Save Annotations in a DB

In this release we’ve added the capability to configure how you store annotation metadata. The ORMLite persistence framework is now used to support a huge variety of storage providers. You can still use good old local file storage but if you need more consistency you can now easily integrate GroupDocs.Annotation with your application’s database, be it a MySQL, Microsoft SQL Server, PostgreSQL, or other supported DB. For more detail on this feature, please see this page.

New Annotation Objects

GroupDocs.Annotation for Java version 1.6.0 has two new annotation tools:

  • Ruler - allows users to measure the distance between specified points in pixels.
  • Underline tool - allows users to underline selected text.

Besides, we’ve improved support for native PDF and Word annotations and added the capability to export annotated Word documents to a final .doc/.docx file with the Word’s “Track Changes” feature active.

Print Preview

One more enhancement that you may be interested in is the ability to generate a document print preview when users try to print the annotated document. The print preview displays documents with annotations added.

To see a full list of changes and download the GroupDocs.Annotation for Java library version 1.6.0, please visit our download archive. For more information on the library please visit its homepage and documentation. We also encourage you to use the code examples that we’ve prepared to help you explore the library’s functionality quickly.

Managing User Access Rights and Specifying Fonts in the GroupDocs.Annotation for Java Library

GroupDocs.Annotation for Java is a lightweight document annotation Java library that allows the placing of markup and comments in Microsoft Office documents, PDFs, images and over 50 other file types. It provides end users with a rich set of markup tools and can be used on any web-enabled device without the need to install third-party software. Thanks to its cross-platform compatibility and convenient UI, GroupDocs.Annotation is an ideal solution if you need to add document annotation functionality to your Java application.

Recently I’ve added two short guides covering minor, but quite common, requests from GroupDocs.Annotation customers and would like to share them with you:

Manage User Rights in GroupDocs.Annotation for Java
GroupDocs.Annotation has a user authentication/authorization system that allows you to grant and restrict different access rights to certain users. Using it, the library can be easily integrated into the user management system used in your own application. You can find the guide on this page.

Setting the TrueType Fonts for Document Exporting
GroupDocs.Annotation for Java uses the TruType fonts to render annotations and to export documents with annotations. These fonts may be absent in Linux OSs. This guide shows how to install the fonts to be able to export documents properly.

Support for Native Word & PDF Annotations in GroupDocs.Annotation for Java Version 1.5+

GroupDocs.Annotation for Java is a flexible library built to extend document collaboration to the web. It allows end users to review, annotate and comment on over 50 types of documents. The library supports Microsoft Office and OpenDocument formats, PDFs, images, AutoCAD drawings and others. A rich set of tools allows users to draw lines, place watermarks and pointers, redact and comment text, strike through and underline it. And thanks to its cross-browser compatibility, the library lets users to annotate documents literally from any web-enabled device using just a browser and without having to install any third party software or plugins.

The library has seen a number of improvements in the recent releases. In this article I'd like to introduce the most notable improvements.

Support for Native PDF & Microsoft Word Annotations

Starting from version 1.5, GroupDocs.Annotation for Java supports native PDF and Word annotations. This means that annotations in a PDF document can be imported to GroupDocs.Annotation for further online review and editing. Also, annotations made with GroupDocs.Annotation can be exported to a PDF or Word file with the annotations in them for further offline editing.

Support for Microsoft Word’s “Change Tracking” Feature

Another useful feature supported in the newest version of the library is the “track changes” mechanism from Microsoft Word. Word documents annotated with the GroupDocs.Annotation for Java can now be exported to a Word (DOC/DOCX) file with the edits (comments, markups, etc.) highlighted with the Word’s “track changes” feature.

For more details on GroupDocs.Annotation for Java, please visit its homepage. Also, download a free evaluation copy along with code examples to try the library yourself.

Customizing GroupDocs.Annotation for Java UI to Match Your Needs

Hi everyone!
Continuing the series of articles related to GroupDocs.Annotation, this time I'd like to show you how to customize the look and feel of the GroupDocs.Annotation for Java UI.

GroupDocs.Annotation for Java is a flexible library that allows end-users to annotate, mark up and comment on documents of more than 50 common formats from within you own app. For more information on the library, please see this page.

The article provides detailed instructions that will help you make a custom user interface based on the GroupDocs.Annotation for Java library and seamlessly integrate it into your own app. It mainly covers customization of the navigation controls and collaboration events handling.

Also, a sample code project is provided for better understanding of how the interface can be tweaked.

Go to the tutorial >>>

Bring GroupDocs.Annotation for Java Functionality into Your PHP Application

Greetings to everyone! And special greetings to the PHP community, since this time we are going to bring GroupDocs.Annotation for Java to your world.

The GroupDocs.Annotation for Java library is a rich online collaboration tool for reviewing and annotating documents on the web. With high fidelity document rendering, it provides end-users with a comprehensive set of commenting and markup tools. Designed to work in the web and implemented in the HTML5-compliant borders, GroupDocs.Annotation for Java library supports over 50 file formats, including PDF, Microsoft Word, Excel and PowerPoint documents, as well as TIFF, PNG, JPG and other image formats.

Earlier it was kind of unclear for developers working on platforms other than .NET and Java, in particular for those who work in a PHP environment, how to integrate the GroupDocs.Annotation for Java library into their application. We all know that using iframes is not the best solution out there. So, in this article we'd like to share a detailed guide of how to integrate the GroupDocs.Annotation for Java into a PHP application without having to use iframes.

Go to the tutorial >>>

Using Shared Storage with the GroupDocs.Annotation for Java Library in Windows and Linux Environments

Hello!
Today I'd like to show you how to store and open files from a shared folder within your network using the GroupDocs.Annotation for Java library.

For those of you who are not familiar with the library yet, it's basically a web-based document viewer that comes with a comprehensive set of annotation tools. The library allows end users to comment on and mark up almost 50 types of documents from within your Java app. For more details on the library, please see this page.

If you or your client have a private collaboration network and want to use a shared folder for storing the annotated documents, this article is for you. It will guide you through using the GroupDocs.Annotation for Java library with a network storage within your Windows and Linux environments.

Go to the tutorial >>>

Easy Integrate GroupDocs.Annotation for .NET Library into Your ASP.NET MVC5 App

GroupDocs.Annotation for .NET Library logoGroupDocs.Annotation for .NET library is a web-based framework which provides features for annotating different types of documents in a web-browser without having to install plugins or middleware on the client. With GroupDocs.Annotation, end users can view and annotate PDF, Microsoft Word, Excel, Outlook, PowerPoint, OpenOffice, AutoCAD and other types of documents and image files. The library comes with a set of commenting and markup tools, including: rectangles, polylines, watermarks, point and area notes, text markup and strikeouts.

In this article I'd like to help you discover the GroupDocs.Annotation for .NET library's basic functionality: how it works, where annotations are stored, how to manage users, etc. I'm also going to show you how to use the library in an ASP.NET MVC application. The sample project described in the article is based on MVC5, but most of the code can be used with any other versions of the MVC framework.

Go to the article >>>

Using a Network Storage with the GroupDocs.Annotation for .NET Library

Greetings everyone!
GroupDocs.Annotation for .NET Library logo

Not all of you might know that the latest version of the GroupDocs.Annotation for .NET library can read and save annotated documents not only from local storage or web links, but also from network storage. In other words, you can now locate documents on any network machine.

This feature can be useful for businesses who have several machines networked to one main storage, or for customers who use one machine as a server and another one as a file storage. In this article I'd like to show you how to use network storage with the GroupDocs.Annotation for .NET library and how to configure your servers.

Go to the article >>>

GroupDocs.Annotation for Java – Integrating with a Java Web Project

GroupDocs.AnnotationGreetings everyone!
As you may already know, we've recently released the GroupDocs.Annotation for Java library. It is basically an HTML5-based document viewer that comes with a comprehensive set of tools for marking up and commenting on documents of almost 50 file formats. The library provides end users with the ability to view, annotate and collaborate on documents in real time.

Today we'd like to present you with a quick guide on how to set up a basic Java web application with the document annotation capability. In this tutorial you will find out how to initialize and use AnnotationHandler, the main class that represents the GroupDocs.Annotation library itself. Further, you will find a request mapping, so that you can correctly map user actions to the server side code. Another nice feature is the configuration of the SignalR library, the tool that enables real time collaboration mode, when several parties can annotate the same document simultaneously and see each other's comments in real time.

For those of you who would like to try and test the GroupDocs.Annotation for Java web application, but have no time for creating it from scratch, we provide the project source code. So feel free to download, deploy and configure it for your needs.

If you are using NetBeans, you can just create a new "Web Application with Existing Sources", point to the sample sources and start it from the IDE.

Go to the tutorial >>>

GroupDocs.Annotation for Java Library – Annotate PDF, Office and Image Files within Your Java Apps

Java PDF AnnotationWe are pleased to inform developers, especially those of you who prefer the Linux platform, about the release of the GroupDocs.Annotation for Java library. It is an HTML5 standard compliant library that allows you to display PDF, Microsoft Office and image files and comes with a comprehensive set of document commenting and markup tools. The viewer can work two ways: by rasterizing documents or by converting them to a combination of SVG, HTML and CSS. Both methods deliver clear, high-fidelity rendering. Key benefits include: 

  • Seamlessly enable end users to view, annotate, share and print more than 45 document formats, including PDF, Microsoft Office (DOC, DOCX, XLS, XLSX, PPT, PPTX, etc.) and OpenDocument files (ODT, ODS, etc.), plain text documents, CAD and raster images within your Java apps.
  • Documents can be rendered as real text files (HTML5 based technology of HTML, CSS and SVG combination), meaning users can select, mark up, strikeout and comment on text within a document.
  • GroupDocs.Annotation for Java is a 100% native solution - you don't need any 3rd party software.
  • Simplicity of installation - the library can be deployed with a packaged JAR file or hosted within your own servlet container.
  • Using only a few JavaScript lines or an iframe, you can integrate the UI, which can be easily customized to fit the look and style of your own app.
  • GroupDocs.Annotation for Java is set up to work cross-domain using JSONP and CORS, so it's designed to be run external to projects. Thanks to this, PHP and RoR Linux-based applications can use it from within the same server.
  • The library allows end users to view and annotate documents from any web-enabled device, including tablets and mobiles, and using any HTML5 compliant web-browser.

For more information on the GroupDocs.Annotation for Java library, please visit the product page, check out code samples and download a free evaluation copy.

Also, please feel free to contact our sales team for an evaluation license which enables you to test all features without any limits during 30 days for free.


Back to top