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