Cache Page Previews in GroupDocs.Annotation for Java

EnableCaching feature stores image representation of a document in a directory at the local drive. In case of repetitive processing/opening of a document, it uses cached data. This thing helps to avoid the processing of the same document again and again. You might be waiting for this feature. The wait is over now. API permits you to enable cache mode and cache page previews. Let’s take a overview of its code.

We also added possibility to display distance annotation caption for following file formats:

  • Slides
  • Cells
  • Diagrams

Following older formats for Slides, Cells and Words are now supported:

  • .ppt
  • .xls
  • .doc

Along with new features, this release also covers some improvements and bug fixes. As an improvement we refactored PdfToPngSaver and AnnotationHandler classes.

Moreover, we added additional parameters to ImageOptions for more flexible retrieval of pages.

  • Parameter for getting pages without annotation
  • Retrieve the range of pages
  • Retrieve only specific count of pages

Given below are some of the major bug fixes.

  • Line width not set in Slides
  • Issue when opening protected with password documents
  • Exception occurred while remove annotations from .xls file

Download our open-source example project here and explore API documentation here.

Share on FacebookTweet about this on TwitterShare on LinkedIn