Код: Выделить всё
xlnt::workbook wb;
wb.load(WBurl);
auto ws = wb.active_sheet();
auto rows = ws.rows(false);
for (int i = 0; i < rows.length(); i++)
{
for (auto cell: rows[i])
{
xlnt::color cell_color = cell.font().color(); //
Я получаю это сообщение об ошибке: < /p>
Unhandled standard exception of type "N4xlnt17invalid_attributeE" with message
"xlnt::exception : bad attribute"; terminating the application.
https://xlnt-community.github.io/xlnt/c ... ad725ff208 функции alte alte ». src = "https://i.sstatic.net/vtkzy8po.png"/>
Что я делаю и/или отсутствует?
Как заставить его работать?
Подробнее здесь: https://stackoverflow.com/questions/796 ... -attribute
Мобильная версия