tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.49k stars 418 forks source link

Detecting strikethrough text in cell not working #530

Open guitarflow opened 3 years ago

guitarflow commented 3 years ago

Thanks for making this great library!

We'd like to use it to read and write Excel files with rich text (italic, bold, strikethrough...). Detecting rich text attributes works per se. However, when strikethrough or italic text formatting is used in cells, the attributes are either not extracted properly or we're getting corrupt file alerts.

Is there any chance to make this work?

Thanks and best regards in advance!

guitarflow commented 3 years ago

excel_test_sheet.xlsx

tfussell commented 3 years ago

Thanks for providing the relevant workbook. I added it to the test suite and fixed reading of strikethrough. I still get a broken workbook if I round trip it (read then write) so I'll see if I can figure out what's going on there.