Aspose.Cells.Cpp 24.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Cells.Cpp --version 24.8.0                
NuGet\Install-Package Aspose.Cells.Cpp -Version 24.8.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Cells.Cpp" Version="24.8.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Cells.Cpp --version 24.8.0                
#r "nuget: Aspose.Cells.Cpp, 24.8.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Cells.Cpp as a Cake Addin
#addin nuget:?package=Aspose.Cells.Cpp&version=24.8.0

// Install Aspose.Cells.Cpp as a Cake Tool
#tool nuget:?package=Aspose.Cells.Cpp&version=24.8.0                

C++ Library for Excel File Formats

Version 24.8.0 NuGet

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

Aspose.Cells for C++ is a native C++ library to create, manipulate, process, and convert Microsoft Excel® files without needing Microsoft Office® or Automation. The Excel C++ API supports Excel 97-2003 (XLS), Excel 2007-2013/2016 (XLSX, XLSM, XLSB), OpenOffice XML, and other formats such as CSV, TSV, and more.

It allows the developers to work with spreadsheet rows, columns, data, formulas, pivot tables, worksheets, tables, charts, and drawing objects from their own C++ applications.

What is Aspose.Cells for C++?

Aspose.Cells for C++ is a native C++ on premise API to integrate Spreadsheet creation, manipulation and conversion features into your C++ Apps. It supports working with many popular spreadsheet file formats from Microsoft Excel (XLS, XLSX, XLSB, CSV, etc.) and OpenOffice/LibreOffice (ODS).

You can use Aspose.Cells for C++ to develop 32-bit (Windows® x86) & 64-bit applications in any development environment that supports C++, such as, Microsoft Visual Studio. Aspose.Cells for C++ is a native assembly that can be deployed by simply copying it. You do not have to worry about other services or modules.

Aspose.Cells for C++ allows you to work with the built-in as well as the custom document properties in Microsoft Excel. Supports high-quality conversion of Excel Workbooks to PDF/A compliant files. Work with formulas, pivot tables, worksheets, tables, ranges, charts, OLE objects and much more.

Supported Operating Systems

The Aspose.Cells for C++ library supports the following 64-bit or 32-bit operating systems and platform:

  • Microsoft Windows®: Windows x86, Windows x86_64
  • Linux: Linux x86_64
  • macOS: macOS 11 or Later (arm64, x86_64)

Excel File Processing Features

What's New in v.24.8.0

This release of Aspose.Cells for C++ includes several improvements, new features, enhancements, and bug fixes. Here are the key updates:

New Features:

  • Enhanced Pivot Table Sorting: Added support for sorting Pivot Table by specific field items, including the ability to sort by Pivot Field Item (CELLSNET-46200, CELLSNET-55104).
  • Improved Data Manipulation: Introduced support for the VALUETOTEXT function, allowing more flexibility in handling cell data (CELLSNET-56269).
  • Picture Placement in Cells: Now you can easily visit all cells containing “Place in Cell” pictures, enhancing your ability to manage visual data in your spreadsheets (CELLSNET-56093).

Enhancements:

  • Formula Editing: Enhanced the editing of formulas by supporting blank spaces, making formula creation more intuitive (CELLSNET-55865).
  • Security Enhancement: Document properties are now excluded from encryption when encrypting files, ensuring that metadata remains accessible (CELLSNET-56354).

Bug Fixes:

  • Excel to PDF Rendering: Resolved multiple issues where characters were rendered incorrectly, and text content was inconsistently rendered compared to Excel’s native PDF output (CELLSNET-56207, CELLSNET-56301).
  • Chart and Image Rendering: Fixed various issues related to chart and image rendering, including missing labels and incorrect alignment of chart elements (CELLSNET-56198, CELLSNET-56280, CELLSNET-56290).
  • Excel File Conversion Errors: Addressed problems where Excel files were converted into PDFs or other formats with multiple pages when only one was expected, and corrected errors related to underline display and HTML output (CELLSNET-56190, CELLSNET-56248, CELLSNET-56315).
  • Pivot Table and Worksheet Integrity: Solved issues where formatting was lost or corrupted during save operations involving Pivot Tables and worksheets, and fixed errors that caused worksheets to crash when opened (CELLSNET-44955, CELLSNET-46995, CELLSNET-56234).
  • Data Import/Export: Improved the handling of JSON data within Excel, preventing data misplacement and ensuring proper attribute export (CELLSNET-56240, CELLSNET-56241).

Public API Changes:

  • New Enum and Methods: Introduced the MergedCellsShrinkType enum to manage how merged cells shrink when deleting blank rows/columns, and added new methods to support LaTeX and MathML conversion, as well as enhancing sorting capabilities in Pivot Tables (CELLSNET-56406, CELLSNET-56407).
  • Enhanced HTML and JSON Handling: Added methods to handle HTML character entities as decimal codes and to manage JSON schemas during Excel to JSON conversions (CELLSNET-56354, CELLSNET-56407).

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.Cells for CPP 24.7 Release Notes.

Supported Read & Write Formats

  • Microsoft Excel®: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM, CSV, TSV, XML, OTS, TabDelimited, SpreadsheetML
  • OpenOffice®: ODS, SXC, FODS
  • Text: TXT, JSON
  • Web: HTML, MHTML
  • Numbers: Apple’s iWork office suite Numbers app documents
  • eBook: EPUB

Supported Output Only Formats

  • Microsoft Word®: DOCX
  • Microsoft PowerPoint®: PPTX
  • Microsoft Excel®: XLAM
  • Fixed Layout: PDF, PDF/A, XPS
  • Data Interchange: DIF
  • Vector Graphics: SVG
  • Image: TIFF, PNG, BMP, JPEG, GIF
  • Metafile: EMF
  • Markdown: MD
  • Other: SQL, XHTML

Get Started

Are you ready to give Aspose.Cells for C++ a try? Simply execute Install-Package Aspose.Cells.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Cells for C++ and want to upgrade the version, please execute Update-Package Aspose.Cells.Cpp to get the latest version.

Convert XLS to XLSX, XLSB & CSV using C++

Try executing the below snippet to see how API works in your environment or check the GitHub Repository for other common usage scenarios.

U16String dir(u"your path");
// load the file to be converted
Workbook book(dir + u"template.xls");
// save in different formats
book.Save(dir + u"output.xlsx", SaveFormat::Xlsx);
book.Save(dir + u"output.xlsb", SaveFormat::Xlsb);
book.Save(dir + u"output.csv", SaveFormat::CSV);
book.Save(dir + u"output.json", SaveFormat::Json);

Create a Custom Excel Chart with C++

// create a new workbook
Workbook workbook;

// get first worksheet which is created by default
Worksheet worksheet = workbook.GetWorksheets().Get(0);

// add sample data
worksheet.GetCells().Get(u"A1").PutValue(50);
worksheet.GetCells().Get(u"A2").PutValue(100);
worksheet.GetCells().Get(u"A3").PutValue(150);
worksheet.GetCells().Get(u"A4").PutValue(110);
worksheet.GetCells().Get(u"B1").PutValue(260);
worksheet.GetCells().Get(u"B2").PutValue(12);
worksheet.GetCells().Get(u"B3").PutValue(50);
worksheet.GetCells().Get(u"B4").PutValue(100);

// add a chart to the worksheet
int chartIndex = worksheet.GetCharts().Add(Aspose::Cells::Charts::ChartType::Column, 5, 0, 20, 8);

// access the instance of the newly added chart
Chart chart = worksheet.GetCharts().Get(chartIndex);

// add SeriesCollection (chart data source) to the chart ranging from A1 to B4
chart.GetNSeries().Add(u"A1:B4", true);

// set the chart type of 2nd NSeries to display as line chart
chart.GetNSeries().Get(1).SetType(
	Aspose::Cells::Charts::ChartType::Line);

// save the Excel file
workbook.Save(u"output.xlsx");

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.Cells.Cpp:

Package Downloads
Aspose.Total.Cpp

Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.12.0 327 12/12/2024
24.11.0 412 11/13/2024
24.10.0 611 10/11/2024
24.9.0 1,801 9/11/2024
24.8.0 968 8/9/2024
24.7.0 982 7/12/2024
24.6.0 1,476 6/17/2024
24.5.0 1,988 5/10/2024
24.4.0 2,210 4/10/2024
24.3.0 2,551 3/11/2024
24.2.0 2,684 2/6/2024
24.1.0 3,145 1/10/2024
23.12.0 2,456 12/15/2023
23.11.0 3,415 11/13/2023
23.10.0 3,794 10/12/2023
23.9.0 3,665 9/14/2023
23.8.2 4,088 8/28/2023
23.8.1 502 8/23/2023
23.8.0 809 8/15/2023
23.7.0 6,374 7/10/2023
23.6.0 4,473 6/7/2023
23.5.0 3,520 5/9/2023
23.4.0 4,107 4/7/2023
23.3.1 535 3/31/2023
23.3.0 4,148 3/9/2023
23.2.0 4,879 2/6/2023
23.1.0 4,829 1/10/2023
22.12.0 5,101 12/1/2022
22.11.0 5,520 11/2/2022
22.10.0 5,336 10/8/2022
22.9.1 5,146 9/22/2022
22.9.0 803 9/2/2022
22.8.1 5,752 8/23/2022
22.8.0 814 8/5/2022
22.7.1 6,452 7/22/2022
22.7.0 934 7/4/2022
22.6.2 6,137 6/14/2022
22.6.1 782 6/13/2022
22.6.0 891 6/2/2022
22.5.0 9,638 4/29/2022
22.4.2 886 4/15/2022
22.4.1 805 4/8/2022
22.4.0 844 4/7/2022
22.3.0 5,916 3/4/2022
22.2.0 6,604 2/9/2022
22.1.0 5,415 1/14/2022
21.12.0 4,920 12/15/2021
21.11.0 9,714 11/16/2021
21.10.0 6,725 10/20/2021
21.9.0 6,121 9/14/2021
21.8.0 756 4/28/2022
21.7.0 8,762 7/15/2021
21.6.0 5,409 6/18/2021
21.5.0 606 5/18/2021
21.4.0 771 4/28/2022
21.3.0 825 4/28/2022
21.2.0 778 4/28/2022
21.1.0 19,433 1/25/2021
20.8.0 752 5/11/2022
20.7.0 23,130 7/21/2020
20.6.0 726 5/11/2022
20.5.0 749 6/16/2022
20.4.0 741 6/29/2022
20.3.0 766 6/29/2022
19.12.0 820 5/13/2022
19.11.0 21,393 11/27/2019
19.10.0 865 10/11/2019
19.9.0 740 5/13/2022
19.8.2 1,973 8/29/2019
19.8.1 1,087 8/29/2019
19.8.0 675 8/28/2019
19.7.0 808 6/9/2022
19.6.0 744 6/6/2022
19.5.0 783 6/6/2022
19.4.0 820 4/10/2019
19.3.1 789 3/22/2019
19.3.0 1,081 3/14/2019
19.2.0 786 6/6/2022
19.1.0 922 1/23/2019
18.8.0 1,115 8/21/2018
18.5.0 1,124 5/18/2018
18.4.0 1,463 4/18/2018