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 Document Security instance.

isSecurityEnabled()

isSecurityEnabled() : boolean

Is some sort of document security enabled?

Returns

boolean

getLockRevision()

getLockRevision() : boolean

Get LockRevision.

Returns

boolean

setLockRevision()

setLockRevision(boolean  $pValue) : $this

Set LockRevision.

Parameters

boolean $pValue

Returns

$this

getLockStructure()

getLockStructure() : boolean

Get LockStructure.

Returns

boolean

setLockStructure()

setLockStructure(boolean  $pValue) : $this

Set LockStructure.

Parameters

boolean $pValue

Returns

$this

getLockWindows()

getLockWindows() : boolean

Get LockWindows.

Returns

boolean

setLockWindows()

setLockWindows(boolean  $pValue) : $this

Set LockWindows.

Parameters

boolean $pValue

Returns

$this

getRevisionsPassword()

getRevisionsPassword() : string

Get RevisionsPassword (hashed).

Returns

string

setRevisionsPassword()

setRevisionsPassword(string  $pValue, boolean  $pAlreadyHashed = false) : $this

Set RevisionsPassword.

Parameters

string $pValue
boolean $pAlreadyHashed

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

Returns

$this

getWorkbookPassword()

getWorkbookPassword() : string

Get WorkbookPassword (hashed).

Returns

string

setWorkbookPassword()

setWorkbookPassword(string  $pValue, boolean  $pAlreadyHashed = false) : $this

Set WorkbookPassword.

Parameters

string $pValue
boolean $pAlreadyHashed

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

Returns

$this

__clone()

__clone() 

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