Aspose.Cells  for C++

C++ library of Excel - Aspose.Cells

Create, Read, Write and Parse spreadsheets without any Microsoft Excel dependencies within full-functional C++ applications.

  Download Free Trial

The Aspose.Cells C++ library is a native C++ library for Spreadsheet manipulation. Applications can perform functions such as creating, converting and editing spreadsheet's Built-In and Custom Properties, Themes, Styles and Formatting, Data Validation, Conditional Formatting, Reading, Writing and Calculating Formulas, Grouping Rows and Columns and much more without relying on Office Automation or Microsoft Excel. The API supports the most common spreadsheet formats (such as XLS, XLSX, XLSM, and XLSB) as well as other types of file formats (such PDF, XPS) and the most common image formats (such as JPEG, PNG, BMP, TIFF, GIF, EMF, SVG).

Advanced features of the C++ library for Excel - Aspose.Cells

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

System Requirements

The Aspose.Cells C++ library for Excel supports the following 64-bit or 32-bit operating systems and platforms:
Operating System     Versions
Microsoft Windows
  • Windows x86
  • Windows x86_64
  • Linux x86_64
  • Linux for ARM (aarch64)
  • macOS 11 or later(arm64, x86_64)

Zero Dependency on Microsoft Excel

The Aspose.Cells C++ library for Excel is totally independent and is not affiliated with, nor authorized, sponsored, or otherwise approved by Microsoft Corporation. The Aspose.Cells C++ library never needs Microsoft Office or Microsoft Excel to be installed on the machine to work with Excel document formats.

Simple & Reliable Conversion of Excel Formats

The Aspose.Cells C++ library is a powerful set of APIs that provide the ability to load, edit, write and inter-convert Excel file formats without worrying about the format-specific details. The API allows you to convert spreadsheets from any supported format to any other supported format with just two lines of code. It is that simple!

Convert Excel files in multiple formats - C++

	// load the document for conversion

	Workbook book(u"template.xls");

	// save in different formats

	book.Save(u"output.xlsx", SaveFormat::Xlsx);

	book.Save(u"output.xlsb", SaveFormat::Xlsb);

	book.Save(u"output.csv", SaveFormat::CSV);

Comprehensive Spreadsheet Formatting

The Aspose.Cells C++ library gives you complete control over how you wish to present your data onto the worksheet, by offering advanced formatting features. You can apply formatting to individual row, column, cell, or you can create a range of cells and apply formatting to it. You can also add rich text to a cell, apply borders, set background patterns or tweak font related styling aspects.

Visualize Data With Charts

The Aspose.Cells C++ library offers a comprehensive set of APIs to dynamically create all of the standard and custom chart types supported by Excel application. The API also provides the ability to update the data source for an existing chart and refresh it.

Render Worksheets as Images

The Aspose.Cells C++ library renders with the highest of fidelity to Microsoft Excel using its own rendering engine. It offers distinctive features such as rendering worksheets to images in popular formats including BMP, TIFF, PNG, JPEG & EMF. The Sheet2Image process is flexible thus allowing to select options such as controlling the resultant image's resolution.

Manipulate Columns and Rows

The Aspose.Cells C++ library offers rows and columns manipulation in multiple ways. Adjust row height and column width or auto resize the cell dimensions according to the contents in it, is too easy. The API also offers the means to delete and inset, hide or show as well as rows and columns grouping or un-grouping.

Accurately Convert Spreadsheets to PDF

The Aspose.Cells C++ library provides the ability to convert spreadsheets to PDF format while retaining the same quality as the original document. This fact makes the Aspose.Cells C++ library a perfect choice for the organizations which require to exchange documents in industry-standard formats as PDF.


Support and Learning Resources