🚀 GroupDocs.Viewer for Java 25.9: New Features and Improvements

We are excited to announce the release of GroupDocs.Viewer for Java 25.9, bringing a range of new features, improvements, and bug fixes. This update enhances document rendering capabilities and provides developers with more tools for handling different file formats.

🆕 Key New Features

1. Multipage AI (Adobe Illustrator) Rendering

You can now render multipage AI files, expanding support for vector graphics and design files.

2. LHA Archive Format Support

Native support for .lha / .lzh archives has been added, including auto-detection of LHA files.

3. Full Email Address Display

Email rendering now displays full sender and recipient addresses without truncation or obfuscation.

4. Disable Updating Fields When Saving WordProcessing Documents

A new isUpdateFields option allows disabling field updates when saving WordProcessing documents (DOC, DOCX, DOCM, etc.) to HTML, PDF, or images.

5. Text Highlighting in Rendered Documents

You can highlight text, such as search results, in the output formats for improved document interaction.

🔧 Other Improvements

  • Remove JavaScript from Output HTML: A public option was added to remove JavaScript from generated HTML.
  • Get All Used Fonts: The Viewer class now includes a getAllFonts() method to retrieve all fonts used in a document.
  • CAB and WIM Archive Format Support: Added support for CAB and WIM formats with auto-detection.
  • Optionally Disable JavaScript When Converting to HTML: You can disable JavaScript preservation in HTML outputs for relevant formats.

🛠️ Public API Changes

  • New boolean property isRemoveJavaScript in HtmlViewOptions to control JavaScript inclusion in HTML output.
  • New boolean property isUpdateFields in WordProcessingOptions to control field updates when saving documents.
  • New class UsedFontInfo in com.groupdocs.viewer.fonts for font information.
  • New getAllFonts() method in Viewer class.
  • New SearchHighlightOptions class in com.groupdocs.viewer.options.
  • New search(SearchHighlightOptions) method in Viewer class.
  • New classes FontStyles and FontFormat in com.groupdocs.viewer.fonts.

✅ Bug Fixes

Version 25.9 includes over 20 bug fixes, including:

  • DWG file rendering issues.
  • Exceptions when rendering old XLS files.
  • Comment rendering in Presentation files.
  • HTML rendering issues with archives.
  • View info width and height issues for archive files.
  • XML document rendering improvements.
  • DOCX to HTML conversion fixes.
  • EPS file rendering errors.
  • DXF, DWF, PS, and TEX rendering issues.
  • XLS rendering in HTML/PDF problems.
  • PDF quality improvements.

📥 How to Update

To update to GroupDocs.Viewer for Java 25.9 via Maven:

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-viewer</artifactId>
    <version>25.9</version>
</dependency>

Release notes and detailed documentation for version 25.9 can be found on the official GroupDocs website.