Recently we’ve released a new version – 2.7.0 – of the GroupDocs.Viewer for Java library and in this post I’d like to share details about the most important enhancements we made in this latest version.
Among a number of code optimizations and improvements, we’ve added the ability to rotate document pages in the image-based rendering mode, added support to relative license paths, and the ability to rotate text watermarks within the PDF print adjustments.
But most importantly, we’ve updated the InputDataHandler interface to make the process of handling documents from custom sources easier. Now you can simply pass files’ GUIDs, IDs, paths, etc. without worrying about any internal encoding. Overall, the implementation and usage of the updated InputDataHandler interface became much simpler and more straightforward. We’ve prepared a detailed guide on how to configure the InputDataHandler interface – please see it on this page.
Also, we’ve updated samples built based on the library, so that you can explore the new APIs yourself. In particular, there are individual samples for Spring, Dropwizard and Servlets currently available for your choice. You can either download them from our website, or from the GitHub repositories:
- Spring – http://github.com/groupdocs/groupdocs-viewer-java-spring-sample
- Dropwizard – https://github.com/groupdocs/groupdocs-viewer-java-dropwizard-sample
- Servlets – https://github.com/groupdocs/groupdocs-viewer-java-web-sample