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

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

Release Highlights

GroupDocs.Viewer for Java 24.2 introduces broad file format support, PDF export enhancements, UI flexibility, and significant rendering improvements. This release expands document compatibility with the addition of Unix CPIO, DWFX, FBX, and Amazon AZW3 formats. It also improves file viewing through automatic text encoding detection and optimized PDF output when exporting spreadsheets. These updates provide developers with more control, efficiency, and compatibility across various platforms including Linux and Docker environments.

New Features

  • Support for Unix CPIO Archive (.cpio):
    Enables rendering of CPIO archives widely used in Linux and Unix systems.
  • Support for Design Web Format XPS (.dwfx):
    View Autodesk DWFX files, allowing developers to integrate 2D/3D CAD data viewing.
  • Autodetect Text File Encoding:
    Enhanced charset detection for TXT, CSV, and TSV files, now defaults to UTF-8 for unmatched encodings.
  • Optimize PDF Output from Excel Spreadsheets:
    Exported PDFs are now smaller by omitting redundant fonts and optimizing grid lines, potentially reducing file size by up to 40%.
  • Support for Autodesk FBX Files:
    Adds compatibility for FBX 3D model files used in animation, games, and VR/AR applications.
  • Amazon AZW3 (KF8) Ebook Support:
    Renders Kindle-compatible eBooks with extended MOBI/AZW features.
  • Set Margins when Exporting Excel to PDF:
    Developers can now specify page margins for more controlled PDF output.
  • UI Print Button Control:
    Optionally disable print functionality in GroupDocs.Viewer.UI.
  • License File Auto-Detection:
    Enhanced license management by checking multiple predefined paths including the app root directory.

Enhancements

  • Improved DWF Rendering Performance:
    Rendering and viewing performance for DWF files has been significantly improved, especially in HTML mode.

Bug Fixes

  • Resolved Multiple Out-of-Memory Issues:
    Memory handling improved for CGM, PDF, and Docker environments.
  • Font Rendering and Embedding Fixes:
    Corrected font issues during DOCX to HTML and PDF conversions.
  • Fixed File Detection and Rendering Issues:
    Problems with MOBI, ICO, DIB, ODG, STL, and embedded drawing files in OneNote were addressed.
  • Improved Platform Compatibility:
    Fixes for Linux-related crashes, blacked-out PDFs, and inconsistencies with Azure deployments.

Public API and Backward Incompatible Changes

  • Unix CPIO Archive Support Added:
    A new file format .cpio is now supported, facilitating viewing of archives used in Linux kernel and RPM packages.
  • DWFX Format Support Introduced:
    DWFX files, often used in CAD workflows, can now be rendered accurately.
  • Charset Detection in FileType Class:
    New methods to detect encoding from file paths or streams were introduced.
  • LoadOptions Updated:
    LoadOptions#getCharset() default changed to StandardCharsets.UTF_8, and setDetectCharset(true) enables automatic detection.

🔍 Explore the Full Release Details

For full list of updates, please visit GroupDocs.Viewer for Java 24.2 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