public class ProtectedRange
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addArea(int startRow,
int startColumn,
int endRow,
int endColumn)
Adds a referred area to this
|
CellArea[] |
getAreas()
Gets all referred areas.
|
CellArea |
getCellArea()
Gets the
CellArea object represents the cell area to be protected. |
java.lang.String |
getName()
Gets the Range title.
|
java.lang.String |
getPassword()
Represents the password to protect the range.
|
java.lang.String |
getSecurityDescriptor()
The security descriptor defines user accounts who may edit this range without providing a password to access the range.
|
boolean |
isProtectedWithPassword()
Indicates whether the worksheets is protected with password.
|
void |
setName(java.lang.String value)
Gets the Range title.
|
void |
setPassword(java.lang.String value)
Represents the password to protect the range.
|
void |
setSecurityDescriptor(java.lang.String value)
The security descriptor defines user accounts who may edit this range without providing a password to access the range.
|
public java.lang.String getName()
public void setName(java.lang.String value)
public CellArea getCellArea()
CellArea object represents the cell area to be protected.public CellArea[] getAreas()
public void addArea(int startRow,
int startColumn,
int endRow,
int endColumn)
startRow - The start row.startColumn - The start column.endRow - The end row.endColumn - The end column.public boolean isProtectedWithPassword()
public java.lang.String getPassword()
public void setPassword(java.lang.String value)
public java.lang.String getSecurityDescriptor()
public void setSecurityDescriptor(java.lang.String value)
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.