Aspose.Cells.Cpp
24.8.0
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
<PackageReference Include="Aspose.Cells.Cpp" Version="24.8.0" />
paket add Aspose.Cells.Cpp --version 24.8.0
#r "nuget: Aspose.Cells.Cpp, 24.8.0"
// 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
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
- Open a spreadsheet file without Microsoft Excel.
- Open an Excel file via a path on the local computer or using a stream.
- Convert worksheet to different image formats.
- Apply conditional formatting as per your choice.
- Manipulate pivot tables in your spreadsheets.
- Convert table to range without losing formatting.
- Fetch a cell's name by providing the row and column index, similarly, fetch row and column index of the cell from its name.
- Create Pyramid chart, Line chart, Bubble chart, or a custom chart.
- Render charts to images or PDF.
- Insert an OLE object into the worksheet.
- Access all the OLE objects contained in the worksheet for extraction.
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
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.11.0 | 105 | 11/13/2024 |
24.10.0 | 454 | 10/11/2024 |
24.9.0 | 1,210 | 9/11/2024 |
24.8.0 | 847 | 8/9/2024 |
24.7.0 | 858 | 7/12/2024 |
24.6.0 | 1,354 | 6/17/2024 |
24.5.0 | 1,829 | 5/10/2024 |
24.4.0 | 2,110 | 4/10/2024 |
24.3.0 | 2,390 | 3/11/2024 |
24.2.0 | 2,577 | 2/6/2024 |
24.1.0 | 3,005 | 1/10/2024 |
23.12.0 | 2,395 | 12/15/2023 |
23.11.0 | 3,332 | 11/13/2023 |
23.10.0 | 3,652 | 10/12/2023 |
23.9.0 | 3,590 | 9/14/2023 |
23.8.2 | 3,993 | 8/28/2023 |
23.8.1 | 490 | 8/23/2023 |
23.8.0 | 798 | 8/15/2023 |
23.7.0 | 6,257 | 7/10/2023 |
23.6.0 | 4,321 | 6/7/2023 |
23.5.0 | 3,407 | 5/9/2023 |
23.4.0 | 3,925 | 4/7/2023 |
23.3.1 | 524 | 3/31/2023 |
23.3.0 | 3,998 | 3/9/2023 |
23.2.0 | 4,691 | 2/6/2023 |
23.1.0 | 4,698 | 1/10/2023 |
22.12.0 | 4,969 | 12/1/2022 |
22.11.0 | 5,392 | 11/2/2022 |
22.10.0 | 5,143 | 10/8/2022 |
22.9.1 | 5,048 | 9/22/2022 |
22.9.0 | 793 | 9/2/2022 |
22.8.1 | 5,633 | 8/23/2022 |
22.8.0 | 803 | 8/5/2022 |
22.7.1 | 6,322 | 7/22/2022 |
22.7.0 | 923 | 7/4/2022 |
22.6.2 | 6,018 | 6/14/2022 |
22.6.1 | 771 | 6/13/2022 |
22.6.0 | 880 | 6/2/2022 |
22.5.0 | 9,425 | 4/29/2022 |
22.4.2 | 875 | 4/15/2022 |
22.4.1 | 794 | 4/8/2022 |
22.4.0 | 834 | 4/7/2022 |
22.3.0 | 5,772 | 3/4/2022 |
22.2.0 | 6,419 | 2/9/2022 |
22.1.0 | 5,404 | 1/14/2022 |
21.12.0 | 4,774 | 12/15/2021 |
21.11.0 | 9,447 | 11/16/2021 |
21.10.0 | 6,556 | 10/20/2021 |
21.9.0 | 5,972 | 9/14/2021 |
21.8.0 | 745 | 4/28/2022 |
21.7.0 | 8,587 | 7/15/2021 |
21.6.0 | 5,299 | 6/18/2021 |
21.5.0 | 595 | 5/18/2021 |
21.4.0 | 760 | 4/28/2022 |
21.3.0 | 814 | 4/28/2022 |
21.2.0 | 766 | 4/28/2022 |
21.1.0 | 19,010 | 1/25/2021 |
20.8.0 | 740 | 5/11/2022 |
20.7.0 | 22,553 | 7/21/2020 |
20.6.0 | 714 | 5/11/2022 |
20.5.0 | 739 | 6/16/2022 |
20.4.0 | 730 | 6/29/2022 |
20.3.0 | 756 | 6/29/2022 |
19.12.0 | 809 | 5/13/2022 |
19.11.0 | 21,270 | 11/27/2019 |
19.10.0 | 853 | 10/11/2019 |
19.9.0 | 729 | 5/13/2022 |
19.8.2 | 1,887 | 8/29/2019 |
19.8.1 | 1,083 | 8/29/2019 |
19.8.0 | 669 | 8/28/2019 |
19.7.0 | 797 | 6/9/2022 |
19.6.0 | 733 | 6/6/2022 |
19.5.0 | 771 | 6/6/2022 |
19.4.0 | 813 | 4/10/2019 |
19.3.1 | 779 | 3/22/2019 |
19.3.0 | 1,073 | 3/14/2019 |
19.2.0 | 774 | 6/6/2022 |
19.1.0 | 913 | 1/23/2019 |
18.8.0 | 1,105 | 8/21/2018 |
18.5.0 | 1,116 | 5/18/2018 |
18.4.0 | 1,457 | 4/18/2018 |