VSRonin / QtXlsxWriter

.xlsx file reader and writer for Qt5
http://qtxlsx.debao.me
209 stars 73 forks source link

Worksheet tab colour #23

Open Bf88 opened 6 years ago

Bf88 commented 6 years ago

Thanks so much for this library.

Is it possible to set the colour of a worksheet tab? If not, is it something you intend to implement?

Thank you.

VSRonin commented 6 years ago

It currently is not but it shouldn't be hard to implement. The description is in 18.3.1.93 and 18.3.1.93 of ISO/IEC 29500-1 We just need to add a getter/setter for the XlsxColor of the tab and save it in a tabColor element in Worksheet::saveToXmlFile