Aspose.Cells  for JavaScript via C++

JavaScript via C++ Excel File Format APIs

Generate, modify, transform, and render Excel spreadsheets using JavaScript via C++ in the browser or Node.js without Microsoft Excel.

  Download Free Trial
  
 

Aspose.Cells for JavaScript via C++ is a high-performance, feature-rich library for manipulating and converting spreadsheet files, including Excel (XLS, XLSX, XLSB, XLSM), ODS, CSV, and HTML formats. It provides a comprehensive set of features for creating, editing, converting, and rendering spreadsheets in both browser and Node.js environments. With full support for all major Excel formats, Aspose.Cells for JavaScript via C++ ensures maximum compatibility and flexibility across diverse use cases.

Built with WebAssembly to unlock near-native performance directly in the browser, Aspose.Cells for JavaScript via C++ enables fast and efficient spreadsheet processing without the need for a server. Its lightweight runtime footprint makes it perfect for serverless web applications that require advanced Excel functionality. Whether you're building dashboards, data processing pipelines, or document generation tools, Aspose.Cells for JavaScript via C++ offers a complete, reliable, and high-performance solution that works seamlessly across web, server-side, and hybrid environments.

Advanced features of the JavaScript via C++ library for Excel

Load & save Excel files using streams

Create & manipulate charts

Set data validation to restrict input

Organize data by grouping rows & columns

Manipulate built-in & custom properties

Add & manipulate hyperlinks

Create & manipulate Pivot Tables

Change the look of your workbook using themes

Create tables & list objects

Manipulate drawing objects

Apply styles and formatting to cells, rows, columns or ranges

Trace Precedents & Dependents

Read, write & calculate complex formulas

Add or extract OLE objects

Create conditional formatting rules

Create and implement user-defined Functions

Convert Chart to PDF format

Convert Chart to Image format

Simple & Reliable Conversion of Excel Formats

Aspose.Cells for JavaScript via C++ is a robust set of APIs that empower developers to load, edit, write, and inter-convert Excel file formats without needing to concern themselves with format-specific details. This API simplifies the process of converting spreadsheets between any supported formats, requiring just two lines of code to achieve this. It’s that straightforward!

Convert Excel File to PDF in html - JavaScript via C++


<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
        <input type="file" id="fileInput" />
        <button id="toPdf">Save to Pdf</button>
        <a id="downloadLink" style="display: none;">Download</a>
    </body>

    <script src="aspose.cells.js.min.js"></script>
    <script type="text/javascript">
        const { Workbook, SaveFormat } = AsposeCells;
        AsposeCells.onReady({
                license: "/lic/aspose.cells.enc",
                fontPath: "/fonts/",
                fontList: [
                    "arial.ttf",
                    "NotoSansSC-Regular.ttf"
                ]
            }).then(() => {
        });

        async function openSave(saveFormat, extension) {
            const fileInput = document.getElementById('fileInput');
            if (!fileInput.files.length) {
                alert('Please select an Excel file.');
                return;
            }

            const file = fileInput.files[0];
            const arrayBuffer = await file.arrayBuffer();
            var workbook = new Workbook(new Uint8Array(arrayBuffer));
            const outputData = workbook.save(saveFormat);

            const blob = new Blob([outputData]);
            const downloadLink = document.getElementById('downloadLink');
            downloadLink.href = URL.createObjectURL(blob);
            downloadLink.download = 'output.' + extension;
            downloadLink.style.display = 'block';
        }

        document.getElementById('toPdf').addEventListener('click', async () => {
            await openSave(SaveFormat.Pdf, "pdf");
        });
    </script>
</html>

Comprehensive Spreadsheet Formatting

Aspose.Cells for JavaScript via C++ offers complete control over how you present your data on the worksheet, providing advanced formatting features. You can apply formatting to individual rows, columns, or cells, or create a range of cells to format collectively. Additionally, you can add rich text to cells, apply borders, set background patterns, and customize various font-related styling options.

Visualize Data With Charts

Aspose.Cells for JavaScript via C++ provides a comprehensive set of APIs to dynamically create all standard and custom chart types supported by the Excel application. Additionally, the API allows you to update the data source for existing charts and refresh them with ease.

Render Worksheets as Images

Aspose.Cells for JavaScript via C++ renders with the utmost fidelity to Microsoft Excel, utilizing its own rendering engine. It includes unique features such as rendering worksheets to images in popular formats like BMP, TIFF, PNG, JPEG, and EMF. The Sheet2Image process is flexible, allowing you to select options such as controlling the resolution of the resulting image.

Manipulate Columns and Rows

Aspose.Cells for JavaScript via C++ provides versatile options for manipulating rows and columns. It's easy to adjust row heights and column widths or to automatically resize cell dimensions based on their contents. The API also allows you to delete and insert rows and columns, hide or show them, and group or ungroup rows and columns as needed.

Accurately Convert Spreadsheets to PDF

Aspose.Cells for JavaScript via C++ enables the conversion of spreadsheets to PDF format while preserving the same quality as the original documents. This capability makes Aspose.Cells for JavaScript via C++ an ideal choice for organizations that need to exchange documents in the industry-standard PDF format.

  

Support and Learning Resources