#include #include #include #include #include #include #include namespace xlnt { style_writer::style_writer(xlnt::workbook &wb) : wb_(wb) { } std::unordered_map style_writer::get_style_by_hash() const { std::unordered_map styles; for(auto ws : wb_) { for(auto row : ws.rows()) { for(auto cell : row) { if(cell.has_style()) { styles[1] = "style"; } } } } return styles; } std::vector