Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

GroupDocs.Viewer for Node.js via Java 24.2

Download   Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 42.94KB
  • Date Added:
  • 7/3/2024

Description

This contains the NPM package of GroupDocs.Viewer for Node.js via Java 24.2.

File Details

Broader File Format Support

GroupDocs.Viewer for Node.js via Java 24.2 supports an extensive set of file formats. You can now:

  • View Unix CPIO archives (.cpio)
  • Render Design Web Format XPS files (.dwfx)
  • Open Autodesk FBX Interchange Files (.fbx) for 3D models
  • Explore Amazon AZW3/KF8 ebooks (.azw3)

Automatic Text Encoding Detection

The latest Node.js document viewer release can automatically identify the character encoding of text files (TXT, CSV, TSV) and eliminate the need for manual configuration. This coding sample demonstrates the feature usage.


const loadOptions = new groupdocs.viewer.LoadOptions()
loadOptions.setDetectCharset(true)

try {
    // Convert the spreadsheet to HTML.
    // {0} is replaced with the current page number in the file names.
    const viewer = new groupdocs.viewer.Viewer("employees.csv", loadOptions)
    const viewOptions = groupdocs.viewer.HtmlViewOptions.forEmbeddedResources("page_{0}.html")
    viewer.view(viewOptions)
}

Source*

Optimized PDF Export for Excel Spreadsheets

Developers can seamlessly reduce the size of their exported PDF documents by up to 40% with a new optimization option in version 24.2 of GroupDocs.Viewer for Node.js via Java across Windows, Linux, and macOS. Here’s how you can implement this functionality into your Node.js apps:


try {
    const viewer = new groupdocs.viewer.Viewer("employees.xlsx")
    const viewOptions = new groupdocs.viewer.PdfViewOptions()
    viewOptions.setOptimize(true)

    viewer.view(viewOptions)
}

Source*

Custom Margins for Excel to PDF Exports

Build feature-rich document viewing solutions offering finer control over the layout of your exported PDFs by setting custom margins for worksheets. The following code example showcases how to apply customized margins during Excel to PDF export in Node.js:


try {
    const viewer = new groupdocs.viewer.Viewer("invoice.xlsx")
    const viewOptions = new groupdocs.viewer.PdfViewOptions();

    // Set margins for worksheets in the output pdf pages
    viewOptions.getSpreadsheetOptions().setLeftMargin(0);
    viewOptions.getSpreadsheetOptions().setRightMargin(0.5);
    viewOptions.getSpreadsheetOptions().setTopMargin(1);
    viewOptions.getSpreadsheetOptions().setBottomMargin(-10); // set to default value

    viewer.view(viewOptions);
}

Source*

Supercharged Rendering Performance

Users will be able to experience smoother rendering across various document formats, particularly DWF files, with the latest document rendering API version.

Enhanced User Interface

The GroupDocs.Viewer for Node.js via Java UI now allows you to disable the print button from the backend for exercising better control on your favorite platform.

License File Location Check

Users can now verify the presence of the license file within the application folder and simplify the licensing process of the Node.js API.

Bug Fixes

This release also addresses numerous bugs reported by our valued users, including issues related to:

  • Memory exceptions during PDF rendering on Linux
  • Corrupted or damaged file exceptions for ODT and MBOX files
  • Issues rendering specific DWG and Excel files
  • Missing fonts and images in rendered outputs

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting GroupDocs.Viewer for Node.js via Java 24.2 Release Notes.

 English