<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-viewer</artifactId>
    <version>24.6</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-viewer', version: '24.6')
copied!  
<dependency org="com.groupdocs" name="groupdocs-viewer" rev="24.6">
    <artifact name="groupdocs-viewer" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-viewer" % "24.6"
copied!  

What’s new in the GroupDocs.Viewer for Java 24.6

Release Highlights

GroupDocs.Viewer for Java 24.6 delivers powerful upgrades for spreadsheet handling, resource management, font licensing, and image rendering. This release adds the ability to render Excel spreadsheets using defined page breaks and print areas, improving output layout control. Developers can now skip loading external resources or selectively allow specific URLs, enhancing security and performance. Other major additions include support for reading licenses from embedded resources and better HTML output quality by wrapping images in SVG for PDF and layout formats.

New Features

  • Render Excel by Page Breaks and Print Areas:
    Supports splitting Excel sheets across pages based on print setup—mirroring Excel’s native printing behavior.
  • Skip External Resource Loading:
    Use LoadOptions to prevent or whitelist document-linked external resources, streamlining secure, offline rendering.
  • Embedded Resource Licensing Support:
    Licenses can now be embedded within the application and referenced by their resource path—useful for deployment consistency.
  • Skip Font License Verification for XPS/OXPS:
    Enables continued rendering when restricted fonts are present in XPS documents using a new PDF option.
  • Wrap Images in SVG for Higher-Quality HTML Output:
    Improves the clarity of HTML output from PDFs and page layout formats by encapsulating images within scalable vector graphics.

Bug Fixes

  • Improved Excel Viewing Experience:
    Fixed horizontal scrolling and autofit column issues across embedded and external HTML rendering modes.
  • Stability Fixes in AI and Slides Rendering:
    Resolved application freezes and black render issues in AI files; fixed font table parsing in PowerPoint files.
  • Enhanced PDF Rendering Efficiency:
    Addressed performance and slowness caused by specific rendering settings.
  • Error Handling Enhancements:
    Fixed null reference exceptions in multiple document types including EPUB, OXPS, DOCX, and Tasks.
  • Visual Accuracy Improvements:
    Corrected gradient rendering in vector files and ensured consistent font embedding behavior.

Public API and Backward Incompatible Changes

  • New Method: SpreadsheetOptions.forRenderingPrintAreaAndPageBreaks()
    Allows rendering of Excel files split by print area and page breaks.
  • New Properties in LoadOptions:
    • setSkipExternalResources(boolean)
    • getWhitelistedResources()
  • New Feature:
    License#setLicense(String resourceName) to use embedded license files.
  • New PDF Options:
    • PdfOptions#setDisableFontLicenseVerifications(boolean) to bypass font embedding errors in XPS.
    • PdfOptions#setWrapImagesInSvg(boolean) to enhance image clarity in HTML output.

🔍 Explore the Full Release Details

For full list of updates, please visit GroupDocs.Viewer for Java 24.6 Release Notes.

VersionRelease Date
25.2March 4, 2025
24.12December 30, 2024
24.10October 31, 2024
24.8August 29, 2024
24.6June 28, 2024
24.4May 1, 2024
24.2February 29, 2024
23.11November 30, 2023
23.7July 14, 2023
23.4April 21, 2023
23.2February 1, 2023
22.12December 12, 2022
22.9September 20, 2022
3.2.2January 25, 2022
3.2.0January 25, 2022
21.4January 25, 2022
21.11.1January 25, 2022
2.9.0January 25, 2022
2.6.0January 25, 2022
2.5.0January 25, 2022
2.4.1January 25, 2022
2.3.0January 25, 2022
2.2.0January 25, 2022
2.13.0January 25, 2022
19.8January 25, 2022
19.8.2January 25, 2022
19.8.1January 25, 2022
19.1January 25, 2022
17.5.1January 25, 2022
21.11November 24, 2021
21.2February 26, 2021
20.7July 24, 2020
20.1.1June 9, 2020
20.1January 31, 2020
19.11November 22, 2019
19.3March 29, 2019
17.5.0April 19, 2018
17.2.0April 19, 2018
3.7.0April 19, 2018
3.2.1April 19, 2018
3.0.0April 19, 2018
2.14.0April 19, 2018
2.12.0April 19, 2018
2.11.0April 19, 2018
2.10.0April 19, 2018
2.9.1April 19, 2018
2.8.0April 19, 2018
2.7.0April 19, 2018
2.4.0April 19, 2018