GroupDocs.Viewer for Java 22.9 Release Notes

Major Features

There are lots of features, improvements, and bug-fixes in this release, most notable are:

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
VIEWERNET-3358Render Text files to responsive HTMLFeature
VIEWERNET-3354Throw exception when invalid or expired license providedFeature
VIEWERNET-3455Add TAR GZipped (TGZ) file-format supportFeature
VIEWERNET-3362Add TAR XZipped (TXZ) file-format supportFeature
VIEWERNET-2757Add 7-Zip Compressed File (.7z) file-format supportFeature
VIEWERNET-3361Add XZipped (XZ) file-format supportFeature
VIEWERNET-2811Need option to add empty columns.Feature
VIEWERNET-1988Add syntax highlight to programming language formatsFeature
VIEWERNET-3491Save external resources for text files rendered to HTML.Feature
VIEWERNET-3492Add Power shell script (.PS1) file-format supportFeature
VIEWERNET-3493Add Power shell script module (.PSM1) file-format supportFeature
VIEWERNET-3496Add Power shell script module manifest (.PSD1) file-format supportFeature
VIEWERNET-3570Open files with HTML table inside as XLS filesFeature
VIEWERNET-3459Support for reading latest Apples .numbers file formatImprovement
VIEWERNET-1972Convert PSD with custom fontsImprovement
VIEWERNET-3494Preserve original image format when converting JPEG to HTML with embedded resourcesImprovement
VIEWERNET-2126Convert PSD to PDF with selectable textImprovement
VIEWERNET-3136Improve rendering archive files to PDFImprovement
VIEWERNET-3457Render all archive folders content for multi-page archivesImprovement
VIEWERNET-3370Incorrect page count returned for Excel files in trial modeBug
VIEWERNET-3369Excel to HTML conversion only renders first pageBug
VIEWERNET-3368Word to HTML conversion - Overlapping charactersBug
VIEWERNET-3364“Shape to image Error!” exception when rendering XLSX file"Bug
VIEWERNET-3360Headings are rendered incorrectly when converting XLSX to PNGBug
VIEWERNET-3318Image and pie-chart incorrectly positioned when converting XLSX to HTMLBug
VIEWERNET-3266Exception when rendering CSV fileBug
VIEWERNET-3233“header doesn’t correspond to vCard format"“exception when rendering VCF file”Bug
VIEWERNET-3196“Object reference not set to an instance of an object.” exception when rendering OST fileBug
VIEWERNET-3141Excel file with watermark is not properly rendered to HTMLBug
VIEWERNET-3004PDF to HTML conversion: Annotation transparency lostBug
VIEWERNET-2941Parameter is not validBug
VIEWERNET-2755“PDF to HTML rendering wrong image colors in the output”Bug
VIEWERNET-2693Incorrect page count for EPUB documentBug
VIEWERNET-3443Invalid column index when converting XLSXBug
VIEWERNET-3359GetViewInfo hangs for specific XLSMBug
VIEWERNET-3314Exception ‘Value cannot be null. Parameter name: region’ when opening WMF fileBug
VIEWERNET-2252Some Chinese fonts cannot be displayed properlyBug
VIEWERNET-2462“File is corrupted or damaged” exception when rendring DWF file”Bug
VIEWERNET-2479Exception is thrown when loading VSDX fileBug
VIEWERNET-2694When watermark is added output HTML doesn’t ends properlyBug
VIEWERNET-2957Visio to PDF rendering issueBug
VIEWERNET-2992“Could not load file. File is corrupted or damaged.” exception when rendering IFC file"Bug
VIEWERNET-3133“Could not load file. File is corrupted or damaged.” exception when rendering CDR file"Bug
VIEWERNET-3138Specific IFC files failed to openBug
VIEWERNET-3231“Parameter is not valid.” exception when rendering VSD file"Bug
VIEWERNET-3275“Parameter is not valid.” exception when rendering VSDX file"Bug
VIEWERNET-3287“Could not load file. File is corrupted or damaged.” exception when rendering TGA file to HTML"Bug
VIEWERNET-3325NotImplementedException when viewing certain ZIP fileBug
VIEWERNET-3401“Parameter is not valid.” exception when rendering VSDX file"Bug
VIEWERNET-3404“The given key ‘1680’ was not present in the dictionary.” exception when rendering MPP file"Bug
VIEWERNET-3411“The given key ‘188744169’ was not present in the dictionary.” exception when rendering MPP file"Bug
VIEWERNET-3506Wrong call for Resize on specific DWG fileBug
VIEWERNET-3511Image loading failed exception thrown for specific DXF fileBug
VIEWERNET-3514Exception when converting Excel with hidden worksheets to HTMLBug
VIEWERNET-3517ImageSaveException on an attempt to convert specific PSD to PNGBug
VIEWERNET-3518Exception when trying to convert particular Psd file to pngBug
VIEWERNET-3529Bad representation after conversionBug
VIEWERNET-3531Git to HTML -> Out of Memory exceptionBug
VIEWERNET-3534Error when rendering specific DICOM file.Bug
VIEWERNET-3560Cannot load specific Xps file.Bug
VIEWERNET-3571Document viewer API only Renders the Deleted Folder of a PST FileBug
VIEWERNET-3489Invalid column index when rendering XLSM to PDFBug
VIEWERNET-3183“Arithmetic operation resulted in an overflow.” exception when rendering CDR file"Bug
VIEWERNET-3186“Could not load file. File is corrupted or damaged.” exception when rendering CDR file"Bug
VIEWERNET-3189“Could not load file. File is corrupted or damaged.” exception when rendering IFC file"Bug
VIEWERNET-3194“Could not load file. File is corrupted or damaged.” exception when rendering DGN file"Bug
VIEWERNET-3221“There was an issue with detecting page size. Please contact support.” exception when rendering DWF file"Bug
VIEWERNET-3228“Could not load file. File is corrupted or damaged” when viewing IFCBug
VIEWERNET-3274“Could not load file. File is corrupted or damaged.” exception when rendering DWG file"Bug
VIEWERNET-3451“Could not load file. File is corrupted or damaged.” exception when rendering VSD file"Bug
VIEWERNET-3512Failed to render specific PLT fileBug
VIEWERNET-3521Specific VDW, VSS, VST files rendering blank to IMAGE/HTMLBug
VIEWERNET-3538Radio buttons are blurry when converting XLSM to HTMLBug
VIEWERNET-3580“Unable to read beyond the end of the stream.” exception when rendering ODS fileBug
VIEWERNET-3583Junk email listed twice when converting PST to HTMLBug
VIEWERNET-3599Image shifted in specific XLS files when rendering to HTMLBug
VIEWERNET-3600Image not visible when converting specific XLSX file to HTMLBug
VIEWERNET-3607“Input string was not in a correct format.” exception when rendering XLSX fileBug
VIEWERNET-3615“Value was either too large or too small for a Decimal.” exception when rendering MPP fileBug
VIEWERNET-3627“Object reference not set to an instance of an object.” exception when rendering NUMBERS fileBug
VIEWERNET-3637Specific numbers document should be exported correctly.Bug
VIEWERNET-3638Enormous conversion time and output file size while converting specific worksheet of XLSX to HTMLBug

Public API and Backward Incompatible Changes

Since GroupDocs.Viewer v22.9 Java version 1.7 is not supported, Java 1.8 is minimum required version

Public API Changes

com.groupdocs.viewer.options.SpreadsheetOptions class

Added new DetectSeparator property.

/**
 * Detect separator (for CSV/TSV files).
 */
public boolean isDetectSeparator();

/**
 * Detect separator (for CSV/TSV files).
 */
public void setDetectSeparator(boolean detectSeparator);

See how to use new properties in the following help topic: Detect a CSV/TSV separator.

com.groupdocs.viewer.FileType

Fields were added to FileType enum that reflects new file formats that we’re supporting starting from v22.9.

/**
 * <p>
 * XZ file (.xz) is archive compressed a high-ratio compression algorithm based on the LZMA algorithm.
 * Learn more about this file format <a href="https://docs.fileformat.com/compression/xz/">here</a>.
 * </p>
 */
XZ("XZipped", ".xz")

/**
 * <p>
 * Consolidated Unix File Archive (.txz, .tar.xz) are archives created with Unix-based utility for collecting one or more files.
 * Learn more about this file format <a href="https://docs.fileformat.com/compression/xz/">here</a>.
 * </p>
 */
TXZ("Tar XZipped", ".txz")

/**
 * <p>
 * Consolidated Unix File Archive (.txz, .tar.xz) are archives created with Unix-based utility for collecting one or more files.
 * Learn more about this file format <a href="https://docs.fileformat.com/compression/xz/">here</a>.
 * </p>
 */
TARXZ("Tar XZipped", ".tar.xz")

/**
 * <p>
 * Consolidated Unix File Archive (.tgz, .tar.gz) are archives created with Unix-based utility for collecting one or more files.
 * Learn more about this file format <a href="https://docs.fileformat.com/compression/tgz/">here</a>.
 * </p>
 */
TGZ("Tar GZipped", ".tgz")

/**
 * <p>
 * Consolidated Unix File Archive (.tgz, .tar.gz) are archives created with Unix-based utility for collecting one or more files.
 * Learn more about this file format <a href="https://docs.fileformat.com/compression/tgz/">here</a>.
 * </p>
 */
TARGZ("Tar GZipped", ".tar.gz")

/**
 * <p>
 * 7Zip (.7z, .7zip) is free open source archiver with LZMA and LZMA2 compression.
 * Learn more about this file format <a href="https://docs.fileformat.com/compression/7z/">here</a>.
 * </p>
 */
SevenZip("7Zip", ".7z")

/**
 * PowerShell script module (.psm1) a file format for PowerShell module scripts.
 * <p>
 * Learn more about this file format <a href="https://docs.fileformat.com/">here</a>.
 * </p>
 */
PSM1("Windows PowerShell script module", ".psm1")

/**
 * PowerShell script file (.ps1) a file format for Windows PowerShell Cmdlet files.
 * <p>
 * Learn more about this file format <a href="https://docs.fileformat.com/">here</a>.
 * </p>
 */
PS1("Windows PowerShell Cmdlet File ", ".ps1")

/**
 * PowerShell script module manifest (.psd1) a file format for PowerShell module manifest scripts.
 * <p>
 * Learn more about this file format <a href="https://docs.fileformat.com/">here</a>.
 * </p>
 */
PSD1("Windows PowerShell script module manifest", ".psd1")

Behavior changes

  • Now when rendering source code files, they will be colorized. This feature is supported for following files: C++, CSS, HTML, JAVA, Javascript, JSON, PHP, SQL, XML, PSM1, PS1, PSD1

C# colorizing example:
C# coloring

SQL colorizing example:
SQL coloring

  • Since GroupDocs.Viewer 22.9 version when rendering archive to multiple HTML pages, all contents of the archive are rendered recursively, in previous versions only root folder was rendered.