All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.ProtectedRange.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





ProtectedRange




com.aspose.cells
Class ProtectedRange

java.lang.Object
    extended by com.aspose.cells.ProtectedRange

public class ProtectedRange 
extends java.lang.Object

A specified range to be allowed to edit when the sheet protection is ON.


Property Getters/Setters Summary
CellAreagetCellArea()
           Gets the CellArea object represents the cell area to be protected.
java.lang.StringgetName()
voidsetName(java.lang.String)
           Gets the Range title. This is used as a descriptor, not as a named range definition.
java.lang.StringgetPassword()
voidsetPassword(java.lang.String)
           Represents the password to protect the range.
java.lang.StringgetSecurityDescriptor()
voidsetSecurityDescriptor(java.lang.String)
           The security descriptor defines user accounts who may edit this range without providing a password to access the range.
 
Method Summary
voidaddArea(int startRow, int startColumn, int endRow, int endColumn)
           Adds a referred area to this
com.aspose.cells.CellArea[]getAreas()
           Gets all referred areas.
 

Property Getters/Setters Detail

getName/setName

public java.lang.String getName() / public void setName(java.lang.String value)
Gets the Range title. This is used as a descriptor, not as a named range definition.

setName

public void setName(java.lang.String value)
Gets the Range title. This is used as a descriptor, not as a named range definition.

getCellArea

public CellArea getCellArea()
Gets the CellArea object represents the cell area to be protected.

getPassword/setPassword

public java.lang.String getPassword() / public void setPassword(java.lang.String value)
Represents the password to protect the range.

setPassword

public void setPassword(java.lang.String value)
Represents the password to protect the range.

getSecurityDescriptor/setSecurityDescriptor

public java.lang.String getSecurityDescriptor() / public 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.

setSecurityDescriptor

public 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.

Method Detail

getAreas

public com.aspose.cells.CellArea[] getAreas()
Gets all referred areas.
Returns:
Returns all referred areas.

addArea

public void addArea(int startRow, int startColumn, int endRow, int endColumn)
Adds a referred area to this
Parameters:
startRow - The start row.
startColumn - The start column.
endRow - The end row.
endColumn - The end column.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy