public class WriteProtection
extends java.lang.Object
| Constructor and Description |
|---|
WriteProtection() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Gets the author.
|
boolean |
getRecommendReadOnly()
Indicates if the Read Only Recommended option is selected.
|
boolean |
isWriteProtected()
Indicates whether this workbook is write protected.
|
void |
setAuthor(java.lang.String value)
Sets the author.
|
void |
setPassword(java.lang.String value)
Sets the protected password to modify the file.
|
void |
setRecommendReadOnly(boolean value)
Indicates if the Read Only Recommended option is selected.
|
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.
|
public java.lang.String getAuthor()
public void setAuthor(java.lang.String value)
public boolean getRecommendReadOnly()
public void setRecommendReadOnly(boolean value)
public boolean isWriteProtected()
public void setPassword(java.lang.String value)
public boolean validatePassword(java.lang.String password)
password - The specified password.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2001-2023. All Rights Reserved.