Ask Your Question

LO Calc Macro Api Protect without Select Protected Cells

asked 2016-08-23 14:28:53 +0200

reg4arz gravatar image

Hi to all,

when i need to protect via api a lo calc sheet i only do something like sh = ThisComponent.CurrentController.getActiveSheet() sh.protect(passwd) sh.unprotect(passwd)

But how can i protect the sheet with the option DO NOT SELECT PROTECTED CELLS like you can do it from the interface? I can't find an api to do this...

Thank You!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-08-23 14:44:48 +0200

pierre-yves samyn gravatar image

updated 2016-08-23 14:46:08 +0200


I believe the API does not allow it...

I created the report there 4 years ago but it is classified low enhancement and is not assigned.


edit flag offensive delete link more


Bad news so... At least I'm not so dumb for not being able to do that... :)

reg4arz gravatar imagereg4arz ( 2016-08-23 14:55:20 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-08-23 14:28:53 +0200

Seen: 70 times

Last updated: Aug 23 '16