libxlsxwriter/1.1.7

A C library for creating Excel XLSX files
Recipe info
2024-04-06

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
libxlsxwriter/1.1.7

Using libxlsxwriter

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
libxlsxwriter/1.1.7
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("libxlsxwriter/1.1.7")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): libxlsxwriter
  • CMake target name(s): libxlsxwriter::libxlsxwriter
  • pkg-config file name(s): xlsxwriter.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(libxlsxwriter REQUIRED)
# ...
target_link_libraries(YOUR_TARGET libxlsxwriter::libxlsxwriter)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the libxlsxwriter homepage listed above:

#include "xlsxwriter.h"
#include "xlsxwriter/app.h"
#include "xlsxwriter/chart.h"
#include "xlsxwriter/chartsheet.h"
#include "xlsxwriter/comment.h"
#include "xlsxwriter/common.h"
#include "xlsxwriter/content_types.h"
#include "xlsxwriter/core.h"
#include "xlsxwriter/custom.h"
#include "xlsxwriter/drawing.h"
#include "xlsxwriter/format.h"
#include "xlsxwriter/hash_table.h"
#include "xlsxwriter/metadata.h"
#include "xlsxwriter/packager.h"
#include "xlsxwriter/relationships.h"
#include "xlsxwriter/shared_strings.h"
#include "xlsxwriter/styles.h"
#include "xlsxwriter/table.h"
#include "xlsxwriter/theme.h"
#include "xlsxwriter/third_party/emyg_dtoa.h"
#include "xlsxwriter/third_party/ioapi.h"
#include "xlsxwriter/third_party/md5.h"
#include "xlsxwriter/third_party/queue.h"
#include "xlsxwriter/third_party/tmpfileplus.h"
#include "xlsxwriter/third_party/tree.h"
#include "xlsxwriter/third_party/zip.h"
#include "xlsxwriter/utility.h"
#include "xlsxwriter/vml.h"
#include "xlsxwriter/workbook.h"
#include "xlsxwriter/worksheet.h"
#include "xlsxwriter/xmlwriter.h"