public class WriteProtection
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Gets the author.
|
java.lang.String |
getPassword()
Sets the protected password to modify the file.
|
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 java.lang.String getPassword()
Remarks
public void setPassword(java.lang.String value)
Remarks
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 2003-2025. All Rights Reserved.