fix worksheet protection options

This commit is contained in:
Ravelle Kelley 2017-10-16 18:19:53 -04:00
parent 51b4751b95
commit ef9f3f9ca5
3 changed files with 9 additions and 9 deletions

@ -945,9 +945,9 @@ function write_ws_xlml_wsopts(ws/*:Worksheet*/, opts, idx/*:number*/, wb/*:Workb
if(ws['!protect'].selectLockedCells != null && !ws['!protect'].selectLockedCells) o.push(writetag("EnableSelection", "NoSelection"));
else if(ws['!protect'].selectUnlockedCells != null && !ws['!protect'].selectUnlockedCells) o.push(writetag("EnableSelection", "UnlockedCells"));
[
[ "formatColumns", "AllowFormatCells" ],
[ "formatRows", "AllowSizeCols" ],
[ "formatCells", "AllowSizeRows" ],
[ "formatCells", "AllowFormatCells" ],
[ "formatColumns", "AllowSizeCols" ],
[ "formatRows", "AllowSizeRows" ],
[ "insertColumns", "AllowInsertCols" ],
[ "insertRows", "AllowInsertRows" ],
[ "insertHyperlinks", "AllowInsertHyperlinks" ],

@ -14345,9 +14345,9 @@ function write_ws_xlml_wsopts(ws/*:Worksheet*/, opts, idx/*:number*/, wb/*:Workb
if(ws['!protect'].selectLockedCells != null && !ws['!protect'].selectLockedCells) o.push(writetag("EnableSelection", "NoSelection"));
else if(ws['!protect'].selectUnlockedCells != null && !ws['!protect'].selectUnlockedCells) o.push(writetag("EnableSelection", "UnlockedCells"));
[
[ "formatColumns", "AllowFormatCells" ],
[ "formatRows", "AllowSizeCols" ],
[ "formatCells", "AllowSizeRows" ],
[ "formatCells", "AllowFormatCells" ],
[ "formatColumns", "AllowSizeCols" ],
[ "formatRows", "AllowSizeRows" ],
[ "insertColumns", "AllowInsertCols" ],
[ "insertRows", "AllowInsertRows" ],
[ "insertHyperlinks", "AllowInsertHyperlinks" ],

@ -14250,9 +14250,9 @@ function write_ws_xlml_wsopts(ws, opts, idx, wb) {
if(ws['!protect'].selectLockedCells != null && !ws['!protect'].selectLockedCells) o.push(writetag("EnableSelection", "NoSelection"));
else if(ws['!protect'].selectUnlockedCells != null && !ws['!protect'].selectUnlockedCells) o.push(writetag("EnableSelection", "UnlockedCells"));
[
[ "formatColumns", "AllowFormatCells" ],
[ "formatRows", "AllowSizeCols" ],
[ "formatCells", "AllowSizeRows" ],
[ "formatCells", "AllowFormatCells" ],
[ "formatColumns", "AllowSizeCols" ],
[ "formatRows", "AllowSizeRows" ],
[ "insertColumns", "AllowInsertCols" ],
[ "insertRows", "AllowInsertRows" ],
[ "insertHyperlinks", "AllowInsertHyperlinks" ],