Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Request #9879 Worksheet::protect() shouldn't require a password.
Submitted: 2007-01-19 15:45 UTC
From: mikej at primatech dot com Assigned:
Status: Open Package: Spreadsheet_Excel_Writer (version 0.9.1)
PHP Version: 4.3.9 OS: Centos Linux 4.3
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2010-11-19 18:12 UTC
Package:
Bug Type:
Summary:
From: mikej at primatech dot com
New email:
PHP Version: Package Version: OS:

 

 [2007-01-19 15:45 UTC] mikej at primatech dot com (Mike Jones)
Description: ------------ I want to protect a worksheet to prevent accidental formula overwrites, but I don't really want to password protect it. If I use Worksheet::protect(), I'm forced to give a password. It would be nice if the password was optional. Here is a replacement function: function protect($password = NULL) { $this->_protect = 1; if ($password != NULL) $this->_password = $this->_encodePassword($password); } I have worked around the problem for now by just setting the private member Worksheet::_protected to 1, but this is obviously not ideal.

Comments

 [2009-11-29 08:07 UTC] cschmitz (Carsten Schmitz)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: cschmitz
 [2010-11-19 18:12 UTC] cschmitz (Carsten Schmitz)
-Status: Open +Status: Assigned