Properties

$_lockRevision

$_lockRevision : boolean

LockRevision

Type

boolean

$_lockStructure

$_lockStructure : boolean

LockStructure

Type

boolean

$_lockWindows

$_lockWindows : boolean

LockWindows

Type

boolean

$_revisionsPassword

$_revisionsPassword : string

RevisionsPassword

Type

string

$_workbookPassword

$_workbookPassword : string

WorkbookPassword

Type

string

Methods

__construct()

__construct() 

Create a new PHPExcel_DocumentSecurity

isSecurityEnabled()

isSecurityEnabled() : boolean

Is some sort of dcument security enabled?

Returns

boolean

getLockRevision()

getLockRevision() : boolean

Get LockRevision

Returns

boolean

setLockRevision()

setLockRevision(boolean  $pValue = false) : \PHPExcel_DocumentSecurity

Set LockRevision

Parameters

boolean $pValue

Returns

\PHPExcel_DocumentSecurity

getLockStructure()

getLockStructure() : boolean

Get LockStructure

Returns

boolean

setLockStructure()

setLockStructure(boolean  $pValue = false) : \PHPExcel_DocumentSecurity

Set LockStructure

Parameters

boolean $pValue

Returns

\PHPExcel_DocumentSecurity

getLockWindows()

getLockWindows() : boolean

Get LockWindows

Returns

boolean

setLockWindows()

setLockWindows(boolean  $pValue = false) : \PHPExcel_DocumentSecurity

Set LockWindows

Parameters

boolean $pValue

Returns

\PHPExcel_DocumentSecurity

getRevisionsPassword()

getRevisionsPassword() : string

Get RevisionsPassword (hashed)

Returns

string

setRevisionsPassword()

setRevisionsPassword(string  $pValue = '', boolean  $pAlreadyHashed = false) : \PHPExcel_DocumentSecurity

Set RevisionsPassword

Parameters

string $pValue
boolean $pAlreadyHashed

If the password has already been hashed, set this to true

Returns

\PHPExcel_DocumentSecurity

getWorkbookPassword()

getWorkbookPassword() : string

Get WorkbookPassword (hashed)

Returns

string

setWorkbookPassword()

setWorkbookPassword(string  $pValue = '', boolean  $pAlreadyHashed = false) : \PHPExcel_DocumentSecurity

Set WorkbookPassword

Parameters

string $pValue
boolean $pAlreadyHashed

If the password has already been hashed, set this to true

Returns

\PHPExcel_DocumentSecurity

__clone()

__clone() 

Implement PHP __clone to create a deep clone, not just a shallow copy.