java.lang.Object
com.aspose.cells.WriteProtection
public class WriteProtection
| Constructor Summary |
|---|
WriteProtection()
|
| Property Getters/Setters Summary | ||
|---|---|---|
boolean | isWriteProtected() | |
| Indicates whether this workbook is write protected. | ||
void | setPassword(java.lang.String value) | |
| Sets the protected password to modify the file. | ||
boolean | getRecommendReadOnly() | |
void | setRecommendReadOnly(boolean value) | |
| Indicates if the Read Only Recommended option is selected. | ||
| Method Summary | ||
|---|---|---|
boolean | validatePassword(java.lang.String password) | |
| Returns true if the specified password is the same as the write-protection password the file was protected with. | ||
| Constructor Detail |
|---|
public WriteProtection()
| Property Getters/Setters Detail |
|---|
getRecommendReadOnly/setRecommendReadOnly | |
public boolean getRecommendReadOnly() / public void setRecommendReadOnly(boolean value) | |
isWriteProtected | |
public boolean isWriteProtected() | |
setPassword | |
public void setPassword(java.lang.String value) | |
| Method Detail |
|---|
validatePassword | |
public boolean validatePassword(java.lang.String password) | |
password - The specified password.