34 #ifndef INCLUDED_XLSXIO_WRITE_H 35 #define INCLUDED_XLSXIO_WRITE_H 38 #if defined(_MSC_VER) && _MSC_VER < 1600 39 typedef signed __int64 int64_t;
46 #ifndef DLL_EXPORT_XLSXIO 48 #if defined(BUILD_XLSXIO_DLL) || defined(BUILD_XLSXIO_SHARED) || defined(xlsxio_write_SHARED_EXPORTS) 49 #define DLL_EXPORT_XLSXIO __declspec(dllexport) 50 #elif !defined(STATIC) && !defined(BUILD_XLSXIO_STATIC) && !defined(BUILD_XLSXIO) 51 #define DLL_EXPORT_XLSXIO __declspec(dllimport) 53 #define DLL_EXPORT_XLSXIO 56 #define DLL_EXPORT_XLSXIO DLL_EXPORT_XLSXIO void xlsxiowrite_add_cell_int(xlsxiowriter handle, int64_t value)
add a cell with integer data
struct xlsxio_write_struct * xlsxiowriter
write handle for .xlsx object
Definition: xlsxio_write.h:80
DLL_EXPORT_XLSXIO xlsxiowriter xlsxiowrite_open(const char *filename, const char *sheetname)
create and open .xlsx file
DLL_EXPORT_XLSXIO void xlsxiowrite_get_version(int *pmajor, int *pminor, int *pmicro)
get xlsxio_write version
DLL_EXPORT_XLSXIO void xlsxiowrite_add_cell_string(xlsxiowriter handle, const char *value)
add a cell with string data
DLL_EXPORT_XLSXIO void xlsxiowrite_set_row_height(xlsxiowriter handle, size_t height)
specify the row height to use for the current and next rows
DLL_EXPORT_XLSXIO const char * xlsxiowrite_get_version_string()
get xlsxio_write version string
DLL_EXPORT_XLSXIO int xlsxiowrite_close(xlsxiowriter handle)
close .xlsx file
DLL_EXPORT_XLSXIO void xlsxiowrite_set_detection_rows(xlsxiowriter handle, size_t rows)
specify how many initial rows will be buffered in memory to determine column widths
DLL_EXPORT_XLSXIO void xlsxiowrite_add_cell_datetime(xlsxiowriter handle, time_t value)
add a cell with date and time data
DLL_EXPORT_XLSXIO void xlsxiowrite_next_row(xlsxiowriter handle)
mark the end of a row (next cell will start on a new row)
DLL_EXPORT_XLSXIO void xlsxiowrite_add_cell_float(xlsxiowriter handle, double value)
add a cell with floating point data
DLL_EXPORT_XLSXIO void xlsxiowrite_add_column(xlsxiowriter handle, const char *name, int width)
add a column cell