Open Jaf932074323 opened 3 years ago
I confirm this bug in the VCPKG v1.5 version. There is no code in the xlsx_producer.cpp that adds the showGridLines
attribute to the <sheetView>
I have made a patch for this bug for myself. In case you are interested attached are the patch file and the modified portfile.cmake. (Note remove the .TXT extension as I had to add this to upload it here.)
You need to
1) save these files in your vcpkg\ports\xlnt directory. 2) run: vcpkg remove xlnt 3) run: vcpkg install xlnt
Hope this helps.
Use the following code: xlnt::workbook wb; xlnt::worksheet ws = wb.active_sheet(); ws.cell("A1").value(5); ws.cell("B2").value("string data"); ws.cell("C3").formula("=RAND()"); ws.merge_cells("C3:C4"); ws.freeze_panes("A1");
But the Gridlines will still display. How do I remove Gridlines? The result:
Desired result: