MathNya / umya-spreadsheet

A pure rust library for reading and writing spreadsheet files
MIT License
239 stars 41 forks source link

writer is corrupting the protected sheets #146

Closed agentjill closed 6 months ago

agentjill commented 7 months ago

when using the writer::xlsx::write(&book, file_path.as_ref()) it is not preserving the protections already placed in the file.

For example, a workbook has a sheet (say 'A') where some of the range is protected. When writing to other sheets(say 'B'), the sheet 'A' is losing its protections placed.

MathNya commented 7 months ago

@agentjill Protection was not supported. It is probably easy to implement and we will try to support it soon.