Sheet.LockXXXX methods changes internal lock state to 'true' (=locked)
but there's no way to change state 'false'.
・default protection property is almost 'true'
・ProtectSheet method creates new protection object (with default property value=true=locked)
so we cannot choose protect options. all operations are locked.
I tried to change internal state via reflection
and I got desired results.
and I found HSSFSheet LockFormatCells changes wrong field
My suggestion:
a. add UnLockXXXXMethod
b. change default lock state false. and use LockXXXX methods
c. add access method to CT_Worksheet
but there's no way to change state 'false'.
・default protection property is almost 'true'
・ProtectSheet method creates new protection object (with default property value=true=locked)
so we cannot choose protect options. all operations are locked.
I tried to change internal state via reflection
and I got desired results.
and I found HSSFSheet LockFormatCells changes wrong field
My suggestion:
a. add UnLockXXXXMethod
b. change default lock state false. and use LockXXXX methods
c. add access method to CT_Worksheet