From c1721aea35e7a969fec2e3ee3338c3b5dab1c428 Mon Sep 17 00:00:00 2001 From: Xavier Noguer Gallego Date: Thu, 24 Apr 2003 23:43:44 +0000 Subject: [PATCH] adding method setUnLocked() git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@124525 c90b9560-bf6c-de11-be94-00142212c4b1 --- Writer/Format.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Writer/Format.php b/Writer/Format.php index 82318c7..fc4f245 100644 --- a/Writer/Format.php +++ b/Writer/Format.php @@ -926,5 +926,15 @@ class Spreadsheet_Excel_Writer_Format extends PEAR { $this->_font_script = $script; } + + /** + * Unlocks a cell. Useful for unprotecting particular cells of a protected sheet. + * + * @access public + */ + function setUnLocked() + { + $this->_locked = 0; + } } ?>