![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Protection
public class Protection
Represents the various types of protection options available for a worksheet.
Constructor Summary | |
---|---|
Protection()
Creates an instance of class Protection. |
Method Summary | |
---|---|
java.lang.String |
getPassword()
Gets the password to protect the worksheet. |
int |
getPasswordHash()
Gets the password hash. |
boolean |
isDeletingColumnsAllowed()
Checks if the deletion of columns is allowed on a protected worksheet. |
boolean |
isDeletingRowsAllowed()
Checks if the deletion of rows is allowed on a protected worksheet. |
boolean |
isEditingContentsAllowed()
Checks if the user is allowed to edit contents of locked cells on a protected worksheet. |
boolean |
isEditingObjectsAllowed()
Checks if the user is allowed to manipulate drawing objects on a protected worksheet. |
boolean |
isEditingScenariosAllowed()
Checks if the user is allowed to edit scenarios on a protected worksheet. |
boolean |
isFilteringAllowed()
Checks if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. |
boolean |
isFormattingCellsAllowed()
Checks if the formatting of cells is allowed on a protected worksheet. |
boolean |
isFormattingColumnsAllowed()
Checks if the formatting of columns is allowed on a protected worksheet. |
boolean |
isFormattingRowsAllowed()
Checks if the formatting of rows is allowed on a protected worksheet. |
boolean |
isInsertingColumnsAllowed()
Checks if the insertion of columns is allowed on a protected worksheet. |
boolean |
isInsertingHyperlinksAllowed()
Checks if the insertion of hyperlinks is allowed on a protected worksheet. |
boolean |
isInsertingRowsAllowed()
Checks if the insertion of rows is allowed on a protected worksheet. |
boolean |
isSelectingLockedCellsAllowed()
Checks if the user is allowed to select locked cells on a protected worksheet. |
boolean |
IsSelectingUnlockedCellsAllowed()
Checks if the user is allowed to select unlocked cells on a protected worksheet. |
boolean |
isSortingAllowed()
Checks if the sorting option is allowed on a protected worksheet. |
boolean |
isUsingPivotTablesAllowed()
Checks if the user is allowed to manipulate pivot tables on a protected worksheet. |
void |
setDeletingColumnsAllowed(boolean bAllowed)
Sets if the deletion of columns is allowed on a protected worksheet. |
void |
setDeletingRowsAllowed(boolean bAllowed)
Sets if the deletion of rows is allowed on a protected worksheet. |
void |
setEditingContentsAllowed(boolean bAllowed)
Sets if the user is allowed to edit contents of locked cells on a protected worksheet. |
void |
setEditingObjectsAllowed(boolean bAllowed)
Sets if the user is allowed to manipulate drawing objects on a protected worksheet. |
void |
setEditingScenariosAllowed(boolean bAllowed)
Sets if the user is allowed to edit scenarios on a protected worksheet. |
void |
setFilteringAllowed(boolean bAllowed)
Sets if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. |
void |
setFormattingCellsAllowed(boolean bAllowed)
Sets if the formatting of cells is allowed on a protected worksheet. |
void |
setFormattingColumnsAllowed(boolean bAllowed)
Sets if the formatting of columns is allowed on a protected worksheet. |
void |
setFormattingRowsAllowed(boolean bAllowed)
Sets if the formatting of rows is allowed on a protected worksheet. |
void |
setInsertingColumnsAllowed(boolean bAllowed)
Sets if the insertion of columns is allowed on a protected worksheet. |
void |
setInsertingHyperlinksAllowed(boolean bAllowed)
Sets if the insertion of hyperlinks is allowed on a protected worksheet. |
void |
setInsertingRowsAllowed(boolean bAllowed)
Sets if the insertion of rows is allowed on a protected worksheet. |
void |
setPassword(java.lang.String password)
Sets the password to protect the worksheet. |
void |
setSelectingLockedCellsAllowed(boolean bAllowed)
Sets if the user is allowed to select locked cells on a protected worksheet. |
void |
setSelectingUnlockedCellsAllowed(boolean bAllowed)
Sets if the user is allowed to select unlocked cells on a protected worksheet. |
void |
setSortingAllowed(boolean bAllowed)
Sets if the sorting option is allowed on a protected worksheet. |
void |
setUsingPivotTablesAllowed(boolean bAllowed)
Sets if the user is allowed to manipulate pivot tables on a protected worksheet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Protection()
Method Detail |
---|
public boolean isDeletingColumnsAllowed()
public void setDeletingColumnsAllowed(boolean bAllowed)
bAllowed
- true if allowed.public boolean isDeletingRowsAllowed()
public void setDeletingRowsAllowed(boolean bAllowed)
bAllowed
- true if allowed.public boolean isFilteringAllowed()
public void setFilteringAllowed(boolean bAllowed)
bAllowed
- true if allowed.public boolean isFormattingCellsAllowed()
public void setFormattingCellsAllowed(boolean bAllowed)
bAllowed
- true if the formatting of cells is allowed.public boolean isFormattingColumnsAllowed()
public void setFormattingColumnsAllowed(boolean bAllowed)
bAllowed
- true if the formatting of columns is allowed.public boolean isFormattingRowsAllowed()
public void setFormattingRowsAllowed(boolean bAllowed)
bAllowed
- true if the formatting of rows is allowed.public boolean isInsertingColumnsAllowed()
public void setInsertingColumnsAllowed(boolean bAllowed)
bAllowed
- true if the insertion of columns is allowed.public boolean isInsertingHyperlinksAllowed()
public void setInsertingHyperlinksAllowed(boolean bAllowed)
bAllowed
- true if the insertion of hyperlinks is allowed.public boolean isInsertingRowsAllowed()
public void setInsertingRowsAllowed(boolean bAllowed)
bAllowed
- true if insertion of rows is allowed.public boolean isSortingAllowed()
public void setSortingAllowed(boolean bAllowed)
bAllowed
- true if the sorting option is allowed.public boolean isUsingPivotTablesAllowed()
public void setUsingPivotTablesAllowed(boolean bAllowed)
bAllowed
- true if the user is allowed to manipulate pivot tables.public boolean isEditingContentsAllowed()
public void setEditingContentsAllowed(boolean bAllowed)
bAllowed
- true if that is allowed.public boolean isEditingObjectsAllowed()
public void setEditingObjectsAllowed(boolean bAllowed)
bAllowed
- true if the user is allowed to manipulate drawing objects.public boolean isEditingScenariosAllowed()
public void setEditingScenariosAllowed(boolean bAllowed)
bAllowed
- true if the user is allowed to edit scenarios.public boolean isSelectingLockedCellsAllowed()
public void setSelectingLockedCellsAllowed(boolean bAllowed)
bAllowed
- true Represents if the user is allowed to select locked cells.public boolean IsSelectingUnlockedCellsAllowed()
public void setSelectingUnlockedCellsAllowed(boolean bAllowed)
bAllowed
- true if the user is allowed to select unlocked cells.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password.public int getPasswordHash()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |