Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Commented Unassigned: cannot choose sheet protect options [13643]

$
0
0
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
Comments: ** Comment from web user: raavishpatel **

Hi,

I have also facing same issue with me.

So can you please tell me how you are using __change internal state via reflection__ method for got your desired result.

Thanks


Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>