30 if (!defined(
'PHPEXCEL_ROOT')) {
34 define(
'PHPEXCEL_ROOT', dirname(__FILE__) .
'/../');
38 require_once PHPEXCEL_ROOT .
'PHPExcel/Shared/PasswordHasher.php';
91 $this->_lockRevision =
false;
92 $this->_lockStructure =
false;
93 $this->_lockWindows =
false;
94 $this->_revisionsPassword =
'';
95 $this->_workbookPassword =
'';
104 return $this->_lockRevision ||
105 $this->_lockStructure ||
125 $this->_lockRevision = $pValue;
145 $this->_lockStructure = $pValue;
165 $this->_lockWindows = $pValue;
186 if (!$pAlreadyHashed) {
189 $this->_revisionsPassword = $pValue;
210 if (!$pAlreadyHashed) {
213 $this->_workbookPassword = $pValue;
221 $vars = get_object_vars($this);
222 foreach ($vars as
$key => $value) {
223 if (is_object($value)) {
224 $this->
$key = clone $value;
226 $this->
$key = $value;