GNOME Bugzilla – Bug 334257
Protected sheets are not saved into .gnumeric
Last modified: 2006-03-13 19:12:16 UTC
Please describe the problem: Each sheet have a posibility to be protected (locked against changes). Gnumeric has GUI for setting that (either through Format->Sheet->Manage Sheets... or Format->Cells[Protection]). This functionality is not correctly saved and again loaded from file. Steps to reproduce: 1. Set protection on some sheet(s) 2. Save workbook as Gnumeric file 3. Open such file Actual results: Protection on sheet(s) disappear - all sheets are unprotected. Expected results: Sheets previously set as protected should be protected again. Does this happen every time? Yes. Other information: Dialog Format->Cells[Protection], checkbox "Protect worksheet" - when checked protection of workbook is set, NOT of actual worksheet!
Created attachment 61104 [details] [review] Worksheet protection saved/read support for .gnumeric + dialog repaired. New bool attribute "Protected" is added under tag "Sheet" into .gnumeric. Change is implemented for both writing and reading (old and new SAX too). All functionality (and GUI too) was prepared inside of Gnumeric, just the saving was missing. Small bug in dialog is repared too. PLEASE check that patch carefully, it's my first :-).
Looks good to me (visually). Jody: consider for 1.6.4 if you intend to bring that out tonight.
fixed in cvs. (HEAD and 1.6) Thanks.
Nice. It would be nice if you commit Excel Import/Export of these funtionality too. Patch is attached to Bug 330129.