Types
xlsxio_read_sheet_struct = object
xlsxio_read_sheetlist_struct = object
xlsxio_read_struct = object
xlsxioread_list_sheets_callback_fn = proc (name: cstring; callbackdata: pointer): cint {. cdecl.}
xlsxioread_process_cell_callback_fn = proc (row: uint32; col: uint32; value: cstring; callbackdata: pointer): cint {.cdecl.}
xlsxioread_process_row_callback_fn = proc (row: uint32; maxcol: uint32; callbackdata: pointer): cint {.cdecl.}
Consts
XLSXIOREAD_SKIP_EMPTY_CELLS = 0x00000002
XLSXIOREAD_SKIP_EMPTY_ROWS = 0x00000001
XLSXIOREAD_SKIP_EXTRA_CELLS = 0x00000004
XLSXIOREAD_SKIP_HIDDEN_ROWS = 0x00000008
Procs
proc xlsxioread_close(handle: XlsxioReader) {.cdecl, importc: "xlsxioread_close", ...raises: [], tags: [].}
proc xlsxioread_free(data: cstring) {.cdecl, importc: "xlsxioread_free", ...raises: [], tags: [].}
proc xlsxioread_get_version(pmajor: ptr cint; pminor: ptr cint; pmicro: ptr cint) {. cdecl, importc: "xlsxioread_get_version", ...raises: [], tags: [].}
proc xlsxioread_get_version_string(): cstring {.cdecl, importc: "xlsxioread_get_version_string", ...raises: [], tags: [].}
proc xlsxioread_list_sheets(handle: XlsxioReader; callback: xlsxioread_list_sheets_callback_fn; callbackdata: pointer) {.cdecl, importc: "xlsxioread_list_sheets", ...raises: [], tags: [].}
proc xlsxioread_open(filename: cstring): XlsxioReader {.cdecl, importc: "xlsxioread_open", ...raises: [], tags: [].}
proc xlsxioread_open_filehandle(filehandle: cint): XlsxioReader {.cdecl, importc: "xlsxioread_open_filehandle", ...raises: [], tags: [].}
proc xlsxioread_open_memory(data: pointer; datalen: uint64; freedata: cint): XlsxioReader {. cdecl, importc: "xlsxioread_open_memory", ...raises: [], tags: [].}
proc xlsxioread_process(handle: XlsxioReader; sheetname: cstring; flags: cuint; cell_callback: xlsxioread_process_cell_callback_fn; row_callback: xlsxioread_process_row_callback_fn; callbackdata: pointer): cint {.cdecl, importc: "xlsxioread_process", ...raises: [], tags: [].}
proc xlsxioread_sheet_close(sheethandle: XlsxioReaderSheet) {.cdecl, importc: "xlsxioread_sheet_close", ...raises: [], tags: [].}
proc xlsxioread_sheet_flags(sheethandle: XlsxioReaderSheet): cuint {.cdecl, importc: "xlsxioread_sheet_flags", ...raises: [], tags: [].}
proc xlsxioread_sheet_last_column_index(sheethandle: XlsxioReaderSheet): csize_t {. cdecl, importc: "xlsxioread_sheet_last_column_index", ...raises: [], tags: [].}
proc xlsxioread_sheet_last_row_index(sheethandle: XlsxioReaderSheet): csize_t {. cdecl, importc: "xlsxioread_sheet_last_row_index", ...raises: [], tags: [].}
proc xlsxioread_sheet_next_cell(sheethandle: XlsxioReaderSheet): cstring {. cdecl, importc: "xlsxioread_sheet_next_cell", ...raises: [], tags: [].}
proc xlsxioread_sheet_next_cell_datetime(sheethandle: XlsxioReaderSheet; pvalue: ptr int64): cint {.cdecl, importc: "xlsxioread_sheet_next_cell_datetime", ...raises: [], tags: [].}
proc xlsxioread_sheet_next_cell_float(sheethandle: XlsxioReaderSheet; pvalue: ptr cdouble): cint {.cdecl, importc: "xlsxioread_sheet_next_cell_float", ...raises: [], tags: [].}
proc xlsxioread_sheet_next_cell_int(sheethandle: XlsxioReaderSheet; pvalue: ptr int64): cint {.cdecl, importc: "xlsxioread_sheet_next_cell_int", ...raises: [], tags: [].}
proc xlsxioread_sheet_next_cell_string(sheethandle: XlsxioReaderSheet; pvalue: ptr cstring): cint {.cdecl, importc: "xlsxioread_sheet_next_cell_string", ...raises: [], tags: [].}
proc xlsxioread_sheet_next_row(sheethandle: XlsxioReaderSheet): cint {.cdecl, importc: "xlsxioread_sheet_next_row", ...raises: [], tags: [].}
proc xlsxioread_sheet_open(handle: XlsxioReader; sheetname: cstring; flags: cuint): XlsxioReaderSheet {.cdecl, importc: "xlsxioread_sheet_open", ...raises: [], tags: [].}
proc xlsxioread_sheetlist_close(sheetlisthandle: XlsxioReaderSheetList) {.cdecl, importc: "xlsxioread_sheetlist_close", ...raises: [], tags: [].}
proc xlsxioread_sheetlist_next(sheetlisthandle: XlsxioReaderSheetList): cstring {. cdecl, importc: "xlsxioread_sheetlist_next", ...raises: [], tags: [].}
proc xlsxioread_sheetlist_open(handle: XlsxioReader): XlsxioReaderSheetList {. cdecl, importc: "xlsxioread_sheetlist_open", ...raises: [], tags: [].}