You are on page 1of 2

C++ Excel Library to read/write xls/xlsx files - ... https://www.libxl.

com/

LibXL
excel library for developers

HOME
Direct reading and writing Excel files
DOWNLOAD
LibXL is a library that can read and write Excel files. It doesn't require Microsoft Excel and .NET
framework, combines an easy to use and powerful features. Library can be used to DOCUMENTATION

Generate a new spreadsheet from scratch PURCHASE


Extract data from an existing spreadsheet
Edit an existing spreadsheet CONTACT

LibXL can help your applications in exporting and extracting data to/from Excel files with minimum effort.
Also it can be used as report engine. Library can be used in C, C++, C#, Delphi, Fortran and other
languages. Supports Excel 97-2003 binary formats (xls) and Excel 2007-2016 xml formats (xlsx/xlsm).
Supports Unicode and 64-bit platforms. There are a wrapper for .NET developers and separate Linux, Mac
and iOS editions. See features of the library in demo.xls or demo.xlsx files.

Simple interoperate, no more Excel dependency

LibXL has C/C++ headers, Delphi unit and .NET assembly for including in your project. No OLE
automation.

Customizing the look and feel

LibXL supports numerous formatting options: alignments, borders, colors, fill patterns, fonts, merging cells
and so on.

High performance

Writing speed is about 2 100 000 cells per second for numbers and 240 000 cells per second for
8-character random strings in binary xls format (CPU 3.2 GHz).

Royalty-free distribution with your application

Our customers can use this library in their commercial applications without any additional fees.

Code example: generate a new spreadsheet from scratch

#include "libxl.h"
using namespace libxl;

int main()
{
Book* book = xlCreateBook(); // xlCreateXMLBook() for xlsx
if(book)
{
Sheet* sheet = book->addSheet(L"Sheet1");
if(sheet)
{
sheet->writeStr(2, 1, L"Hello, World !");
sheet->writeNum(3, 1, 1000);
}
book->save(L"example.xls");
book->release();
}
return 0;
}

1 of 2 12/10/19, 4:57 PM
C++ Excel Library to read/write xls/xlsx files - ... https://www.libxl.com/

Previous example Next example Invoice example Download now Purchase now

© 2008 - 2019 XLware. All rights reserved.

2 of 2 12/10/19, 4:57 PM

You might also like