Properties

$_lockRevision

$_lockRevision : bool

LockRevision

Type

bool

$_lockStructure

$_lockStructure : bool

LockStructure

Type

bool

$_lockWindows

$_lockWindows : bool

LockWindows

Type

bool

$_revisionsPassword

$_revisionsPassword : string

RevisionsPassword

Type

string

$_workbookPassword

$_workbookPassword : string

WorkbookPassword

Type

string

Methods

__construct()

__construct() : mixed

Create a new PHPExcel_DocumentSecurity

Returns

mixed —

isSecurityEnabled()

isSecurityEnabled() : bool

Is some sort of dcument security enabled?

Returns

bool —

getLockRevision()

getLockRevision() : bool

Get LockRevision

Returns

bool —

setLockRevision()

setLockRevision(bool  $pValue = false) : \PHPExcel_DocumentSecurity

Set LockRevision

Parameters

bool $pValue

Returns

\PHPExcel_DocumentSecurity —

getLockStructure()

getLockStructure() : bool

Get LockStructure

Returns

bool —

setLockStructure()

setLockStructure(bool  $pValue = false) : \PHPExcel_DocumentSecurity

Set LockStructure

Parameters

bool $pValue

Returns

\PHPExcel_DocumentSecurity —

getLockWindows()

getLockWindows() : bool

Get LockWindows

Returns

bool —

setLockWindows()

setLockWindows(bool  $pValue = false) : \PHPExcel_DocumentSecurity

Set LockWindows

Parameters

bool $pValue

Returns

\PHPExcel_DocumentSecurity —

getRevisionsPassword()

getRevisionsPassword() : string

Get RevisionsPassword (hashed)

Returns

string —

setRevisionsPassword()

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

Set RevisionsPassword

Parameters

string $pValue
bool $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 = '', bool  $pAlreadyHashed = false) : \PHPExcel_DocumentSecurity

Set WorkbookPassword

Parameters

string $pValue
bool $pAlreadyHashed

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

Returns

\PHPExcel_DocumentSecurity —

__clone()

__clone() : mixed

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

Returns

mixed —