xlnt - community edition
|
xlnt is a modern C++ library (requiring c++11 or above) for manipulating spreadsheets in memory and reading/writing them from/to XLSX files as described in ECMA 376 5th edition. The first public release of xlnt version 1.0 was on May 10th, 2017. Current work is focused on increasing compatibility, improving performance, and brainstorming future development goals. For a high-level summary of what you can do with this library, see the feature list. Contributions are welcome in the form of pull requests or discussions on the repository's Issues page.
This repo is a community effort to continue the development of xlnt, after the original repo of tfussel has been unmaintained for many years (see Issue #748). The xlnt community edition is hosted at GitHub. Feel free to participate in this community effort by submitting issues and PRs to this new community-driven repo. Issues and PRs on the original repo will not be transferred in bulk to this repo, but you may consider creating a similar issue or PR against this repo for items of interest to you.
Including xlnt in your project, creating a new spreadsheet, and saving it as "example.xlsx"
More examples are available.
More information is available in the xlnt documentation and in the xlnt API reference.
You can download the xlnt source code and install the latest xlnt version as follows:
git clone https://github.com/xlnt-community/xlnt.git xlnt --recurse-submodules cd xlnt mkdir build cd build cmake .. cmake --build . -j 4 cmake --install .
For more information, see the full installation instructions.
[!WARNING] The xlnt port in vcpkg is currently out of date, as it still uses the original repo of tfussell. We are in the process of migrating this port to our community edition (see Issue #33 for more information). At this time, we recommend building xlnt from source.
You can download and install xlnt using the vcpkg dependency manager:
git clone https://github.com/microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.sh ./vcpkg integrate install ./vcpkg install xlnt
The xlnt port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.
xlnt is released to the public for free under the terms of the MIT License. See https://github.com/xlnt-community/xlnt/blob/master/LICENSE.md "LICENSE.md" for the full text of the license and the licenses of xlnt's third-party dependencies. https://github.com/xlnt-community/xlnt/blob/master/LICENSE.md "LICENSE.md" should be distributed alongside any assemblies that use xlnt in source or compiled form.