Provide complete protection interface
Submitted by an unknown user
xls and xlsx files do not just carry a "protected" flag for each sheet but also much more fine grained flags that allow what can or cannot be done with protected sheets: PROP_PROTECTED, PROP_PROTECTED_ALLOW_EDIT_OBJECTS, PROP_PROTECTED_ALLOW_EDIT_SCENARIOS, PROP_PROTECTED_ALLOW_CELL_FORMATTING, PROP_PROTECTED_ALLOW_COLUMN_FORMATTING, PROP_PROTECTED_ALLOW_ROW_FORMATTING, PROP_PROTECTED_ALLOW_INSERT_COLUMNS, PROP_PROTECTED_ALLOW_INSERT_ROWS, PROP_PROTECTED_ALLOW_INSERT_HYPERLINKS, PROP_PROTECTED_ALLOW_DELETE_COLUMNS, PROP_PROTECTED_ALLOW_DELETE_ROWS, PROP_PROTECTED_ALLOW_SELECT_LOCKED_CELLS, PROP_PROTECTED_ALLOW_SORT_RANGES, PROP_PROTECTED_ALLOW_EDIT_AUTO_FILTERS, PROP_PROTECTED_ALLOW_EDIT_PIVOTTABLE, PROP_PROTECTED_ALLOW_SELECT_UNLOCKED_CELLS, Gnumeric imports these flags from those files (and exports them to those files.) Gnumeric also obeys some (or all?) of those flags.
We need an interface to clear or set those flags.
Version: git master