79 $this->_lockRevision =
false;
80 $this->_lockStructure =
false;
81 $this->_lockWindows =
false;
82 $this->_revisionsPassword =
'';
83 $this->_workbookPassword =
'';
92 return $this->_lockRevision ||
93 $this->_lockStructure ||
113 $this->_lockRevision = $pValue;
133 $this->_lockStructure = $pValue;
153 $this->_lockWindows = $pValue;
174 if (!$pAlreadyHashed) {
177 $this->_revisionsPassword = $pValue;
198 if (!$pAlreadyHashed) {
201 $this->_workbookPassword = $pValue;
209 $vars = get_object_vars($this);
210 foreach ($vars as
$key => $value) {
211 if (is_object($value)) {
212 $this->
$key = clone $value;
214 $this->
$key = $value;
getLockRevision()
Get LockRevision.
setRevisionsPassword($pValue='', $pAlreadyHashed=false)
Set RevisionsPassword.
__construct()
Create a new PHPExcel_DocumentSecurity.
setLockStructure($pValue=false)
Set LockStructure.
setLockWindows($pValue=false)
Set LockWindows.
isSecurityEnabled()
Is some sort of dcument security enabled?
getLockStructure()
Get LockStructure.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
setWorkbookPassword($pValue='', $pAlreadyHashed=false)
Set WorkbookPassword.
static hashPassword($pPassword='')
Create a password hash from a given string.
getWorkbookPassword()
Get WorkbookPassword (hashed)
getLockWindows()
Get LockWindows.
setLockRevision($pValue=false)
Set LockRevision.
getRevisionsPassword()
Get RevisionsPassword (hashed)