Row heights and unsigned long data
C++ library for creating XLSX files for MS Excel 2007 and above.
Brought to you by:
oxod,
programmeralex
The row heights are currently uint_32_t values, but Excel supports float values. So i changed it into float and also added a AddCell method with an unsigned long as a parameter (because i needed it). Maybe the uint32_t row height should be existing next to the float method for downward compatibility, but that is the decision of the project leader.
Regards
Thomas Bechmann
The changed Worksheet.h:
Hi Thomas,
Thanks for your suggestions!
You are right about the row height. According to ISO/IEC 29500-1: 2016 section 18.3.1.73, the value of the row height is defined by the double type.
I think that uint32_t can be replaced by double.
About the AddCell method for a signed/unsigned long I also agree that this is a useful improvement.
Thanks again for your help! The other day I will add your changes to the project.