$editing $editing : string Editing restriction none|readOnly|comments|trackedChanges|forms Type string
$algorithm $algorithm : string Cryptographic Hashing Algorithm (see constants defined in \PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder) Type string
setEditing() setEditing(string $editing = null) : self Set editing protection Parameters string $editing Any value of \PhpOffice\PhpWord\SimpleType\DocProtect Returns self
setPassword() setPassword(string $password) : self Set password Parameters string $password Returns self
setSpinCount() setSpinCount(integer $spinCount) : self Set count for hash iterations Parameters integer $spinCount Returns self
setAlgorithm() setAlgorithm(string $algorithm) : self Set algorithm Parameters string $algorithm Returns self
setSalt() setSalt(string $salt) : self Set salt. Salt HAS to be 16 characters, or an exception will be thrown. Parameters string $salt Throws \InvalidArgumentException Returns self