mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
add placeholder implementation of arrow2xlsx
This commit is contained in:
parent
22325a2836
commit
fa179d58ab
@ -35,24 +35,8 @@ void arrow2xlsx(const ::arrow::Table &table, std::ostream &s)
|
||||
xlnt::streaming_workbook_writer writer;
|
||||
writer.open(s);
|
||||
|
||||
writer.begin_worksheet();
|
||||
|
||||
while (reader.has_cell())
|
||||
{
|
||||
auto cell = reader.read_cell();
|
||||
|
||||
if (first_row < 1)
|
||||
{
|
||||
first_row = cell.row();
|
||||
}
|
||||
|
||||
if (cell.reference().row() % 1000 == 1)
|
||||
{
|
||||
std::cout << cell.reference().to_string() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
reader.end_worksheet();
|
||||
writer.add_worksheet("Sheet1");
|
||||
writer.add_cell("A1").value("test");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user