Initial commit: HTab spreadsheet engine and GemUI X11 frontend

This commit is contained in:
Luxferre committed 2026-11-30 17:45:17 +02:00
commit 395f458fee
55 files changed
+12682

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
#pragma once
#include "engine/workbook.hpp"
#include <string>
#include <string_view>
namespace htab {
bool import_csv_string(Workbook& wb,
int sheet_idx,
std::string_view csv_text,
std::string* err = nullptr);
bool import_csv_file(Workbook& wb,
int sheet_idx,
const std::string& path,
std::string* err = nullptr);
std::string export_csv_string(const Workbook& wb,
int sheet_idx,
bool export_formulas = false);
bool export_csv_file(const Workbook& wb,
int sheet_idx,
const std::string& path,
bool export_formulas = false,
std::string* err = nullptr);
} // namespace htab