Constructor Summary |
---|
WriteProtection()
|
Property Getters/Setters Summary | ||
---|---|---|
function | getAuthor() | |
function | setAuthor(value) | |
Gets and sets the author. | ||
function | isWriteProtected() | |
Indicates whether this workbook is write protected. | ||
void | setPassword(value) | |
Sets the protected password to modify the file. | ||
function | getRecommendReadOnly() | |
function | setRecommendReadOnly(value) | |
Indicates if the Read Only Recommended option is selected. |
Method Summary | ||
---|---|---|
function | validatePassword(password) | |
Returns true if the specified password is the same as the write-protection password the file was protected with. |
Constructor Detail |
---|
function WriteProtection()
Property Getters/Setters Detail |
---|
getAuthor/setAuthor : String | |
function getAuthor() / function setAuthor(value) |
getRecommendReadOnly/setRecommendReadOnly : boolean | |
function getRecommendReadOnly() / function setRecommendReadOnly(value) |
isWriteProtected : boolean | |
function isWriteProtected() |
setPassword : String | |
function setPassword(value) |
Method Detail |
---|
validatePassword | |
function validatePassword(password) |
password: String
- The specified password.