Aspose.Cells.Cpp
22.12.0
See the version list below for details.
dotnet add package Aspose.Cells.Cpp --version 22.12.0
NuGet\Install-Package Aspose.Cells.Cpp -Version 22.12.0
<PackageReference Include="Aspose.Cells.Cpp" Version="22.12.0" />
paket add Aspose.Cells.Cpp --version 22.12.0
#r "nuget: Aspose.Cells.Cpp, 22.12.0"
// Install Aspose.Cells.Cpp as a Cake Addin #addin nuget:?package=Aspose.Cells.Cpp&version=22.12.0 // Install Aspose.Cells.Cpp as a Cake Tool #tool nuget:?package=Aspose.Cells.Cpp&version=22.12.0
C++ Library for Excel File Formats
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | 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 and 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.
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 supported chart types to images or PDF.
- Insert an OLE object into the worksheet.
- Access all the OLE objects contained in the worksheet for extraction.
Supported Read & Write Formats
Microsoft Excel: XLS, XLSX, XLSB, SpreadsheetML
Text: CSV, TSV, TabDelimited
OpenDocument: ODS
Other: HTML, MHTML
Save Spreadsheet Documents As
Microsoft Excel: XLSM, XLTX, XLTM, XLAM
Portable Document Format: PDF, XPS
Text: CSV, TSV, TabDelimited
Images: SVG, TIFF, JPEG, PNG, BMP, GIF
Web: HTML, MHTML
Metafile: EMF
Other DIF
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.
// load the file to be converted
intrusive_ptr<IWorkbook> book
= Factory::CreateIWorkbook(dir->StringAppend(new String("template.xls")));
// save in different formats
book->Save(dir->StringAppend(new String("output.xlsx")), SaveFormat_Xlsx);
book->Save(dir->StringAppend(new String("output.xlsb")), SaveFormat_Xlsb);
book->Save(dir->StringAppend(new String("output.csv")), SaveFormat_CSV);
Create a Custom Excel Chart with C++
// create a new workbook
intrusive_ptr<IWorkbook> workbook = Factory::CreateIWorkbook();
// get first worksheet which is created by default
intrusive_ptr<IWorksheet> worksheet = workbook->GetIWorksheets()->GetObjectByIndex(0);
// add sample data
worksheet->GetICells()->GetObjectByIndex(new String("A1"))->PutValue(50);
worksheet->GetICells()->GetObjectByIndex(new String("A2"))->PutValue(100);
worksheet->GetICells()->GetObjectByIndex(new String("A3"))->PutValue(150);
worksheet->GetICells()->GetObjectByIndex(new String("A4"))->PutValue(110);
worksheet->GetICells()->GetObjectByIndex(new String("B1"))->PutValue(260);
worksheet->GetICells()->GetObjectByIndex(new String("B2"))->PutValue(12);
worksheet->GetICells()->GetObjectByIndex(new String("B3"))->PutValue(50);
worksheet->GetICells()->GetObjectByIndex(new String("B4"))->PutValue(100);
// add a chart to the worksheet
int chartIndex
= worksheet->GetICharts()->Add(Aspose::Cells::Charts::ChartType::ChartType_Column, 5, 0, 20, 8);
// access the instance of the newly added chart
intrusive_ptr<Aspose::Cells::Charts::IChart> chart
= worksheet->GetICharts()->GetObjectByIndex(chartIndex);
// add SeriesCollection (chart data source) to the chart ranging from A1 to B4
chart->GetNISeries()->Add(new String("A1:B4"), true);
// set the chart type of 2nd NSeries to display as line chart
chart->GetNISeries()->GetObjectByIndex(1)->SetType(
Aspose::Cells::Charts::ChartType::ChartType_Line);
// save the Excel file
workbook->Save(new String("output.xlsx")));
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
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.10.0 | 84 | 10/11/2024 |
24.9.0 | 722 | 9/11/2024 |
24.8.0 | 752 | 8/9/2024 |
24.7.0 | 793 | 7/12/2024 |
24.6.0 | 1,226 | 6/17/2024 |
24.5.0 | 1,687 | 5/10/2024 |
24.4.0 | 1,985 | 4/10/2024 |
24.3.0 | 2,254 | 3/11/2024 |
24.2.0 | 2,442 | 2/6/2024 |
24.1.0 | 2,833 | 1/10/2024 |
23.12.0 | 2,306 | 12/15/2023 |
23.11.0 | 3,195 | 11/13/2023 |
23.10.0 | 3,536 | 10/12/2023 |
23.9.0 | 3,493 | 9/14/2023 |
23.8.2 | 3,885 | 8/28/2023 |
23.8.1 | 486 | 8/23/2023 |
23.8.0 | 796 | 8/15/2023 |
23.7.0 | 6,162 | 7/10/2023 |
23.6.0 | 4,232 | 6/7/2023 |
23.5.0 | 3,270 | 5/9/2023 |
23.4.0 | 3,785 | 4/7/2023 |
23.3.1 | 514 | 3/31/2023 |
23.3.0 | 3,884 | 3/9/2023 |
23.2.0 | 4,590 | 2/6/2023 |
23.1.0 | 4,558 | 1/10/2023 |
22.12.0 | 4,892 | 12/1/2022 |
22.11.0 | 5,243 | 11/2/2022 |
22.10.0 | 5,027 | 10/8/2022 |
22.9.1 | 4,835 | 9/22/2022 |
22.9.0 | 791 | 9/2/2022 |
22.8.1 | 5,522 | 8/23/2022 |
22.8.0 | 801 | 8/5/2022 |
22.7.1 | 6,185 | 7/22/2022 |
22.7.0 | 921 | 7/4/2022 |
22.6.2 | 5,880 | 6/14/2022 |
22.6.1 | 769 | 6/13/2022 |
22.6.0 | 878 | 6/2/2022 |
22.5.0 | 9,235 | 4/29/2022 |
22.4.2 | 873 | 4/15/2022 |
22.4.1 | 792 | 4/8/2022 |
22.4.0 | 825 | 4/7/2022 |
22.3.0 | 5,699 | 3/4/2022 |
22.2.0 | 6,264 | 2/9/2022 |
22.1.0 | 5,402 | 1/14/2022 |
21.12.0 | 4,659 | 12/15/2021 |
21.11.0 | 9,291 | 11/16/2021 |
21.10.0 | 6,459 | 10/20/2021 |
21.9.0 | 5,816 | 9/14/2021 |
21.8.0 | 735 | 4/28/2022 |
21.7.0 | 8,342 | 7/15/2021 |
21.6.0 | 5,161 | 6/18/2021 |
21.5.0 | 584 | 5/18/2021 |
21.4.0 | 758 | 4/28/2022 |
21.3.0 | 811 | 4/28/2022 |
21.2.0 | 756 | 4/28/2022 |
21.1.0 | 18,635 | 1/25/2021 |
20.8.0 | 730 | 5/11/2022 |
20.7.0 | 21,900 | 7/21/2020 |
20.6.0 | 696 | 5/11/2022 |
20.5.0 | 737 | 6/16/2022 |
20.4.0 | 720 | 6/29/2022 |
20.3.0 | 754 | 6/29/2022 |
19.12.0 | 806 | 5/13/2022 |
19.11.0 | 20,777 | 11/27/2019 |
19.10.0 | 843 | 10/11/2019 |
19.9.0 | 726 | 5/13/2022 |
19.8.2 | 1,836 | 8/29/2019 |
19.8.1 | 1,081 | 8/29/2019 |
19.8.0 | 667 | 8/28/2019 |
19.7.0 | 788 | 6/9/2022 |
19.6.0 | 723 | 6/6/2022 |
19.5.0 | 769 | 6/6/2022 |
19.4.0 | 803 | 4/10/2019 |
19.3.1 | 776 | 3/22/2019 |
19.3.0 | 1,068 | 3/14/2019 |
19.2.0 | 764 | 6/6/2022 |
19.1.0 | 911 | 1/23/2019 |
18.8.0 | 1,101 | 8/21/2018 |
18.5.0 | 1,113 | 5/18/2018 |
18.4.0 | 1,453 | 4/18/2018 |